public abstract static class VariantColumn.VariantVectorObjectSelector extends Object implements VectorObjectSelector
VectorObjectSelector for a dictionary encoded column that coerces mixed types to a common type| Modifier | Constructor and Description |
|---|---|
protected |
VariantVectorObjectSelector(ReadableVectorOffset offset,
ColumnarInts encodedValueColumn,
FrontCodedIntArrayIndexed arrayDictionary,
ExpressionType logicalExpressionType,
int adjustArrayId) |
| Modifier and Type | Method and Description |
|---|---|
abstract int |
adjustDictionaryId(int id) |
int |
getCurrentVectorSize()
Returns the current vector size for this cursor.
|
int |
getMaxVectorSize()
Returns the maximum vector size for this cursor.
|
Object[] |
getObjectVector()
Get the current vector.
|
abstract Object |
lookupScalarValue(int dictionaryId) |
abstract Object |
lookupScalarValueAndCast(int dictionaryId) |
protected VariantVectorObjectSelector(ReadableVectorOffset offset, ColumnarInts encodedValueColumn, FrontCodedIntArrayIndexed arrayDictionary, ExpressionType logicalExpressionType, int adjustArrayId)
public abstract int adjustDictionaryId(int id)
@Nullable public abstract Object lookupScalarValueAndCast(int dictionaryId)
public Object[] getObjectVector()
VectorObjectSelectorgetObjectVector in interface VectorObjectSelectorpublic int getMaxVectorSize()
VectorSizeInspectorgetMaxVectorSize in interface VectorSizeInspectorpublic int getCurrentVectorSize()
VectorSizeInspectorVectorSizeInspector.getMaxVectorSize().getCurrentVectorSize in interface VectorSizeInspectorCopyright © 2011–2023 The Apache Software Foundation. All rights reserved.