Class AbstractArrowColumnSource<T>
java.lang.Object
io.deephaven.engine.table.impl.AbstractColumnSource<T>
io.deephaven.extensions.arrow.sources.AbstractArrowColumnSource<T>
- Type Parameters:
T
-
- All Implemented Interfaces:
ChunkSource<Values>
,ChunkSource.WithPrev<Values>
,ColumnSource<T>
,ElementSource<T>
,FillContextMaker
,GetContextMaker
,DefaultChunkSource<Values>
,DefaultChunkSource.WithPrev<Values>
,Releasable
,TupleExporter<T>
,TupleSource<T>
- Direct Known Subclasses:
ArrowBooleanColumnSource
,ArrowByteColumnSource
,ArrowCharColumnSource
,ArrowDoubleColumnSource
,ArrowFloatColumnSource
,ArrowInstantColumnSource
,ArrowIntColumnSource
,ArrowLocalTimeColumnSource
,ArrowLongColumnSource
,ArrowObjectColumnSource
,ArrowShortColumnSource
,ArrowStringColumnSource
,ArrowUInt1ColumnSource
,ArrowUInt4ColumnSource
,ArrowUInt8ColumnSource
Base class for arrow column sources
-
Nested Class Summary
Nested classes/interfaces inherited from class io.deephaven.engine.table.impl.AbstractColumnSource
AbstractColumnSource.DefaultedImmutable<DATA_TYPE>, AbstractColumnSource.DefaultedMutable<DATA_TYPE>
Nested classes/interfaces inherited from interface io.deephaven.engine.table.ChunkSource
ChunkSource.FillContext, ChunkSource.GetContext, ChunkSource.WithPrev<ATTR extends Any>
Nested classes/interfaces inherited from interface io.deephaven.engine.table.impl.DefaultChunkSource
DefaultChunkSource.SupportsContiguousGet<ATTR extends Any>, DefaultChunkSource.WithPrev<ATTR extends Any>
Nested classes/interfaces inherited from interface io.deephaven.engine.table.TupleExporter
TupleExporter.ExportElementFunction<TUPLE_TYPE>
-
Field Summary
Modifier and TypeFieldDescriptionprotected final ArrowWrapperTools.ArrowTableContext
protected final int
protected final org.apache.arrow.vector.types.pojo.Field
protected final int
Fields inherited from class io.deephaven.engine.table.impl.AbstractColumnSource
componentType, type, updateGraph, USE_RANGES_AVERAGE_RUN_LENGTH
Fields inherited from interface io.deephaven.engine.table.ChunkSource
DEFAULT_FILL_INSTANCE, ZERO_LENGTH_CHUNK_SOURCE_ARRAY
Fields inherited from interface io.deephaven.engine.table.ChunkSource.WithPrev
ZERO_LENGTH_CHUNK_SOURCE_WITH_PREV_ARRAY
Fields inherited from interface io.deephaven.engine.table.ColumnSource
ZERO_LENGTH_COLUMN_SOURCE_ARRAY
-
Constructor Summary
ModifierConstructorDescriptionprotected
AbstractArrowColumnSource
(@NotNull Class<T> type, int highBit, @NotNull org.apache.arrow.vector.types.pojo.Field field, ArrowWrapperTools.ArrowTableContext arrowHelper) -
Method Summary
Modifier and TypeMethodDescriptionprotected final void
fillChunk
(ArrowWrapperTools.FillContext context, @NotNull RowSequence rowSequence, @NotNull LongConsumer rowKeyConsumer) protected final int
getBlockNo
(long rowKey) protected final int
getPositionInBlock
(long rowKey) makeFillContext
(int chunkCapacity, SharedContext sharedContext) Allocate a newChunkSource.FillContext
for filling chunks from thisFillContextMaker
, typically aChunkSource
.Methods inherited from class io.deephaven.engine.table.impl.AbstractColumnSource
allowsReinterpret, defaultFillChunk, defaultFillPrevChunk, doReinterpret, fillChunk, fillPrevChunk, getComponentType, getPrevSource, getType, match, reinterpret
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface io.deephaven.engine.table.ColumnSource
cast, cast, createPreviousTuple, createTuple, createTupleFromValues, exportAllTo, exportElement, exportElement, getChunkType, isImmutable, isStateless, releaseCachedResources, startTrackingPrevValues, tupleLength
Methods inherited from interface io.deephaven.engine.table.impl.DefaultChunkSource
getChunk, getChunk, getChunkByFilling, makeGetContext
Methods inherited from interface io.deephaven.engine.table.impl.DefaultChunkSource.WithPrev
getPrevChunk, getPrevChunk, getPrevChunkByFilling
Methods inherited from interface io.deephaven.engine.table.ElementSource
get, getBoolean, getByte, getChar, getDouble, getFloat, getInt, getLong, getPrev, getPrevBoolean, getPrevByte, getPrevChar, getPrevDouble, getPrevFloat, getPrevInt, getPrevLong, getPrevShort, getShort
Methods inherited from interface io.deephaven.engine.table.FillContextMaker
makeFillContext
Methods inherited from interface io.deephaven.engine.table.GetContextMaker
makeGetContext
Methods inherited from interface io.deephaven.engine.table.TupleExporter
exportAllReinterpretedTo, exportAllReinterpretedTo, exportAllTo, exportElementReinterpreted
Methods inherited from interface io.deephaven.engine.table.TupleSource
createTupleFromReinterpretedValues
-
Field Details
-
highBit
protected final int highBit -
bitCount
protected final int bitCount -
arrowHelper
-
field
protected final org.apache.arrow.vector.types.pojo.Field field
-
-
Constructor Details
-
AbstractArrowColumnSource
protected AbstractArrowColumnSource(@NotNull @NotNull Class<T> type, int highBit, @NotNull @NotNull org.apache.arrow.vector.types.pojo.Field field, @NotNull ArrowWrapperTools.ArrowTableContext arrowHelper)
-
-
Method Details
-
fillChunk
protected final void fillChunk(@NotNull ArrowWrapperTools.FillContext context, @NotNull @NotNull RowSequence rowSequence, @NotNull @NotNull LongConsumer rowKeyConsumer) -
getBlockNo
protected final int getBlockNo(long rowKey) -
getPositionInBlock
protected final int getPositionInBlock(long rowKey)