Interface TupleVector
- All Known Implementing Classes:
ChainedTupleVector,ObjectTupleVector,SelectedTupleVector
public interface TupleVector
Definition of a TupleVector. Consists of a
Schema and a list of ValueVector's-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final TupleVectorReturn a constant tuple vector with no schema and 1 rowstatic final TupleVector -
Method Summary
Modifier and TypeMethodDescriptiondefault TupleVectorcopy(int row) Copy one row from this instance into a new tuple vector.getColumn(int column) Return vector for provided column.intReturn the actual schema from the vector.static TupleVectorof(Schema schema, List<? extends ValueVector> columns) Construct aTupleVectorfrom provided columns and schemastatic TupleVectorof(Schema schema, ValueVector... columns) Construct aTupleVectorfrom provided columns and schemadefault StringtoCsv()Generate csv (tab separated) string of this vectordefault StringtoCsv(int indent) Generate csv (tab separated) string of this vector
-
Field Details
-
EMPTY
-
CONSTANT
Return a constant tuple vector with no schema and 1 row
-
-
Method Details
-
getRowCount
int getRowCount() -
getColumn
Return vector for provided column. NOTE! Returned value might not be thread safe. -
getSchema
Schema getSchema()Return the actual schema from the vector. If this tuple vector resides from a schema less query then this is the actual columns resolved runtime else this schema should match the compile time schema that the data source had -
copy
Copy one row from this instance into a new tuple vector. -
of
Construct aTupleVectorfrom provided columns and schema -
of
Construct aTupleVectorfrom provided columns and schema -
toCsv
Generate csv (tab separated) string of this vector -
toCsv
Generate csv (tab separated) string of this vector
-