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)
Deprecated.since 1.4.0, will be removed in 1.5.0; use typed constant holders instead.ConstantVectorHolder(Types.NestedField icebergField, 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, constantHolder, deletedVectorHolder, descriptor, dictionary, dummyHolder, icebergField, icebergType, isDictionaryEncoded, isDummy, nullabilityHolder, vector
-
-
-
-
Constructor Detail
-
ConstantVectorHolder
public ConstantVectorHolder(int numRows)
-
ConstantVectorHolder
@Deprecated public ConstantVectorHolder(int numRows, T constantValue)
Deprecated.since 1.4.0, will be removed in 1.5.0; use typed constant holders instead.
-
ConstantVectorHolder
public ConstantVectorHolder(Types.NestedField icebergField, int numRows, T constantValue)
-
-
Method Detail
-
numValues
public int numValues()
- Overrides:
numValues
in classVectorHolder
-
getConstant
public java.lang.Object getConstant()
-
-