@Test public void testMapperWithFamilyInData() { Configuration configuration = _mapDriver.getConfiguration(); CsvBlurMapper.setColumns(configuration, "cf1:col1,col2|cf2:col1,col2,col3"); _mapDriver.withInput(new LongWritable(), new Text("rowid1,record1,cf1,value1,value2")); _mapDriver.withOutput(new Text("rowid1"), new BlurMutate(MUTATE_TYPE.REPLACE, "rowid1", "record1", "cf1") .addColumn("col1", "value1").addColumn("col2", "value2")); _mapDriver.runTest(); }
public static void setColumns(Job job, String strDefinition) { setColumns(job.getConfiguration(), strDefinition); }
CsvBlurMapper extends BaseBlurMapper<Writable, Text> { public static void setColumns(Job job, String strDefinition) { setColumns(job.getConfiguration(), strDefinition); } }
CsvBlurMapper extends BaseBlurMapper<Writable, Text> { public static void setColumns(Job job, String strDefinition) { setColumns(job.getConfiguration(), strDefinition); }  }
CsvBlurMapper extends BaseBlurMapper<Writable, Text> { public static void setColumns(Job job, String strDefinition) { setColumns(job.getConfiguration(), strDefinition); }  static void addFamilyPath(Job job, String family, Path path); static void addFamilyPath(Configuration configuration, String family, Path path); static void setAutoGenerateRecordIdAsHashOfData(Job job, boolean autoGenerateRecordIdAsHashOfData); static void setAutoGenerateRecordIdAsHashOfData(Configuration configuration,
      boolean autoGenerateRecordIdAsHashOfData); static boolean isAutoGenerateRecordIdAsHashOfData(Configuration configuration); static void setAutoGenerateRowIdAsHashOfData(Job job, boolean autoGenerateRowIdAsHashOfData); static void setAutoGenerateRowIdAsHashOfData(Configuration configuration, boolean autoGenerateRowIdAsHashOfData); static boolean isAutoGenerateRowIdAsHashOfData(Configuration configuration); static void setColumns(Job job, String strDefinition); static void setColumns(Configuration configuration, String strDefinition); static void addColumns(Job job, String family, String... columns); static void addColumns(Configuration configuration, String family, String... columns); static Collection<String> getFamilyNames(Configuration configuration); static Map<String, List<String>> getFamilyAndColumnNameMap(Configuration configuration); static void setSeparator(Job job, String separator); static void setSeparator(Configuration configuration, String separator); void setFamilyFromPath(String familyFromPath); }
CsvBlurMapper extends BaseBlurMapper<Writable, Text> { public static void setColumns(Job job, String strDefinition) { setColumns(job.getConfiguration(), strDefinition); }  static void addFamilyPath(Job job, String family, Path path); static void addFamilyPath(Configuration configuration, String family, Path path); static void setAutoGenerateRecordIdAsHashOfData(Job job, boolean autoGenerateRecordIdAsHashOfData); static void setAutoGenerateRecordIdAsHashOfData(Configuration configuration,
      boolean autoGenerateRecordIdAsHashOfData); static boolean isAutoGenerateRecordIdAsHashOfData(Configuration configuration); static void setAutoGenerateRowIdAsHashOfData(Job job, boolean autoGenerateRowIdAsHashOfData); static void setAutoGenerateRowIdAsHashOfData(Configuration configuration, boolean autoGenerateRowIdAsHashOfData); static boolean isAutoGenerateRowIdAsHashOfData(Configuration configuration); static void setColumns(Job job, String strDefinition); static void setColumns(Configuration configuration, String strDefinition); static void addColumns(Job job, String family, String... columns); static void addColumns(Configuration configuration, String family, String... columns); static Collection<String> getFamilyNames(Configuration configuration); static Map<String, List<String>> getFamilyAndColumnNameMap(Configuration configuration); static void setSeparator(Job job, String separator); static void setSeparator(Configuration configuration, String separator); void setFamilyFromPath(String familyFromPath); static final String UTF_8; static final String BLUR_CSV_AUTO_GENERATE_RECORD_ID_AS_HASH_OF_DATA; static final String BLUR_CSV_AUTO_GENERATE_ROW_ID_AS_HASH_OF_DATA; static final String BLUR_CSV_FAMILY_PATH_MAPPINGS_FAMILIES; static final String BLUR_CSV_FAMILY_PATH_MAPPINGS_FAMILY_PREFIX; static final String BLUR_CSV_SEPARATOR_BASE64; static final String BLUR_CSV_FAMILY_COLUMN_PREFIX; static final String BLUR_CSV_FAMILIES; static final String HIVE_NULL; }