public static <IN> StreamingFileSink.RowFormatBuilder<IN, String> forRowFormat(
			final Path basePath, final Encoder<IN> encoder) {
		return new StreamingFileSink.RowFormatBuilder<>(basePath, encoder, new DateTimeBucketAssigner<>());
	}
public static < IN > StreamingFileSink . RowFormatBuilder < IN , String > forRowFormat ( final Path basePath , final Encoder < IN > encoder ) { return new StreamingFileSink . RowFormatBuilder < > ( basePath , encoder , new DateTimeBucketAssigner < > ( ) ) ; }
Creates the builder for a {@code StreamingFileSink} with row-encoding format.
@param basePath the base path where all the buckets are going to be created as sub-directories.
@param encoder the {@link Encoder} to be used when writing elements in the buckets.
@param <IN> the type of incoming elements
@return The builder where the remaining of the configuration parameters for the sink can be configured.
In order to instantiate the sink, call {@link RowFormatBuilder#build()} after specifying the desired parameters.