public interface ReadableVectorOffset extends VectorSizeInspector
VectorOffset, the movable version.,
org.apache.druid.segment.data.ReadableOffset, the non-vectorized version.| Modifier and Type | Field and Description |
|---|---|
static int |
NULL_ID
A marker value that will never be returned by "getId".
|
| Modifier and Type | Method and Description |
|---|---|
int |
getId()
Returns an integer that uniquely identifies the current position of the offset.
|
int[] |
getOffsets()
If "isContiguous" is false, this method returns a batch of offsets.
|
int |
getStartOffset()
If "isContiguous" is true, this method returns the start offset of the range.
|
boolean |
isContiguous()
Checks if the current batch is a contiguous range or not.
|
getCurrentVectorSize, getMaxVectorSizestatic final int NULL_ID
int getId()
boolean isContiguous()
int getStartOffset()
int[] getOffsets()
Copyright © 2011–2020 The Apache Software Foundation. All rights reserved.