Package org.apache.druid.segment.vector
Interface VectorOffset
-
- All Superinterfaces:
ReadableVectorInspector,ReadableVectorOffset,VectorSizeInspector
- All Known Implementing Classes:
BitmapVectorOffset,FilteredVectorOffset,NoFilterVectorOffset
public interface VectorOffset extends ReadableVectorOffset
The movable version of ReadableVectorOffset.
-
-
Field Summary
-
Fields inherited from interface org.apache.druid.segment.vector.ReadableVectorInspector
NULL_ID
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidadvance()Advances by one batch.booleanisDone()Checks if iteration is "done", meaning the current batch of offsets is empty, and there are no more coming.voidreset()Resets the object back to its original state.-
Methods inherited from interface org.apache.druid.segment.vector.ReadableVectorInspector
getId
-
Methods inherited from interface org.apache.druid.segment.vector.ReadableVectorOffset
getOffsets, getStartOffset, isContiguous
-
Methods inherited from interface org.apache.druid.segment.vector.VectorSizeInspector
getCurrentVectorSize, getMaxVectorSize
-
-
-
-
Method Detail
-
advance
void advance()
Advances by one batch.
-
isDone
boolean isDone()
Checks if iteration is "done", meaning the current batch of offsets is empty, and there are no more coming.
-
reset
void reset()
Resets the object back to its original state. Once this is done, iteration can begin anew.
-
-