Class VectorHolder.ConstantVectorHolder<T>
- java.lang.Object
-
- org.apache.iceberg.arrow.vectorized.VectorHolder
-
- org.apache.iceberg.arrow.vectorized.VectorHolder.ConstantVectorHolder<T>
-
- Enclosing class:
- VectorHolder
public static class VectorHolder.ConstantVectorHolder<T> extends 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
Constructors Constructor Description ConstantVectorHolder(int numRows)
ConstantVectorHolder(int numRows, T constantValue)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Object
getConstant()
int
numValues()
-
Methods inherited from class org.apache.iceberg.arrow.vectorized.VectorHolder
constantHolder, deletedVectorHolder, descriptor, dictionary, dummyHolder, icebergType, isDictionaryEncoded, isDummy, nullabilityHolder, vector
-
-
-
-
Constructor Detail
-
ConstantVectorHolder
public ConstantVectorHolder(int numRows)
-
ConstantVectorHolder
public ConstantVectorHolder(int numRows, T constantValue)
-
-
Method Detail
-
numValues
public int numValues()
- Overrides:
numValues
in classVectorHolder
-
getConstant
public java.lang.Object getConstant()
-
-