Interface ObjectVector
public interface ObjectVector
Definition of a object vector representing the type
Column.Type.Object. Consist of a Schema and a collection of ValueVector. all with row count 1.-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptiondefault intgetRow()Return the row to use inValueVector's to access the objects values.Return schema for the vectorgetValue(int ordinal) Get the value of provided ordinalstatic ObjectVectorwrap(TupleVector tupleVector) Wrap aTupleVectorcreating aObjectVectorfor row 0static ObjectVectorwrap(TupleVector tupleVector, int row) Wrap aTupleVectorcreating aObjectVectorfor provided row
-
Field Details
-
EMPTY
-
-
Method Details
-
getRow
default int getRow()Return the row to use inValueVector's to access the objects values. This is used when sharing vectors among several objects to denote which underlying row to use for this instance. -
getSchema
Schema getSchema()Return schema for the vector -
getValue
Get the value of provided ordinal -
wrap
Wrap aTupleVectorcreating aObjectVectorfor row 0 -
wrap
Wrap aTupleVectorcreating aObjectVectorfor provided row
-