public class LimitRecordBatch extends AbstractSingleRecordBatch<Limit>
AbstractRecordBatch.BatchStateRecordBatch.IterOutcomecallBack, incoming, outOfMemorycontainer, context, oContext, popConfig, state, stats, unionTypeEnabledMAX_BATCH_SIZE| Constructor and Description |
|---|
LimitRecordBatch(Limit popConfig,
FragmentContext context,
RecordBatch incoming) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
protected RecordBatch.IterOutcome |
doWork() |
int |
getRecordCount()
Gets the number of records that are within this record.
|
SelectionVector2 |
getSelectionVector2() |
RecordBatch.IterOutcome |
innerNext() |
protected boolean |
setupNewSchema() |
getSchema, handleNullInput, killIncomingbuildSchema, getContext, getOutgoingContainer, getPopConfig, getSelectionVector4, getValueAccessorById, getValueVectorId, getWritableBatch, iterator, kill, next, next, nextpublic LimitRecordBatch(Limit popConfig, FragmentContext context, RecordBatch incoming) throws OutOfMemoryException
OutOfMemoryExceptionprotected boolean setupNewSchema()
throws SchemaChangeException
setupNewSchema in class AbstractSingleRecordBatch<Limit>SchemaChangeExceptionpublic RecordBatch.IterOutcome innerNext()
innerNext in class AbstractSingleRecordBatch<Limit>public SelectionVector2 getSelectionVector2()
getSelectionVector2 in interface VectorAccessiblegetSelectionVector2 in class AbstractRecordBatch<Limit>protected RecordBatch.IterOutcome doWork()
doWork in class AbstractSingleRecordBatch<Limit>public int getRecordCount()
RecordBatchpublic void close()
close in interface AutoCloseableclose in class AbstractRecordBatch<Limit>Copyright © 2017 The Apache Software Foundation. All rights reserved.