public class VectorHolder
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
VectorHolder.ConstantVectorHolder<T>
A Vector Holder which does not actually produce values, consumers of this class should
use the constantValue to populate their ColumnVector implementation.
|
static class |
VectorHolder.PositionVectorHolder |
Constructor and Description |
---|
VectorHolder(org.apache.parquet.column.ColumnDescriptor columnDescriptor,
org.apache.arrow.vector.FieldVector vector,
boolean isDictionaryEncoded,
org.apache.parquet.column.Dictionary dictionary,
NullabilityHolder holder,
Type type) |
Modifier and Type | Method and Description |
---|---|
static <T> VectorHolder |
constantHolder(int numRows,
T constantValue) |
org.apache.parquet.column.ColumnDescriptor |
descriptor() |
org.apache.parquet.column.Dictionary |
dictionary() |
static VectorHolder |
dummyHolder(int numRows) |
Type |
icebergType() |
boolean |
isDictionaryEncoded() |
boolean |
isDummy() |
NullabilityHolder |
nullabilityHolder() |
int |
numValues() |
org.apache.arrow.vector.FieldVector |
vector() |
public VectorHolder(org.apache.parquet.column.ColumnDescriptor columnDescriptor, org.apache.arrow.vector.FieldVector vector, boolean isDictionaryEncoded, org.apache.parquet.column.Dictionary dictionary, NullabilityHolder holder, Type type)
public org.apache.parquet.column.ColumnDescriptor descriptor()
public org.apache.arrow.vector.FieldVector vector()
public boolean isDictionaryEncoded()
public org.apache.parquet.column.Dictionary dictionary()
public NullabilityHolder nullabilityHolder()
public Type icebergType()
public int numValues()
public static <T> VectorHolder constantHolder(int numRows, T constantValue)
public static VectorHolder dummyHolder(int numRows)
public boolean isDummy()