Class TupleState.RowState
java.lang.Object
org.apache.drill.exec.physical.resultSet.impl.ContainerState
org.apache.drill.exec.physical.resultSet.impl.TupleState
org.apache.drill.exec.physical.resultSet.impl.TupleState.RowState
- All Implemented Interfaces:
AbstractTupleWriter.TupleWriterListener
- Enclosing class:
- TupleState
Handles the details of the top-level tuple, the data row itself.
Note that by "row" we mean the set of vectors that define the
set of rows.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.drill.exec.physical.resultSet.impl.TupleState
TupleState.DictArrayState, TupleState.DictArrayVectorState, TupleState.DictColumnState, TupleState.DictState, TupleState.DictVectorState<T extends ValueVector>, TupleState.MapArrayState, TupleState.MapColumnState, TupleState.MapState, TupleState.MapVectorState, TupleState.RowState, TupleState.SingleDictState, TupleState.SingleDictVectorState, TupleState.SingleMapState
-
Field Summary
Fields inherited from class org.apache.drill.exec.physical.resultSet.impl.TupleState
columns, outputSchema, schema
Fields inherited from class org.apache.drill.exec.physical.resultSet.impl.ContainerState
loader, parentColumn, projectionSet, vectorCache
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
addOutputColumn
(ValueVector vector, ColumnMetadata colSchema) int
protected boolean
The row as a whole is versioned.protected void
updateOutput
(int curSchemaVersion) writer()
Methods inherited from class org.apache.drill.exec.physical.resultSet.impl.TupleState
addColumn, addColumn, addColumn, bindOutputSchema, columns, columnStates, dump, hasProjections, isProjected, outputSchema, schema
Methods inherited from class org.apache.drill.exec.physical.resultSet.impl.ContainerState
addColumn, bindColumnState, close, harvestWithLookAhead, loader, projection, rollover, startBatch, updateCardinality, vectorCache
-
Constructor Details
-
RowState
-
-
Method Details
-
rootWriter
-
writer
- Specified by:
writer
in classTupleState
-
innerCardinality
public int innerCardinality()- Specified by:
innerCardinality
in classContainerState
-
isVersioned
protected boolean isVersioned()The row as a whole is versioned.- Specified by:
isVersioned
in classContainerState
- Returns:
- true
-
updateOutput
protected void updateOutput(int curSchemaVersion) - Overrides:
updateOutput
in classTupleState
-
addOutputColumn
- Specified by:
addOutputColumn
in classTupleState
-
outputContainer
-