Class FixedWidthObjectChunkWriter<T>

All Implemented Interfaces:
ChunkWriter<ObjectChunk<T,Values>>

public abstract class FixedWidthObjectChunkWriter<T> extends FixedWidthChunkWriter<ObjectChunk<T,Values>>
  • Constructor Details

    • FixedWidthObjectChunkWriter

      public FixedWidthObjectChunkWriter(int elementSize, boolean dhNullable, boolean fieldNullable)
  • Method Details

    • computeValidity

      protected void computeValidity(@NotNull ChunkWriter.Context context, @NotNull @NotNull RowSequence subset, @NotNull @NotNull BaseChunkWriter.ValidityBuffer validity)
      Description copied from class: BaseChunkWriter
      Report the nullness of each row of the subset, in order, to validity.

      This is invoked at most once per BaseChunkWriter.BaseChunkInputStream: the null count carried by the field node and the bytes of the validity buffer are both derived from this single traversal of the row data.

      Specified by:
      computeValidity in class BaseChunkWriter<ObjectChunk<T,Values>>
      Parameters:
      context - the context for the chunk
      subset - the subset of rows to consider
      validity - the validity buffer to populate