Class BufferedPageShort<ATTR extends Attributes.Any>
java.lang.Object
com.illumon.iris.db.v2.sources.regioned.BufferedPageShort<ATTR>
- All Implemented Interfaces:
ChunkSource<ATTR>
,DefaultChunkSource<ATTR>
,FillContextMaker
,GetContextMaker
,Page<ATTR>
,Page.WithDefaults<ATTR>
,PagingChunkSource<ATTR>
,BufferedPage<ATTR>
public final class BufferedPageShort<ATTR extends Attributes.Any> extends Object implements BufferedPage<ATTR>
-
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>
Nested classes/interfaces inherited from interface com.illumon.iris.db.v2.sources.chunk.page.Page
Page.WithDefaults<ATTR extends Attributes.Any>, Page.WithDefaultsForRepeatingValues<ATTR extends Attributes.Any>
-
Field Summary
Fields inherited from interface com.illumon.iris.db.v2.sources.regioned.BufferedPage
USE_RANGES_AVERAGE_RUN_LENGTH
Fields inherited from interface com.illumon.iris.db.v2.sources.chunk.ChunkSource
DEFAULT_FILL_INSTANCE, ZERO_LENGTH_CHUNK_SOURCE_ARRAY
-
Constructor Summary
Constructors Constructor Description BufferedPageShort()
-
Method Summary
Modifier and Type Method Description com.illumon.iris.db.v2.sources.regioned.BufferedType
bufferedType()
TheBufferedType
associated with a buffer page has all the helper functions for calculating offsets, lengths, etc.void
fillChunkAppend(ChunkSource.FillContext fillContext, WritableChunk<? super ATTR> destination, OrderedKeys orderedKeys)
Appends the values referenced byorderKeys
ontodestination
.Class<Short>
getNativeType()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.illumon.iris.db.v2.sources.regioned.BufferedPage
firstRowOffset, length, mask
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.FillContextMaker
makeFillContext
Methods inherited from interface com.illumon.iris.db.v2.sources.chunk.GetContextMaker
makeGetContext
Methods inherited from interface com.illumon.iris.db.v2.sources.chunk.page.Page
advanceToNextPage, advanceToNextPage, advanceToNextPageAndGetPositionDistance, firstRow, getRowOffset, lastRow
Methods inherited from interface com.illumon.iris.db.v2.sources.chunk.page.Page.WithDefaults
fillChunk, fillChunkAppend
-
Constructor Details
-
BufferedPageShort
public BufferedPageShort()
-
-
Method Details
-
bufferedType
public com.illumon.iris.db.v2.sources.regioned.BufferedType bufferedType()Description copied from interface:BufferedPage
TheBufferedType
associated with a buffer page has all the helper functions for calculating offsets, lengths, etc. based on the type stored on thisBufferedPage
.- Specified by:
bufferedType
in interfaceBufferedPage<ATTR extends Attributes.Any>
- Returns:
- The type of the buffered page.
-
getNativeType
- Specified by:
getNativeType
in interfaceChunkSource<ATTR extends Attributes.Any>
-
fillChunkAppend
public void fillChunkAppend(@NotNull ChunkSource.FillContext fillContext, @NotNull WritableChunk<? super ATTR> destination, @NotNull OrderedKeys orderedKeys)Description copied from interface:Page.WithDefaults
Appends the values referenced byorderKeys
ontodestination
.orderKeys
are assumed to be entirely contained on thisPage
.- Specified by:
fillChunkAppend
in interfacePage.WithDefaults<ATTR extends Attributes.Any>
-