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
ConstructorDescriptionIndirectRowSet
(DirectRowSet directRowSet, Set<Integer> skipIndices) IndirectRowSet
(VectorContainer container) -
Method Summary
Modifier and TypeMethodDescriptionvoid
clear()
static IndirectRowSet
fromContainer
(VectorContainer container) static IndirectRowSet
fromSv2
(VectorContainer container, SelectionVector2 sv2) getSv2()
boolean
boolean
reader()
long
size()
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
buildReader
Methods inherited from class org.apache.drill.exec.physical.rowSet.AbstractRowSet
allocator, batchSchema, container, print, rowCount, schema, toString, vectorAccessible
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods 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:
clear
in interfaceRowSet
- Overrides:
clear
in classAbstractRowSet
-
reader
-
isExtendable
public boolean isExtendable() -
isWritable
public boolean isWritable() -
indirectionType
-
toIndirect
-
toIndirect
-
size
public long size()Description copied from interface:RowSet
Return 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:
size
in interfaceRowSet
- Overrides:
size
in classAbstractSingleRowSet
- Returns:
- memory size in bytes
-