Package io.deephaven.engine.table.impl
Interface ColumnSourceGetDefaults.ForInt
- All Superinterfaces:
ChunkSource<Values>,ChunkSource.WithPrev<Values>,ColumnSource<Integer>,ElementSource<Integer>,FillContextMaker,GetContextMaker,Releasable,TupleExporter<Integer>,TupleSource<Integer>
- All Known Subinterfaces:
ImmutableColumnSourceGetDefaults.ForInt,MutableColumnSourceGetDefaults.ForInt
- All Known Implementing Classes:
ArrowIntColumnSource,Immutable2DIntArraySource,ImmutableConstantIntSource,ImmutableIntArraySource,IntChunkColumnSource,IntegerArraySource,IntegerSingleValueSource,IntegerSparseArraySource,SymbolTableToUniqueIdSource,UngroupedIntArrayColumnSource,UngroupedIntVectorColumnSource
- Enclosing class:
- ColumnSourceGetDefaults
Default interface for int
ColumnSource implementations.-
Nested Class Summary
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.TupleExporter
TupleExporter.ExportElementFunction<TUPLE_TYPE> -
Field Summary
Fields inherited from interface io.deephaven.engine.table.ChunkSource
DEFAULT_FILL_INSTANCE, ZERO_LENGTH_CHUNK_SOURCE_ARRAYFields inherited from interface io.deephaven.engine.table.ChunkSource.WithPrev
ZERO_LENGTH_CHUNK_SOURCE_WITH_PREV_ARRAYFields inherited from interface io.deephaven.engine.table.ColumnSource
ZERO_LENGTH_COLUMN_SOURCE_ARRAY -
Method Summary
Modifier and TypeMethodDescriptiondefault Integerget(long rowKey) Get the value from the source.default BooleangetBoolean(long rowKey) Get the value at the rowKey as a Boolean.default bytegetByte(long rowKey) Get the value at the rowKey as a byte.default chargetChar(long rowKey) Get the value at the rowKey as a char.default doublegetDouble(long rowKey) Get the value at the rowKey as a double.default floatgetFloat(long rowKey) Get the value at the rowKey as a float.default longgetLong(long rowKey) Get the value at the rowKey as a long.default shortgetShort(long rowKey) Get the value at the rowKey as a short.Methods inherited from interface io.deephaven.engine.table.ChunkSource
fillChunk, getChunk, getChunkMethods inherited from interface io.deephaven.engine.table.ChunkSource.WithPrev
fillPrevChunk, getPrevChunk, getPrevChunkMethods inherited from interface io.deephaven.engine.table.ColumnSource
allowsReinterpret, cast, cast, cast, cast, createPreviousTuple, createTuple, createTupleFromValues, exportAllTo, exportElement, exportElement, getChunkType, getComponentType, getPrevSource, getType, isImmutable, isStateless, match, reinterpret, releaseCachedResources, startTrackingPrevValues, tupleLengthMethods inherited from interface io.deephaven.engine.table.ElementSource
getInt, getPrev, getPrevBoolean, getPrevByte, getPrevChar, getPrevDouble, getPrevFloat, getPrevInt, getPrevLong, getPrevShortMethods inherited from interface io.deephaven.engine.table.FillContextMaker
makeFillContext, makeFillContextMethods inherited from interface io.deephaven.engine.table.GetContextMaker
makeGetContext, makeGetContextMethods inherited from interface io.deephaven.engine.table.TupleExporter
exportAllReinterpretedTo, exportAllReinterpretedTo, exportAllTo, exportElementReinterpretedMethods inherited from interface io.deephaven.engine.table.TupleSource
createTupleFromReinterpretedValues
-
Method Details
-
get
Description copied from interface:ElementSourceGet the value from the source. This may return boxed values for basic types. RowKeys that are not present are undefined.- Specified by:
getin interfaceElementSource<Integer>- Parameters:
rowKey- the location in key space to get the value from.- Returns:
- the value at the rowKey, potentially null.
-
getBoolean
Description copied from interface:ElementSourceGet the value at the rowKey as a Boolean. RowKeys that are not present are undefined.- Specified by:
getBooleanin interfaceElementSource<Integer>- Parameters:
rowKey- the location in key space to get the value from.- Returns:
- the boolean at the rowKey, potentially null.
-
getByte
default byte getByte(long rowKey) Description copied from interface:ElementSourceGet the value at the rowKey as a byte. RowKeys that are not present are undefined.- Specified by:
getBytein interfaceElementSource<Integer>- Parameters:
rowKey- the location in key space to get the value from.- Returns:
- the boolean at the rowKey, null values are represented by
QueryConstants.NULL_BYTE
-
getChar
default char getChar(long rowKey) Description copied from interface:ElementSourceGet the value at the rowKey as a char. RowKeys that are not present are undefined.- Specified by:
getCharin interfaceElementSource<Integer>- Parameters:
rowKey- the location in key space to get the value from.- Returns:
- the char at the rowKey, null values are represented by
QueryConstants.NULL_CHAR
-
getDouble
default double getDouble(long rowKey) Description copied from interface:ElementSourceGet the value at the rowKey as a double. RowKeys that are not present are undefined.- Specified by:
getDoublein interfaceElementSource<Integer>- Parameters:
rowKey- the location in key space to get the value from.- Returns:
- the double at the rowKey, null values are represented by
QueryConstants.NULL_DOUBLE
-
getFloat
default float getFloat(long rowKey) Description copied from interface:ElementSourceGet the value at the rowKey as a float. RowKeys that are not present are undefined.- Specified by:
getFloatin interfaceElementSource<Integer>- Parameters:
rowKey- the location in key space to get the value from.- Returns:
- the float at the rowKey, null values are represented by
QueryConstants.NULL_FLOAT
-
getLong
default long getLong(long rowKey) Description copied from interface:ElementSourceGet the value at the rowKey as a long. RowKeys that are not present are undefined.- Specified by:
getLongin interfaceElementSource<Integer>- Parameters:
rowKey- the location in key space to get the value from.- Returns:
- the long at the rowKey, null values are represented by
QueryConstants.NULL_LONG
-
getShort
default short getShort(long rowKey) Description copied from interface:ElementSourceGet the value at the rowKey as a short. RowKeys that are not present are undefined.- Specified by:
getShortin interfaceElementSource<Integer>- Parameters:
rowKey- the location in key space to get the value from.- Returns:
- the short at the rowKey, null values are represented by
QueryConstants.NULL_SHORT
-