Package com.illumon.iris.db.v2.hashing
Class HashedRunFinder
java.lang.Object
com.illumon.iris.db.v2.hashing.HashedRunFinder
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 -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic 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)
-