Class ArrowBigDecimal256ColumnSource

All Implemented Interfaces:
ChunkSource<Attributes.Values>, ChunkSource.WithPrev<Attributes.Values>, DefaultChunkSource<Attributes.Values>, DefaultChunkSource.WithPrev<Attributes.Values>, FillContextMaker, GetContextMaker, ColumnSource<BigDecimal>, ColumnSourceGetDefaults.ForObject<BigDecimal>, ElementSource<BigDecimal>, ImmutableColumnSource<BigDecimal>, ImmutableColumnSourceGetDefaults.ForObject<BigDecimal>, Releasable, TupleExporter<BigDecimal>, TupleSource<BigDecimal>, Serializable

public class ArrowBigDecimal256ColumnSource extends AbstractArrowColumnSource<BigDecimal> implements ImmutableColumnSourceGetDefaults.ForObject<BigDecimal>
Arrow Vector: Decimal256Vector Deephaven Type: BigDecimal
See Also:
  • Constructor Details

    • ArrowBigDecimal256ColumnSource

      public ArrowBigDecimal256ColumnSource(int highBit, @NotNull @NotNull org.apache.arrow.vector.types.pojo.Field field, @NotNull @NotNull ArrowHelper arrowHelper)
  • Method Details

    • fillChunk

      public void fillChunk(@NotNull ChunkSource.FillContext context, @NotNull @NotNull WritableChunk<? super Attributes.Values> destination, @NotNull @NotNull OrderedKeys orderedKeys)
      Description copied from interface: ChunkSource
      Populates the given destination chunk with data corresponding to the keys from the given OrderedKeys.
      Specified by:
      fillChunk in interface ChunkSource<Attributes.Values>
      Overrides:
      fillChunk in class AbstractColumnSource<BigDecimal>
      Parameters:
      context - A context containing all mutable/state related data used in retrieving the Chunk.
      destination - The chunk to be populated according to orderedKeys. No assumptions shall be made about the size of the chunk shall be made. The chunk will be populated from position [0,orderedKeys.size()).
      orderedKeys - An OrderedKeys representing the keys to be fetched
    • get

      public final BigDecimal get(long index)
      Description copied from interface: ElementSource
      Get the value from the source. This may return boxed values for basic types.
      Specified by:
      get in interface ElementSource<BigDecimal>
      Parameters:
      index - the location in index space to get the value from.
      Returns:
      the value at the index, potentially null.