Class UnnestRecordBatch
java.lang.Object
org.apache.drill.exec.record.AbstractRecordBatch<UnnestPOP>
org.apache.drill.exec.record.AbstractUnaryRecordBatch<UnnestPOP>
org.apache.drill.exec.record.AbstractTableFunctionRecordBatch<UnnestPOP>
org.apache.drill.exec.physical.impl.unnest.UnnestRecordBatch
- All Implemented Interfaces:
AutoCloseable,Iterable<VectorWrapper<?>>,CloseableRecordBatch,RecordBatch,TableFunctionContract,VectorAccessible
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class org.apache.drill.exec.record.AbstractRecordBatch
AbstractRecordBatch.BatchStateNested classes/interfaces inherited from interface org.apache.drill.exec.record.RecordBatch
RecordBatch.IterOutcome -
Field Summary
Fields inherited from class org.apache.drill.exec.record.AbstractTableFunctionRecordBatch
incoming, lateralFields inherited from class org.apache.drill.exec.record.AbstractUnaryRecordBatch
callBackFields inherited from class org.apache.drill.exec.record.AbstractRecordBatch
batchStatsContext, container, context, oContext, popConfig, state, stats, unionTypeEnabledFields inherited from interface org.apache.drill.exec.record.RecordBatch
MAX_BATCH_ROW_COUNT -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidvoidclose()protected RecordBatch.IterOutcomedoWork()voiddump()Perform dump of this batch's state to logs.intGet the number of records.protected booleanMethods inherited from class org.apache.drill.exec.record.AbstractTableFunctionRecordBatch
getIncoming, setIncoming, setIncomingMethods inherited from class org.apache.drill.exec.record.AbstractUnaryRecordBatch
getLastKnownOutcome, handleNullInput, setLastKnownOutcomeMethods inherited from class org.apache.drill.exec.record.AbstractRecordBatch
buildSchema, cancel, checkContinue, getContainer, getContext, getPopConfig, getRecordBatchStatsContext, getSchema, getSelectionVector2, getSelectionVector4, getValueAccessorById, getValueVectorId, getWritableBatch, isRecordBatchStatsLoggingEnabled, iterator, next, next, next, schemaChangeException, schemaChangeExceptionMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.lang.Iterable
forEach, spliterator
-
Constructor Details
-
UnnestRecordBatch
- Throws:
OutOfMemoryException
-
-
Method Details
-
getRecordCount
public int getRecordCount()Description copied from interface:VectorAccessibleGet the number of records.- Returns:
- number of records
-
cancelIncoming
protected void cancelIncoming()- Overrides:
cancelIncomingin classAbstractUnaryRecordBatch<UnnestPOP>
-
innerNext
- Overrides:
innerNextin classAbstractUnaryRecordBatch<UnnestPOP>
-
getOutgoingContainer
- Specified by:
getOutgoingContainerin interfaceRecordBatch- Overrides:
getOutgoingContainerin classAbstractRecordBatch<UnnestPOP>
-
doWork
- Specified by:
doWorkin classAbstractUnaryRecordBatch<UnnestPOP>
-
setupNewSchema
protected boolean setupNewSchema()- Specified by:
setupNewSchemain classAbstractUnaryRecordBatch<UnnestPOP>
-
close
public void close()- Specified by:
closein interfaceAutoCloseable- Overrides:
closein classAbstractRecordBatch<UnnestPOP>
-
dump
public void dump()Description copied from interface:RecordBatchPerform dump of this batch's state to logs.
-