Package com.illumon.iris.db.v2.sources
Interface ColumnSourceGetDefaults.ForDouble
- All Superinterfaces:
ChunkSource<Attributes.Values>
,ChunkSource.WithPrev<Attributes.Values>
,ColumnSource<Double>
,DefaultChunkSource<Attributes.Values>
,DefaultChunkSource.WithPrev<Attributes.Values>
,ElementSource<Double>
,FillContextMaker
,GetContextMaker
,Releasable
,TupleExporter<Double>
,TupleSource<Double>
- All Known Subinterfaces:
ImmutableColumnSourceGetDefaults.ForDouble
,MutableColumnSourceGetDefaults.ForDouble
- All Known Implementing Classes:
DoubleArraySource
,DoubleNullToZeroColumnSource
,DoubleSingleValueSource
,DoubleSparseArraySource
,ImmutableDoubleArraySource
,UngroupedDoubleArrayColumnSource
,UngroupedDoubleDbArrayColumnSource
- Enclosing class:
- ColumnSourceGetDefaults
Default interface for double
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_ARRAY
Fields inherited from interface com.illumon.iris.db.v2.sources.chunk.ChunkSource.WithPrev
ZERO_LENGTH_CHUNK_SOURCE_WITH_PREV_ARRAY
Fields inherited from interface com.illumon.iris.db.v2.sources.ColumnSource
ZERO_LENGTH_COLUMN_SOURCE_ARRAY
-
Method Summary
Modifier and TypeMethodDescriptiondefault Double
get
(long index) Get the value from the source.default Boolean
getBoolean
(long index) Get the value at the index as a Boolean.default byte
getByte
(long index) Get the value at the index as a byte.default char
getChar
(long index) Get the value at the index as a char.default float
getFloat
(long index) Get the value at the index as a float.default int
getInt
(long index) Get the value at the index as an int.default long
getLong
(long index) Get the value at the index as a long.default short
getShort
(long index) Get the value at the index as a short.Methods inherited from interface com.illumon.iris.db.v2.sources.chunk.ChunkSource
fillChunk, getChunkType
Methods inherited from interface com.illumon.iris.db.v2.sources.chunk.ChunkSource.WithPrev
fillPrevChunk
Methods 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, startTrackingPrevValues
Methods inherited from interface com.illumon.iris.db.v2.sources.chunk.DefaultChunkSource
getChunk, getChunk, getChunkByFilling, makeFillContext, makeGetContext
Methods inherited from interface com.illumon.iris.db.v2.sources.chunk.DefaultChunkSource.WithPrev
getPrevChunk, getPrevChunk, getPrevChunkByFilling
Methods inherited from interface com.illumon.iris.db.v2.sources.ElementSource
getDouble, getPrev, getPrevBoolean, getPrevByte, getPrevChar, getPrevDouble, getPrevFloat, getPrevInt, getPrevLong, getPrevShort
Methods inherited from interface com.illumon.iris.db.v2.sources.chunk.FillContextMaker
makeFillContext
Methods inherited from interface com.illumon.iris.db.v2.sources.chunk.GetContextMaker
makeGetContext
Methods inherited from interface com.illumon.iris.db.v2.tuples.TupleExporter
exportElementReinterpreted
Methods inherited from interface com.illumon.iris.db.v2.tuples.TupleSource
createTupleFromReinterpretedValues
-
Method Details
-
get
Description copied from interface:ElementSource
Get the value from the source. This may return boxed values for basic types.- Specified by:
get
in interfaceElementSource<Double>
- Parameters:
index
- the location in index space to get the value from.- Returns:
- the value at the index, potentially null.
-
getBoolean
Description copied from interface:ElementSource
Get the value at the index as a Boolean.- Specified by:
getBoolean
in interfaceElementSource<Double>
- 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:ElementSource
Get the value at the index as a byte.- Specified by:
getByte
in interfaceElementSource<Double>
- 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:ElementSource
Get the value at the index as a char.- Specified by:
getChar
in interfaceElementSource<Double>
- 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
-
getFloat
default float getFloat(long index) Description copied from interface:ElementSource
Get the value at the index as a float.- Specified by:
getFloat
in interfaceElementSource<Double>
- 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:ElementSource
Get the value at the index as an int.- Specified by:
getInt
in interfaceElementSource<Double>
- 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
-
getLong
default long getLong(long index) Description copied from interface:ElementSource
Get the value at the index as a long.- Specified by:
getLong
in interfaceElementSource<Double>
- Parameters:
index
- the location in index space to get the value from.- Returns:
- the long at the index, null values are represented by
QueryConstants.NULL_LONG
-
getShort
default short getShort(long index) Description copied from interface:ElementSource
Get the value at the index as a short.- Specified by:
getShort
in interfaceElementSource<Double>
- 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
-