57585960616263
Assert.assertEquals("month=01", convert.dirnameForValue( new MonthFieldPartitioner("timestamp", "month"), 1)); Assert.assertEquals("year=2013", convert.dirnameForValue( new YearFieldPartitioner("timestamp", "year"), 2013)); }
387388389390391392393394
* The entity field name of the partition. * @return An instance of the builder for method chaining. * @since 0.3.0 */ public Builder year(String sourceName, @Nullable String name) { add(new YearFieldPartitioner(sourceName, name)); return this; }
402403404405406407408409
* partitioned. * @return An instance of the builder for method chaining. * @since 0.8.0 */ public Builder year(String sourceName) { add(new YearFieldPartitioner(sourceName)); return this; }