Uses of Interface
org.apache.arrow.vector.FieldVector
Package
Description
Utilities to bind Arrow data as JDBC prepared statement parameters.
-
Uses of FieldVector in org.apache.arrow.adapter.avro.consumers
Modifier and TypeClassDescriptionclass
BaseAvroConsumer<T extends FieldVector>
Base class for non-skippable avro consumers.interface
Consumer<T extends FieldVector>
Interface that is used to consume values from avro decoder. -
Uses of FieldVector in org.apache.arrow.adapter.jdbc
Modifier and TypeMethodDescriptionJdbcToArrowConfig.JdbcConsumerFactory.apply
(ArrowType arrowType, int columnIndex, boolean nullable, FieldVector vector, JdbcToArrowConfig config) static JdbcConsumer
JdbcToArrowUtils.getConsumer
(ArrowType arrowType, int columnIndex, boolean nullable, FieldVector vector, JdbcToArrowConfig config) Default function used for JdbcConsumerFactory. -
Uses of FieldVector in org.apache.arrow.adapter.jdbc.binder
Modifier and TypeClassDescriptionclass
BaseColumnBinder<V extends FieldVector>
Base class for ColumnBinder implementations.class
VarBinaryBinder<T extends FieldVector & ElementAddressableVector>
A binder for variable-width binary types.class
VarCharBinder<T extends FieldVector & VariableWidthVector>
A binder for variable-width string types.Modifier and TypeMethodDescriptionColumnBinder.getVector()
Get the vector used by this binder.NullableColumnBinder.getVector()
Modifier and TypeMethodDescriptionstatic ColumnBinder
ColumnBinder.forVector
(FieldVector vector) Create a column binder for a vector, using the default JDBC type code for null values.static ColumnBinder
ColumnBinder.forVector
(FieldVector vector, Integer jdbcType) Create a column binder for a vector, overriding the JDBC type code used for null values.ModifierConstructorDescriptionColumnBinderArrowTypeVisitor
(FieldVector vector, Integer jdbcType) Create a binder using a custom JDBC type code. -
Uses of FieldVector in org.apache.arrow.driver.jdbc
ModifierConstructorDescriptionArrowFlightJdbcArray
(FieldVector dataVector, long startOffset, long valuesCount) Instantiate anArray
backed up by givenFieldVector
, limited by a start offset and values count. -
Uses of FieldVector in org.apache.arrow.driver.jdbc.accessor.impl.complex
Modifier and TypeMethodDescriptionprotected abstract FieldVector
AbstractArrowFlightJdbcListVectorAccessor.getDataVector()
protected FieldVector
ArrowFlightJdbcFixedSizeListVectorAccessor.getDataVector()
protected FieldVector
ArrowFlightJdbcLargeListVectorAccessor.getDataVector()
protected FieldVector
ArrowFlightJdbcListVectorAccessor.getDataVector()
protected FieldVector
ArrowFlightJdbcMapVectorAccessor.getDataVector()
-
Uses of FieldVector in org.apache.arrow.driver.jdbc.converter
Modifier and TypeMethodDescriptionboolean
AvaticaParameterConverter.bindParameter
(FieldVector vector, org.apache.calcite.avatica.remote.TypedValue typedValue, int index) Bind a TypedValue to a FieldVector at the given index. -
Uses of FieldVector in org.apache.arrow.driver.jdbc.converter.impl
Modifier and TypeMethodDescriptionboolean
BinaryAvaticaParameterConverter.bindParameter
(FieldVector vector, org.apache.calcite.avatica.remote.TypedValue typedValue, int index) boolean
BinaryViewAvaticaParameterConverter.bindParameter
(FieldVector vector, org.apache.calcite.avatica.remote.TypedValue typedValue, int index) boolean
BoolAvaticaParameterConverter.bindParameter
(FieldVector vector, org.apache.calcite.avatica.remote.TypedValue typedValue, int index) boolean
DateAvaticaParameterConverter.bindParameter
(FieldVector vector, org.apache.calcite.avatica.remote.TypedValue typedValue, int index) boolean
DecimalAvaticaParameterConverter.bindParameter
(FieldVector vector, org.apache.calcite.avatica.remote.TypedValue typedValue, int index) boolean
DurationAvaticaParameterConverter.bindParameter
(FieldVector vector, org.apache.calcite.avatica.remote.TypedValue typedValue, int index) boolean
FixedSizeBinaryAvaticaParameterConverter.bindParameter
(FieldVector vector, org.apache.calcite.avatica.remote.TypedValue typedValue, int index) boolean
FixedSizeListAvaticaParameterConverter.bindParameter
(FieldVector vector, org.apache.calcite.avatica.remote.TypedValue typedValue, int index) boolean
FloatingPointAvaticaParameterConverter.bindParameter
(FieldVector vector, org.apache.calcite.avatica.remote.TypedValue typedValue, int index) boolean
IntAvaticaParameterConverter.bindParameter
(FieldVector vector, org.apache.calcite.avatica.remote.TypedValue typedValue, int index) boolean
IntervalAvaticaParameterConverter.bindParameter
(FieldVector vector, org.apache.calcite.avatica.remote.TypedValue typedValue, int index) boolean
LargeBinaryAvaticaParameterConverter.bindParameter
(FieldVector vector, org.apache.calcite.avatica.remote.TypedValue typedValue, int index) boolean
LargeListAvaticaParameterConverter.bindParameter
(FieldVector vector, org.apache.calcite.avatica.remote.TypedValue typedValue, int index) boolean
LargeUtf8AvaticaParameterConverter.bindParameter
(FieldVector vector, org.apache.calcite.avatica.remote.TypedValue typedValue, int index) boolean
ListAvaticaParameterConverter.bindParameter
(FieldVector vector, org.apache.calcite.avatica.remote.TypedValue typedValue, int index) boolean
MapAvaticaParameterConverter.bindParameter
(FieldVector vector, org.apache.calcite.avatica.remote.TypedValue typedValue, int index) boolean
NullAvaticaParameterConverter.bindParameter
(FieldVector vector, org.apache.calcite.avatica.remote.TypedValue typedValue, int index) boolean
StructAvaticaParameterConverter.bindParameter
(FieldVector vector, org.apache.calcite.avatica.remote.TypedValue typedValue, int index) boolean
TimeAvaticaParameterConverter.bindParameter
(FieldVector vector, org.apache.calcite.avatica.remote.TypedValue typedValue, int index) boolean
TimestampAvaticaParameterConverter.bindParameter
(FieldVector vector, org.apache.calcite.avatica.remote.TypedValue typedValue, int index) boolean
UnionAvaticaParameterConverter.bindParameter
(FieldVector vector, org.apache.calcite.avatica.remote.TypedValue typedValue, int index) boolean
Utf8AvaticaParameterConverter.bindParameter
(FieldVector vector, org.apache.calcite.avatica.remote.TypedValue typedValue, int index) boolean
Utf8ViewAvaticaParameterConverter.bindParameter
(FieldVector vector, org.apache.calcite.avatica.remote.TypedValue typedValue, int index) -
Uses of FieldVector in org.apache.arrow.driver.jdbc.utils
ModifierConstructorDescriptionBinderVisitor
(FieldVector vector, org.apache.calcite.avatica.remote.TypedValue value, int index) Instantiate a new BinderVisitor. -
Uses of FieldVector in org.apache.arrow.vector
Modifier and TypeClassDescriptionclass
ExtensionTypeVector<T extends ValueVector & FieldVector>
A vector that wraps an underlying vector, used to help implement extension types.Modifier and TypeInterfaceDescriptioninterface
Interface for all int type vectors.interface
A base interface for common functionalities in variable width vectors.Modifier and TypeClassDescriptionclass
BaseFixedWidthVector provides an abstract interface for implementing vectors of fixed width values.class
BaseLargeVariableWidthVector is a base class providing functionality for large strings/large bytes types.class
BaseVariableWidthVector is a base class providing functionality for strings/bytes types.class
BaseVariableWidthViewVector is a base class providing functionality for strings/bytes types in view format.final class
BigIntVector implements a fixed width vector (8 bytes) of integer values which could be null.final class
BitVector implements a fixed width (1 bit) vector of boolean values which could be null.final class
DateDayVector implements a fixed width (4 bytes) vector of date values which could be null.final class
DateMilliVector implements a fixed width vector (8 bytes) of date values which could be null.final class
Decimal256Vector implements a fixed width vector (32 bytes) of decimal values which could be null.final class
DecimalVector implements a fixed width vector (16 bytes) of decimal values which could be null.final class
DurationVector implements a fixed width vector (8 bytes) of a configurable TimeUnit granularity duration values which could be null.class
ExtensionTypeVector<T extends ValueVector & FieldVector>
A vector that wraps an underlying vector, used to help implement extension types.class
FixedSizeBinaryVector implements a fixed width vector of binary values which could be null.final class
Float2Vector implements a fixed width (2 bytes) vector of short values which could be null.final class
Float4Vector implements a fixed width vector (4 bytes) of float values which could be null.final class
Float8Vector implements a fixed width vector (8 bytes) of double values which could be null.final class
IntervalDayVector implements a fixed width vector (8 bytes) of interval (days and milliseconds) values which could be null.final class
IntervalMonthDayNanoVector implements a fixed width vector (16 bytes) of interval (month, days and nanoseconds) values which could be null.final class
IntervalYearVector implements a fixed width (4 bytes) vector of interval (years and months) values which could be null.final class
IntVector implements a fixed width (4 bytes) vector of integer values which could be null.final class
LargeVarBinaryVector implements a large variable width vector of binary values which could be NULL.final class
LargeVarCharVector implements a variable width vector of VARCHAR values which could be NULL.class
A null type vector.final class
SmallIntVector implements a fixed width (2 bytes) vector of short values which could be null.final class
TimeMicroVector implements a fixed width vector (8 bytes) of time (microsecond resolution) values which could be null.final class
TimeMilliVector implements a fixed width (4 bytes) vector of time (millisecond resolution) values which could be null.final class
TimeNanoVector implements a fixed width vector (8 bytes) of time (nanosecond resolution) values which could be null.final class
TimeSecVector implements a fixed width (4 bytes) vector of time (seconds resolution) values which could be null.final class
TimeStampMicroTZVector implements a fixed width vector (8 bytes) of timestamp (microsecond resolution) values which could be null.final class
TimeStampMicroVector implements a fixed width vector (8 bytes) of timestamp (microsecond resolution) values which could be null.final class
TimeStampMilliTZVector implements a fixed width vector (8 bytes) of timestamp (millisecond resolution) values which could be null.final class
TimeStampMilliVector implements a fixed width vector (8 bytes) of timestamp (millisecond resolution) values which could be null.final class
TimeStampNanoTZVector implements a fixed width vector (8 bytes) of timestamp (nanosecond resolution) values which could be null.final class
TimeStampNanoVector implements a fixed width vector (8 bytes) of timestamp (nanosecond resolution) values which could be null.final class
TimeStampSecTZVector implements a fixed width vector (8 bytes) of timestamp (seconds resolution) values which could be null.final class
TimeStampSecVector implements a fixed width vector (8 bytes) of timestamp (seconds resolution) values which could be null.class
TimeStampVector is an abstract interface for fixed width vector (8 bytes) of timestamp values which could be null.final class
TinyIntVector implements a fixed width (1 bytes) vector of byte values which could be null.final class
UInt1Vector implements a fixed width (1 bytes) vector of integer values which could be null.final class
UInt2Vector implements a fixed width (2 bytes) vector of integer values which could be null.final class
UInt4Vector implements a fixed width (4 bytes) vector of integer values which could be null.final class
UInt8Vector implements a fixed width vector (8 bytes) of integer values which could be null.final class
VarBinaryVector implements a variable width vector of binary values which could be NULL.final class
VarCharVector implements a variable width vector of VARCHAR values which could be NULL.final class
ViewVarBinaryVector implements a variable width view vector of binary values which could be NULL.final class
ViewVarCharVector implements a view of a variable width vector of VARCHAR values which could be NULL.final class
A zero length vector of any type.Modifier and TypeMethodDescriptionBaseFixedWidthVector.getChildrenFromFields()
Get the inner child vectors.BaseLargeVariableWidthVector.getChildrenFromFields()
Get the inner child vectors.BaseVariableWidthVector.getChildrenFromFields()
Get the inner child vectors.BaseVariableWidthViewVector.getChildrenFromFields()
Get the inner child vectors.ExtensionTypeVector.getChildrenFromFields()
FieldVector.getChildrenFromFields()
The returned list is the same size as the list passed to initializeChildrenFromFields.NullVector.getChildrenFromFields()
VectorSchemaRoot.getFieldVectors()
Modifier and TypeMethodDescriptionVectorSchemaRoot.addVector
(int index, FieldVector vector) Add vector to the record batch, producing a new VectorSchemaRoot.static VectorSchemaRoot
VectorSchemaRoot.of
(FieldVector... vectors) Constructs a new instance from vectors.ModifierConstructorDescriptionVectorSchemaRoot
(FieldVector parent) Constructs a new instance containing the children of parent but not the parent itself.ModifierConstructorDescriptionVectorSchemaRoot
(Iterable<FieldVector> vectors) Constructs new instance containing each of the vectors.VectorSchemaRoot
(Schema schema, List<FieldVector> fieldVectors, int rowCount) Constructs a new instance. -
Uses of FieldVector in org.apache.arrow.vector.complex
Modifier and TypeInterfaceDescriptioninterface
Abstraction for all list type vectors.Modifier and TypeClassDescriptionclass
Base class for Vectors that contain repeated values.class
class
class
A ListVector where every list value is of the same size.class
A list vector contains lists of a specific type of elements.class
A list vector contains lists of a specific type of elements.class
A list view vector contains lists of a specific type of elements.class
A MapVector is used to store entries of key/value pairs.class
A Struct vector consists of nullability/validity buffer and children vectors that make up the struct's fields.class
Modifier and TypeFieldDescriptionstatic final FieldVector
BaseRepeatedValueVector.DEFAULT_DATA_VECTOR
static final FieldVector
BaseRepeatedValueViewVector.DEFAULT_DATA_VECTOR
static final FieldVector
LargeListVector.DEFAULT_DATA_VECTOR
protected FieldVector
BaseRepeatedValueVector.vector
protected FieldVector
BaseRepeatedValueViewVector.vector
protected FieldVector
LargeListVector.vector
Modifier and TypeMethodDescriptionabstract <T extends FieldVector>
T<T extends FieldVector>
TAdds a new field with the given parameters or replaces the existing one and consequently returns the resultantValueVector
.<T extends FieldVector>
T<T extends FieldVector>
Tabstract <T extends FieldVector>
T<T extends FieldVector>
TReturns aValueVector
instance of subtype of T corresponding to the given field name if exists or null.<T extends FieldVector>
T<T extends FieldVector>
TModifier and TypeMethodDescriptionDenseUnionVector.addVector
(byte typeId, FieldVector v) UnionVector.addVector
(FieldVector v) Returns aValueVector
corresponding to the given field name if exists or null.BaseRepeatedValueVector.getDataVector()
BaseRepeatedValueViewVector.getDataVector()
FixedSizeListVector.getDataVector()
LargeListVector.getDataVector()
Get the inner data vector for this list vector.ListVector.getDataVector()
Get the inner data vector for this list vector.ListViewVector.getDataVector()
Modifier and TypeMethodDescriptionprotected List<FieldVector>
AbstractStructVector.getChildren()
Get child vectors.DenseUnionVector.getChildrenFromFields()
FixedSizeListVector.getChildrenFromFields()
LargeListVector.getChildrenFromFields()
ListVector.getChildrenFromFields()
ListViewVector.getChildrenFromFields()
NonNullableStructVector.getChildrenFromFields()
UnionVector.getChildrenFromFields()
Modifier and TypeMethodDescriptionDenseUnionVector.addVector
(byte typeId, FieldVector v) UnionVector.addVector
(FieldVector v) void
UnionVector.directAddVector
(FieldVector v) Directly put a vector to internalStruct without creating a new one with same type.protected void
AbstractStructVector.putChild
(String name, FieldVector vector) Inserts the vector with the given name if it does not exist else replaces it with the new value.protected void
AbstractStructVector.putVector
(String name, FieldVector vector) Inserts the input vector into the map if it does not exist.protected void
BaseRepeatedValueVector.replaceDataVector
(FieldVector v) protected void
BaseRepeatedValueViewVector.replaceDataVector
(FieldVector v) protected void
LargeListVector.replaceDataVector
(FieldVector v) ModifierConstructorDescriptionprotected
BaseRepeatedValueVector
(String name, BufferAllocator allocator, FieldVector vector, CallBack callBack) protected
BaseRepeatedValueViewVector
(String name, BufferAllocator allocator, FieldVector vector, CallBack callBack) -
Uses of FieldVector in org.apache.arrow.vector.dictionary
-
Uses of FieldVector in org.apache.arrow.vector.table
Modifier and TypeFieldDescriptionprotected final List<FieldVector>
BaseTable.fieldVectors
The field vectors holding the data in this table.protected final Map<Field,
FieldVector> BaseTable.fieldVectorsMap
A map of Fields to FieldVectors used to select Fields.Modifier and TypeMethodDescriptionBaseTable.getVectorCopy
(int columnIndex) Returns a copy of the vector at the given position.BaseTable.getVectorCopy
(String columnName) Returns a copy of the vector with the given name, or throws IllegalArgumentException if the name is not found.Modifier and TypeMethodDescriptionTable.addVector
(int index, FieldVector vector) Returns a new Table created by adding the given vector to the vectors in this Table.static Table
Table.of
(FieldVector... vectors) Constructs a new instance from vectors.ModifierConstructorDescriptionBaseTable
(List<FieldVector> fieldVectors, int rowCount, DictionaryProvider provider) Constructs new instance with the given rowCount, and containing the schema and each of the given vectors.Table
(Iterable<FieldVector> vectors) Constructs new instance containing each of the given vectors.Table
(List<FieldVector> fieldVectors) Constructs a new instance with the number of rows set to the value count of the first FieldVector.Table
(List<FieldVector> fieldVectors, int rowCount) Constructs a new instance.Table
(List<FieldVector> fieldVectors, int rowCount, DictionaryProvider provider) Constructs a new instance. -
Uses of FieldVector in org.apache.arrow.vector.types
Modifier and TypeMethodDescriptionfinal FieldVector
Types.MinorType.getNewVector
(String name, FieldType fieldType, BufferAllocator allocator, CallBack schemaChangeCallback) Constructs a new vector for the given type.abstract FieldVector
Types.MinorType.getNewVector
(Field field, BufferAllocator allocator, CallBack schemaChangeCallback) Constructs a new vector for the given type. -
Uses of FieldVector in org.apache.arrow.vector.types.pojo
Modifier and TypeMethodDescriptionFieldType.createNewSingleVector
(String name, BufferAllocator allocator, CallBack schemaCallBack) FieldType.createNewSingleVector
(Field field, BufferAllocator allocator, CallBack schemaCallBack) Field.createVector
(BufferAllocator allocator) Construct a new vector of this type using the given allocator.abstract FieldVector
ArrowType.ExtensionType.getNewVector
(String name, FieldType fieldType, BufferAllocator allocator) Construct a vector for the user type. -
Uses of FieldVector in org.apache.arrow.vector.util
Modifier and TypeMethodDescriptionstatic void
Validator.compareFieldVectors
(FieldVector vector1, FieldVector vector2) Validate two arrow FieldVectors are equal.