Class FilterRecordBatch
java.lang.Object
org.apache.drill.exec.record.AbstractRecordBatch<Filter>
org.apache.drill.exec.record.AbstractUnaryRecordBatch<Filter>
org.apache.drill.exec.record.AbstractSingleRecordBatch<Filter>
org.apache.drill.exec.physical.impl.filter.FilterRecordBatch
- All Implemented Interfaces:
AutoCloseable,Iterable<VectorWrapper<?>>,CloseableRecordBatch,RecordBatch,VectorAccessible
-
Nested Class Summary
Nested 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.AbstractSingleRecordBatch
incomingFields 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
ConstructorsConstructorDescriptionFilterRecordBatch(Filter pop, RecordBatch incoming, FragmentContext context) -
Method Summary
Methods inherited from class org.apache.drill.exec.record.AbstractSingleRecordBatch
getFinalOutcome, getIncomingMethods inherited from class org.apache.drill.exec.record.AbstractUnaryRecordBatch
cancelIncoming, getLastKnownOutcome, handleNullInput, innerNext, setLastKnownOutcomeMethods inherited from class org.apache.drill.exec.record.AbstractRecordBatch
buildSchema, cancel, checkContinue, getContainer, getOutgoingContainer, getPopConfig, getRecordBatchStatsContext, getSchema, 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
-
FilterRecordBatch
public FilterRecordBatch(Filter pop, RecordBatch incoming, FragmentContext context) throws OutOfMemoryException - Throws:
OutOfMemoryException
-
-
Method Details
-
getContext
Description copied from interface:RecordBatchGets the FragmentContext of the current query fragment. Useful for reporting failure information or other query-level information.- Specified by:
getContextin interfaceRecordBatch- Overrides:
getContextin classAbstractRecordBatch<Filter>
-
getRecordCount
public int getRecordCount()Description copied from interface:VectorAccessibleGet the number of records.- Returns:
- number of records
-
getSelectionVector2
- Specified by:
getSelectionVector2in interfaceVectorAccessible- Overrides:
getSelectionVector2in classAbstractRecordBatch<Filter>
-
getSelectionVector4
- Specified by:
getSelectionVector4in interfaceVectorAccessible- Overrides:
getSelectionVector4in classAbstractRecordBatch<Filter>
-
doWork
- Specified by:
doWorkin classAbstractUnaryRecordBatch<Filter>
-
close
public void close()- Specified by:
closein interfaceAutoCloseable- Overrides:
closein classAbstractRecordBatch<Filter>
-
setupNewSchema
protected boolean setupNewSchema()- Specified by:
setupNewSchemain classAbstractUnaryRecordBatch<Filter>
-
generateSV4Filterer
- Throws:
SchemaChangeException
-
generateSV2Filterer
-
dump
public void dump()Description copied from interface:RecordBatchPerform dump of this batch's state to logs.
-