Package com.illumon.iris.db.v2.sources
Interface ColumnSourceGetDefaults.LongBacked<DATA_TYPE>
- All Superinterfaces:
ChunkSource<Attributes.Values>,ChunkSource.WithPrev<Attributes.Values>,ColumnSource<DATA_TYPE>,DefaultChunkSource<Attributes.Values>,DefaultChunkSource.WithPrev<Attributes.Values>,ElementSource<DATA_TYPE>,FillContextMaker,GetContextMaker,Releasable,TupleExporter<DATA_TYPE>,TupleSource<DATA_TYPE>
- All Known Subinterfaces:
ColumnSourceGetDefaults.ForLong,ColumnSourceGetDefaults.ForLongAsDateTime,ColumnSourceGetDefaults.ForLongAsInstant,ImmutableColumnSourceGetDefaults.ForLong,ImmutableColumnSourceGetDefaults.ForLongAsDateTime,ImmutableColumnSourceGetDefaults.LongBacked<DATA_TYPE>,MutableColumnSourceGetDefaults.ForLong,MutableColumnSourceGetDefaults.ForLongAsDateTime,MutableColumnSourceGetDefaults.ForLongAsInstant,MutableColumnSourceGetDefaults.LongBacked<DATA_TYPE>
- All Known Implementing Classes:
DateTimeArraySource,DatetimeAsLongColumnSource,DateTimeSparseArraySource,ImmutableLongArraySource,InstantArraySource,InstantAsLongColumnSource,InstantSparseArraySource,LongArraySource,LongSingleValueSource,LongSparseArraySource,RowIdSource,UnboxedLongBackedColumnSource,UnboxedLongBackedWritableSource,UnboxedTimeBackedColumnSource,UngroupedLongArrayColumnSource,UngroupedLongDbArrayColumnSource,ZonedDateTimeAsLongSource
- Enclosing class:
- ColumnSourceGetDefaults
public static interface ColumnSourceGetDefaults.LongBacked<DATA_TYPE>
extends ColumnSource<DATA_TYPE>
Default interface for long-backed
ColumnSource implementations.-
Nested Class Summary
Nested classes/interfaces inherited from interface com.illumon.iris.db.v2.sources.chunk.ChunkSource
ChunkSource.FillContext, ChunkSource.GetContext, ChunkSource.WithPrev<ATTR extends Attributes.Any>Nested classes/interfaces inherited from interface com.illumon.iris.db.v2.sources.chunk.DefaultChunkSource
DefaultChunkSource.SupportsContiguousGet<ATTR extends Attributes.Any>, DefaultChunkSource.WithPrev<ATTR extends Attributes.Any> -
Field Summary
Fields inherited from interface com.illumon.iris.db.v2.sources.chunk.ChunkSource
DEFAULT_FILL_INSTANCE, ZERO_LENGTH_CHUNK_SOURCE_ARRAYFields inherited from interface com.illumon.iris.db.v2.sources.chunk.ChunkSource.WithPrev
ZERO_LENGTH_CHUNK_SOURCE_WITH_PREV_ARRAYFields inherited from interface com.illumon.iris.db.v2.sources.ColumnSource
ZERO_LENGTH_COLUMN_SOURCE_ARRAY -
Method Summary
Modifier and TypeMethodDescriptiondefault BooleangetBoolean(long index) Get the value at the index as a Boolean.default bytegetByte(long index) Get the value at the index as a byte.default chargetChar(long index) Get the value at the index as a char.default doublegetDouble(long index) Get the value at the index as a double.default floatgetFloat(long index) Get the value at the index as a float.default intgetInt(long index) Get the value at the index as an int.default shortgetShort(long index) Get the value at the index as a short.Methods inherited from interface com.illumon.iris.db.v2.sources.chunk.ChunkSource
fillChunk, getChunkTypeMethods inherited from interface com.illumon.iris.db.v2.sources.chunk.ChunkSource.WithPrev
fillPrevChunkMethods inherited from interface com.illumon.iris.db.v2.sources.ColumnSource
allowsReinterpret, cast, createPreviousTuple, createTuple, createTupleFromValues, exportElement, exportElement, exportToExternalKey, getColumnSources, getComponentType, getGroupingBuilder, getGroupingProvider, getNativeType, getPrevSource, getType, hasGrouping, hasGrouping, isImmutable, match, reinterpret, releaseCachedResources, setGroupingProvider, startTrackingPrevValuesMethods inherited from interface com.illumon.iris.db.v2.sources.chunk.DefaultChunkSource
getChunk, getChunk, getChunkByFilling, makeFillContext, makeGetContextMethods inherited from interface com.illumon.iris.db.v2.sources.chunk.DefaultChunkSource.WithPrev
getPrevChunk, getPrevChunk, getPrevChunkByFillingMethods inherited from interface com.illumon.iris.db.v2.sources.ElementSource
get, getLong, getPrev, getPrevBoolean, getPrevByte, getPrevChar, getPrevDouble, getPrevFloat, getPrevInt, getPrevLong, getPrevShortMethods inherited from interface com.illumon.iris.db.v2.sources.chunk.FillContextMaker
makeFillContextMethods inherited from interface com.illumon.iris.db.v2.sources.chunk.GetContextMaker
makeGetContextMethods inherited from interface com.illumon.iris.db.v2.tuples.TupleExporter
exportElementReinterpretedMethods inherited from interface com.illumon.iris.db.v2.tuples.TupleSource
createTupleFromReinterpretedValues
-
Method Details
-
getBoolean
Description copied from interface:ElementSourceGet the value at the index as a Boolean.- Specified by:
getBooleanin interfaceElementSource<DATA_TYPE>- Parameters:
index- the location in index space to get the value from.- Returns:
- the boolean at the index, potentially null.
-
getByte
default byte getByte(long index) Description copied from interface:ElementSourceGet the value at the index as a byte.- Specified by:
getBytein interfaceElementSource<DATA_TYPE>- Parameters:
index- the location in index space to get the value from.- Returns:
- the boolean at the index, null values are represented by
QueryConstants.NULL_BYTE
-
getChar
default char getChar(long index) Description copied from interface:ElementSourceGet the value at the index as a char.- Specified by:
getCharin interfaceElementSource<DATA_TYPE>- Parameters:
index- the location in index space to get the value from.- Returns:
- the char at the index, null values are represented by
QueryConstants.NULL_CHAR
-
getDouble
default double getDouble(long index) Description copied from interface:ElementSourceGet the value at the index as a double.- Specified by:
getDoublein interfaceElementSource<DATA_TYPE>- Parameters:
index- the location in index space to get the value from.- Returns:
- the double at the index, null values are represented by
QueryConstants.NULL_DOUBLE
-
getFloat
default float getFloat(long index) Description copied from interface:ElementSourceGet the value at the index as a float.- Specified by:
getFloatin interfaceElementSource<DATA_TYPE>- Parameters:
index- the location in index space to get the value from.- Returns:
- the float at the index, null values are represented by
QueryConstants.NULL_FLOAT
-
getInt
default int getInt(long index) Description copied from interface:ElementSourceGet the value at the index as an int.- Specified by:
getIntin interfaceElementSource<DATA_TYPE>- Parameters:
index- the location in index space to get the value from.- Returns:
- the int at the index, null values are represented by
QueryConstants.NULL_INT
-
getShort
default short getShort(long index) Description copied from interface:ElementSourceGet the value at the index as a short.- Specified by:
getShortin interfaceElementSource<DATA_TYPE>- Parameters:
index- the location in index space to get the value from.- Returns:
- the short at the index, null values are represented by
QueryConstants.NULL_SHORT
-