Interface HadoopPathBasedBulkWriter<T>

  • All Superinterfaces:
    org.apache.flink.api.common.serialization.BulkWriter<T>

    @Internal
    public interface HadoopPathBasedBulkWriter<T>
    extends org.apache.flink.api.common.serialization.BulkWriter<T>
    Specialized BulkWriter which is expected to write to specified Path.
    • Method Detail

      • getSize

        long getSize()
              throws IOException
        Gets the size written by the current writer.
        Returns:
        The size written by the current writer.
        Throws:
        IOException
      • dispose

        void dispose()
        Disposes the writer on failures. Unlike output-stream-based writers which could handled uniformly by closing the underlying output stream, the path- based writers need to be disposed explicitly.