Class SimpleBlockWriter

  • All Implemented Interfaces:
    BlockWriter

    public class SimpleBlockWriter
    extends Object
    implements BlockWriter
    Used to write a single Block using the BlockWriter programming model.
    See Also:
    BlockWriter
    • Constructor Detail

      • SimpleBlockWriter

        public SimpleBlockWriter​(Block block)
        Basic constructor using a pre-allocated Block.
        Parameters:
        block - The Block to write into.
    • Method Detail

      • writeRows

        public void writeRows​(BlockWriter.RowWriter rowWriter)
        Used to write rows into the Block that is managed by this BlockWriter.
        Specified by:
        writeRows in interface BlockWriter
        Parameters:
        rowWriter - The RowWriter that the BlockWriter should use to write rows into the Block(s) it is managing.