Interface SinkWriter<InputT,​CommT,​WriterStateT>

  • Type Parameters:
    InputT - The type of the sink writer's input
    CommT - The type of information needed to commit data staged by the sink
    WriterStateT - The type of the writer's state
    All Superinterfaces:
    AutoCloseable

    @Deprecated
    @PublicEvolving
    public interface SinkWriter<InputT,​CommT,​WriterStateT>
    extends AutoCloseable
    Deprecated.
    Please use SinkWriter or a derivative.
    The SinkWriter is responsible for writing data and handling any potential tmp area used to write yet un-staged data, e.g. in-progress files. The data (or metadata pointing to where the actual data is staged) ready to commit is returned to the system by the prepareCommit(boolean).