public class ProducerConsumerBatch extends AbstractRecordBatch<ProducerConsumer>
AbstractRecordBatch.BatchStateRecordBatch.IterOutcomecontainer, context, oContext, popConfig, state, stats, unionTypeEnabledMAX_BATCH_SIZE| Modifier | Constructor and Description |
|---|---|
protected |
ProducerConsumerBatch(ProducerConsumer popConfig,
FragmentContext context,
RecordBatch incoming) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
int |
getRecordCount()
Gets the number of records that are within this record.
|
RecordBatch.IterOutcome |
innerNext() |
protected void |
killIncoming(boolean sendUpstream) |
buildSchema, getContext, getOutgoingContainer, getPopConfig, getSchema, getSelectionVector2, getSelectionVector4, getValueAccessorById, getValueVectorId, getWritableBatch, iterator, kill, next, next, nextprotected ProducerConsumerBatch(ProducerConsumer popConfig, FragmentContext context, RecordBatch incoming) throws OutOfMemoryException
OutOfMemoryExceptionpublic RecordBatch.IterOutcome innerNext()
innerNext in class AbstractRecordBatch<ProducerConsumer>protected void killIncoming(boolean sendUpstream)
killIncoming in class AbstractRecordBatch<ProducerConsumer>public void close()
close in interface AutoCloseableclose in class AbstractRecordBatch<ProducerConsumer>public int getRecordCount()
RecordBatchCopyright © 2017 The Apache Software Foundation. All rights reserved.