Package com.illumon.iris.db.v2.ssa
Class DoubleReverseSsaSsaStamp
java.lang.Object
com.illumon.iris.db.v2.ssa.DoubleReverseSsaSsaStamp
- All Implemented Interfaces:
SsaSsaStamp
public class DoubleReverseSsaSsaStamp extends Object implements SsaSsaStamp
Stamp kernel for when the left hand side is a sorted chunk and the right hand side is a ticking SegmentedSortedArray.
-
Method Summary
Modifier and Type Method Description void
applyShift(SegmentedSortedArray leftSsa, Chunk<? extends Attributes.Values> rightStampChunk, LongChunk<Attributes.KeyIndices> rightStampKeys, long shiftDelta, RedirectionIndex redirectionIndex, boolean disallowExactMatch)
void
findModified(SegmentedSortedArray leftSsa, RedirectionIndex redirectionIndex, Chunk<? extends Attributes.Values> rightStampChunk, LongChunk<Attributes.KeyIndices> rightStampIndices, Index.RandomBuilder modifiedBuilder, boolean disallowExactMatch)
void
processEntry(SegmentedSortedArray leftSsa, SegmentedSortedArray rightSsa, RedirectionIndex redirectionIndex, boolean disallowExactMatch)
void
processInsertion(SegmentedSortedArray leftSsa, Chunk<? extends Attributes.Values> rightStampChunk, LongChunk<Attributes.KeyIndices> rightKeys, Chunk<Attributes.Values> nextRightValue, RedirectionIndex redirectionIndex, Index.RandomBuilder modifiedBuilder, boolean endsWithLastValue, boolean disallowExactMatch)
void
processRemovals(SegmentedSortedArray leftSsa, Chunk<? extends Attributes.Values> rightStampChunk, LongChunk<Attributes.KeyIndices> rightKeys, WritableLongChunk<Attributes.KeyIndices> priorRedirections, RedirectionIndex redirectionIndex, Index.RandomBuilder modifiedBuilder, boolean disallowExactMatch)
-
Method Details
-
processEntry
public void processEntry(SegmentedSortedArray leftSsa, SegmentedSortedArray rightSsa, RedirectionIndex redirectionIndex, boolean disallowExactMatch)- Specified by:
processEntry
in interfaceSsaSsaStamp
-
processRemovals
public void processRemovals(SegmentedSortedArray leftSsa, Chunk<? extends Attributes.Values> rightStampChunk, LongChunk<Attributes.KeyIndices> rightKeys, WritableLongChunk<Attributes.KeyIndices> priorRedirections, RedirectionIndex redirectionIndex, Index.RandomBuilder modifiedBuilder, boolean disallowExactMatch)- Specified by:
processRemovals
in interfaceSsaSsaStamp
-
processInsertion
public void processInsertion(SegmentedSortedArray leftSsa, Chunk<? extends Attributes.Values> rightStampChunk, LongChunk<Attributes.KeyIndices> rightKeys, Chunk<Attributes.Values> nextRightValue, RedirectionIndex redirectionIndex, Index.RandomBuilder modifiedBuilder, boolean endsWithLastValue, boolean disallowExactMatch)- Specified by:
processInsertion
in interfaceSsaSsaStamp
-
findModified
public void findModified(SegmentedSortedArray leftSsa, RedirectionIndex redirectionIndex, Chunk<? extends Attributes.Values> rightStampChunk, LongChunk<Attributes.KeyIndices> rightStampIndices, Index.RandomBuilder modifiedBuilder, boolean disallowExactMatch)- Specified by:
findModified
in interfaceSsaSsaStamp
-
applyShift
public void applyShift(SegmentedSortedArray leftSsa, Chunk<? extends Attributes.Values> rightStampChunk, LongChunk<Attributes.KeyIndices> rightStampKeys, long shiftDelta, RedirectionIndex redirectionIndex, boolean disallowExactMatch)- Specified by:
applyShift
in interfaceSsaSsaStamp
-