public class PartitionLimitRecordBatch extends AbstractSingleRecordBatch<PartitionLimit>
AbstractRecordBatch.BatchStateRecordBatch.IterOutcomeincomingcallBackbatchStatsContext, container, context, oContext, popConfig, state, stats, unionTypeEnabledMAX_BATCH_ROW_COUNT| Constructor and Description |
|---|
PartitionLimitRecordBatch(PartitionLimit popConfig,
FragmentContext context,
RecordBatch incoming) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
protected RecordBatch.IterOutcome |
doWork() |
void |
dump()
Perform dump of this batch's state to logs.
|
protected RecordBatch.IterOutcome |
getFinalOutcome(boolean hasRemainder)
Gets the outcome to return from super implementation and then in case of
EMIT outcome it refreshes the state of operator.
|
int |
getRecordCount()
Get the number of records.
|
SelectionVector2 |
getSelectionVector2() |
protected boolean |
setupNewSchema() |
getIncomingcancelIncoming, getLastKnownOutcome, handleNullInput, innerNext, setLastKnownOutcomebuildSchema, cancel, checkContinue, getContainer, getContext, getOutgoingContainer, getPopConfig, getRecordBatchStatsContext, getSchema, getSelectionVector4, getValueAccessorById, getValueVectorId, getWritableBatch, isRecordBatchStatsLoggingEnabled, iterator, next, next, next, schemaChangeException, schemaChangeExceptionclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEach, spliteratorpublic PartitionLimitRecordBatch(PartitionLimit popConfig, FragmentContext context, RecordBatch incoming) throws OutOfMemoryException
OutOfMemoryExceptionpublic SelectionVector2 getSelectionVector2()
getSelectionVector2 in interface VectorAccessiblegetSelectionVector2 in class AbstractRecordBatch<PartitionLimit>public int getRecordCount()
VectorAccessiblepublic void close()
close in interface AutoCloseableclose in class AbstractRecordBatch<PartitionLimit>protected boolean setupNewSchema()
setupNewSchema in class AbstractUnaryRecordBatch<PartitionLimit>protected RecordBatch.IterOutcome getFinalOutcome(boolean hasRemainder)
getFinalOutcome in class AbstractSingleRecordBatch<PartitionLimit>hasRemainder - protected RecordBatch.IterOutcome doWork()
doWork in class AbstractUnaryRecordBatch<PartitionLimit>public void dump()
RecordBatchCopyright © 2021 The Apache Software Foundation. All rights reserved.