Class IndirectRowSet
java.lang.Object
org.apache.drill.exec.physical.rowSet.AbstractRowSet
org.apache.drill.exec.physical.rowSet.AbstractSingleRowSet
org.apache.drill.exec.physical.rowSet.IndirectRowSet
- All Implemented Interfaces:
RowSet,RowSet.SingleRowSet
Single row set coupled with an indirection (selection) vector,
specifically an SV2.
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.apache.drill.exec.physical.rowSet.RowSet
RowSet.ExtendableRowSet, RowSet.HyperRowSet, RowSet.HyperRowSetBuilder, RowSet.SingleRowSet -
Field Summary
Fields inherited from class org.apache.drill.exec.physical.rowSet.AbstractRowSet
container, schema -
Constructor Summary
ConstructorsConstructorDescriptionIndirectRowSet(DirectRowSet directRowSet, Set<Integer> skipIndices) IndirectRowSet(VectorContainer container) -
Method Summary
Modifier and TypeMethodDescriptionvoidclear()static IndirectRowSetfromContainer(VectorContainer container) static IndirectRowSetfromSv2(VectorContainer container, SelectionVector2 sv2) getSv2()booleanbooleanreader()longsize()Return the size in memory of this record set, including indirection vectors, null vectors, offset vectors and the entire (used and unused) data vectors.toIndirect(Set<Integer> skipIndices) Methods inherited from class org.apache.drill.exec.physical.rowSet.AbstractSingleRowSet
buildReaderMethods inherited from class org.apache.drill.exec.physical.rowSet.AbstractRowSet
allocator, batchSchema, container, print, rowCount, schema, toString, vectorAccessibleMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.apache.drill.exec.physical.rowSet.RowSet
allocator, batchSchema, container, print, rowCount, schema, vectorAccessible
-
Constructor Details
-
IndirectRowSet
-
IndirectRowSet
-
-
Method Details
-
fromContainer
-
fromSv2
-
getSv2
-
clear
public void clear()- Specified by:
clearin interfaceRowSet- Overrides:
clearin classAbstractRowSet
-
reader
-
isExtendable
public boolean isExtendable() -
isWritable
public boolean isWritable() -
indirectionType
-
toIndirect
-
toIndirect
-
size
public long size()Description copied from interface:RowSetReturn the size in memory of this record set, including indirection vectors, null vectors, offset vectors and the entire (used and unused) data vectors.- Specified by:
sizein interfaceRowSet- Overrides:
sizein classAbstractSingleRowSet- Returns:
- memory size in bytes
-