@Test public void testUsesFieldName() { Assert.assertEquals("day_of_month_field", Iterables.getFirst(EQ.split(PathConversion.dirnameForValue( new DayOfMonthFieldPartitioner("day", "day_of_month_field"), 10)), null)); }
public static <T> String dirnameForValue(FieldPartitioner<?, T> field, T value) { return PART_JOIN.join(field.getName(), valueToString(field, value)); }
PathConversion { public static <T> String dirnameForValue(FieldPartitioner<?, T> field, T value) { return PART_JOIN.join(field.getName(), valueToString(field, value)); } }
PathConversion { public static <T> String dirnameForValue(FieldPartitioner<?, T> field, T value) { return PART_JOIN.join(field.getName(), valueToString(field, value)); } PathConversion(Schema schema); }
PathConversion { public static <T> String dirnameForValue(FieldPartitioner<?, T> field, T value) { return PART_JOIN.join(field.getName(), valueToString(field, value)); } PathConversion(Schema schema); StorageKey toKey(Path fromPath, StorageKey storage); Path fromKey(StorageKey key); T valueForDirname(FieldPartitioner<?, T> field, String name); static String dirnameForValue(FieldPartitioner<?, T> field, T value); static String valueToString(FieldPartitioner<?, T> field, T value); static T valueForDirname(FieldPartitioner<?, T> field, Schema schema, String name); static String dirnameToValueString(String name); }
PathConversion { public static <T> String dirnameForValue(FieldPartitioner<?, T> field, T value) { return PART_JOIN.join(field.getName(), valueToString(field, value)); } PathConversion(Schema schema); StorageKey toKey(Path fromPath, StorageKey storage); Path fromKey(StorageKey key); T valueForDirname(FieldPartitioner<?, T> field, String name); static String dirnameForValue(FieldPartitioner<?, T> field, T value); static String valueToString(FieldPartitioner<?, T> field, T value); static T valueForDirname(FieldPartitioner<?, T> field, Schema schema, String name); static String dirnameToValueString(String name);  }