Class FixedWidthChunkWriter<SOURCE_CHUNK_TYPE extends Chunk<Values>>

java.lang.Object
io.deephaven.extensions.barrage.chunk.BaseChunkWriter<SOURCE_CHUNK_TYPE>
io.deephaven.extensions.barrage.chunk.FixedWidthChunkWriter<SOURCE_CHUNK_TYPE>
All Implemented Interfaces:
ChunkWriter<SOURCE_CHUNK_TYPE>
Direct Known Subclasses:
BigDecimalChunkWriter, FixedWidthObjectChunkWriter

public abstract class FixedWidthChunkWriter<SOURCE_CHUNK_TYPE extends Chunk<Values>> extends BaseChunkWriter<SOURCE_CHUNK_TYPE>
  • Constructor Details

  • Method Details

    • getInputStream

      public ChunkWriter.DrainableColumn getInputStream(@NotNull @NotNull ChunkWriter.Context context, @Nullable @Nullable RowSet subset, @NotNull @NotNull BarrageOptions options) throws IOException
      Description copied from interface: ChunkWriter
      Get an input stream optionally position-space filtered using the provided RowSet.
      Parameters:
      context - the chunk writer context holding the data to be drained to the client
      subset - if provided, is a position-space filter of source data
      options - options for writing to the stream
      Returns:
      a single-use DrainableColumn ready to be drained via grpc
      Throws:
      IOException
    • writePayload

      protected abstract void writePayload(@NotNull @NotNull ChunkWriter.Context context, @NotNull @NotNull DataOutput dos, @NotNull @NotNull RowSequence subset)