Class AbstractRowSet
java.lang.Object
org.apache.drill.exec.physical.rowSet.AbstractRowSet
- All Implemented Interfaces:
RowSet
- Direct Known Subclasses:
AbstractSingleRowSet
,HyperRowSetImpl
Basic implementation of a row set for both the single and multiple
(hyper) varieties, both the fixed and extensible varieties.
-
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
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
clear()
void
print()
Debug-only tool to visualize a row set for inspection.int
rowCount()
schema()
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.toString()
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
indirectionType, isExtendable, isWritable, reader
-
Field Details
-
container
-
schema
-
-
Constructor Details
-
AbstractRowSet
-
-
Method Details
-
vectorAccessible
- Specified by:
vectorAccessible
in interfaceRowSet
-
container
-
rowCount
public int rowCount() -
clear
public void clear() -
schema
-
allocator
-
toString
-
print
public void print()Description copied from interface:RowSet
Debug-only tool to visualize a row set for inspection. Do not use this in production code. -
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. -
batchSchema
- Specified by:
batchSchema
in interfaceRowSet
-