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 Details

    • EMPTY

      static final TupleVector EMPTY
    • CONSTANT

      static final TupleVector CONSTANT
      Return a constant tuple vector with no schema and 1 row
  • Method Details

    • getRowCount

      int getRowCount()
    • getColumn

      ValueVector getColumn(int column)
      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

      default TupleVector copy(int row)
      Copy one row from this instance into a new tuple vector.
    • of

      static TupleVector of(Schema schema, ValueVector... columns)
      Construct a TupleVector from provided columns and schema
    • of

      static TupleVector of(Schema schema, List<? extends ValueVector> columns)
      Construct a TupleVector from provided columns and schema
    • toCsv

      default String toCsv()
      Generate csv (tab separated) string of this vector
    • toCsv

      default String toCsv(int indent)
      Generate csv (tab separated) string of this vector