Package org.apache.druid.segment.vector
Interface SingleValueDimensionVectorSelector
- All Superinterfaces:
DimensionDictionarySelector,VectorSizeInspector
- All Known Implementing Classes:
NilVectorSelector,SingleStringInputDeferredEvaluationExpressionDimensionVectorSelector,StringUtf8DictionaryEncodedColumn.StringSingleValueDimensionVectorSelector
public interface SingleValueDimensionVectorSelector
extends DimensionDictionarySelector, VectorSizeInspector
Vectorized selector for a singly-valued string-typed column. Unlike the non-vectorized version, this is done as
a separate interface, which is useful since it allows "getRowVector" to be a primitive int array.
-
Field Summary
Fields inherited from interface org.apache.druid.segment.DimensionDictionarySelector
CARDINALITY_UNKNOWN -
Method Summary
Methods inherited from interface org.apache.druid.segment.DimensionDictionarySelector
getValueCardinality, idLookup, lookupName, lookupNameUtf8, nameLookupPossibleInAdvance, supportsLookupNameUtf8Methods inherited from interface org.apache.druid.segment.vector.VectorSizeInspector
getCurrentVectorSize, getMaxVectorSize
-
Method Details
-
getRowVector
int[] getRowVector()Get the current vector. The array will be reused, so it is not a good idea to retain a reference to it.
-