Package com.illumon.iris.db.v2.hashing
Class HashedRunFinder
java.lang.Object
com.illumon.iris.db.v2.hashing.HashedRunFinder
public class HashedRunFinder extends Object
Finds runs of the same slot, and fills in the chunkPositions, runStarts, and runLengths arrays. The slots are not in
order; like slots are simply grouped together such that each slot is only represented in the chunk one time.
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
HashedRunFinder.HashedRunContext
-
Constructor Summary
Constructors Constructor Description HashedRunFinder()
-
Method Summary
Modifier and Type Method Description static boolean
findRunsHashed(HashedRunFinder.HashedRunContext context, WritableIntChunk<Attributes.ChunkPositions> runStarts, WritableIntChunk<Attributes.ChunkLengths> runLengths, WritableIntChunk<Attributes.ChunkPositions> chunkPositions, WritableIntChunk<Attributes.KeyIndices> outputPositions)
-
Constructor Details
-
HashedRunFinder
public HashedRunFinder()
-
-
Method Details
-
findRunsHashed
public static boolean findRunsHashed(HashedRunFinder.HashedRunContext context, WritableIntChunk<Attributes.ChunkPositions> runStarts, WritableIntChunk<Attributes.ChunkLengths> runLengths, WritableIntChunk<Attributes.ChunkPositions> chunkPositions, WritableIntChunk<Attributes.KeyIndices> outputPositions)
-