Class VectorHolder.ConstantVectorHolder<T>
java.lang.Object
org.apache.iceberg.arrow.vectorized.VectorHolder
org.apache.iceberg.arrow.vectorized.VectorHolder.ConstantVectorHolder<T>
- Enclosing class:
- VectorHolder
A Vector Holder which does not actually produce values, consumers of this class should use the
constantValue to populate their ColumnVector implementation.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.iceberg.arrow.vectorized.VectorHolder
VectorHolder.ConstantVectorHolder<T>, VectorHolder.DeletedVectorHolder, VectorHolder.PositionVectorHolder
-
Constructor Summary
ConstructorDescriptionConstantVectorHolder
(int numRows) ConstantVectorHolder
(Types.NestedField icebergField, int numRows, T constantValue) -
Method Summary
Methods inherited from class org.apache.iceberg.arrow.vectorized.VectorHolder
constantHolder, deletedVectorHolder, descriptor, dictionary, dummyHolder, icebergField, icebergType, isDictionaryEncoded, isDummy, nullabilityHolder, vector
-
Constructor Details
-
ConstantVectorHolder
public ConstantVectorHolder(int numRows) -
ConstantVectorHolder
-
-
Method Details
-
numValues
public int numValues()- Overrides:
numValues
in classVectorHolder
-
getConstant
-