I'm migrating a custom sink extending FileBasedSink from version 2.0.0 to 2.2.0. The class has changed and added two extra type parameters: UserT
and DestinationT
:
@Experimental(value=FILESYSTEM)
public abstract class FileBasedSink<UserT,DestinationT,OutputT>
extends java.lang.Object
implements java.io.Serializable, HasDisplayData
I've checked the doc of FileBasedSink but cannot find the purpose of it.
Of all type parameters only OutputT
has a documentation:
* @param <OutputT> the type of values written to the sink.`