Class LongChunkFiller
java.lang.Object
com.illumon.iris.db.v2.sources.chunk.util.chunkfillers.LongChunkFiller
- All Implemented Interfaces:
ChunkFiller
public final class LongChunkFiller extends Object implements ChunkFiller
-
Field Summary
Fields Modifier and Type Field Description static LongChunkFiller
INSTANCE
-
Constructor Summary
Constructors Constructor Description LongChunkFiller()
-
Method Summary
Modifier and Type Method Description void
fillByIndices(ElementSource src, LongChunk<? extends Attributes.KeyIndices> chunk, WritableChunk<? super Attributes.Values> dest)
void
fillByIndices(ElementSource src, OrderedKeys keys, WritableChunk<? super Attributes.Values> dest)
void
fillByRanges(ElementSource src, OrderedKeys keys, WritableChunk<? super Attributes.Values> dest)
void
fillFromSingleValue(ElementSource src, long srcKey, WritableSource dest, OrderedKeys destKeys)
This doesn't really belong here but we are putting it here for now for implementation convenience.void
fillPrevByIndices(ElementSource src, LongChunk<? extends Attributes.KeyIndices> chunk, WritableChunk<? super Attributes.Values> dest)
void
fillPrevByIndices(ElementSource src, OrderedKeys keys, WritableChunk<? super Attributes.Values> dest)
void
fillPrevByRanges(ElementSource src, OrderedKeys keys, WritableChunk<? super Attributes.Values> dest)
-
Field Details
-
Constructor Details
-
LongChunkFiller
public LongChunkFiller()
-
-
Method Details
-
fillByRanges
public final void fillByRanges(ElementSource src, OrderedKeys keys, WritableChunk<? super Attributes.Values> dest)- Specified by:
fillByRanges
in interfaceChunkFiller
-
fillByIndices
public final void fillByIndices(ElementSource src, OrderedKeys keys, WritableChunk<? super Attributes.Values> dest)- Specified by:
fillByIndices
in interfaceChunkFiller
-
fillByIndices
public final void fillByIndices(ElementSource src, LongChunk<? extends Attributes.KeyIndices> chunk, WritableChunk<? super Attributes.Values> dest)- Specified by:
fillByIndices
in interfaceChunkFiller
-
fillPrevByRanges
public final void fillPrevByRanges(ElementSource src, OrderedKeys keys, WritableChunk<? super Attributes.Values> dest)- Specified by:
fillPrevByRanges
in interfaceChunkFiller
-
fillPrevByIndices
public final void fillPrevByIndices(ElementSource src, OrderedKeys keys, WritableChunk<? super Attributes.Values> dest)- Specified by:
fillPrevByIndices
in interfaceChunkFiller
-
fillPrevByIndices
public final void fillPrevByIndices(ElementSource src, LongChunk<? extends Attributes.KeyIndices> chunk, WritableChunk<? super Attributes.Values> dest)- Specified by:
fillPrevByIndices
in interfaceChunkFiller
-
fillFromSingleValue
public void fillFromSingleValue(ElementSource src, long srcKey, WritableSource dest, OrderedKeys destKeys)Description copied from interface:ChunkFiller
This doesn't really belong here but we are putting it here for now for implementation convenience. In the long run we may want to generalize this functionality, or, at the very least, move it to some "ColumnSourceFiller" class.- Specified by:
fillFromSingleValue
in interfaceChunkFiller
-