public class RemovingRecordBatch extends AbstractSingleRecordBatch<SelectionVectorRemover>
AbstractRecordBatch.BatchState
RecordBatch.IterOutcome
incoming
callBack
batchStatsContext, container, context, oContext, popConfig, state, stats, unionTypeEnabled
MAX_BATCH_ROW_COUNT
Constructor and Description |
---|
RemovingRecordBatch(SelectionVectorRemover 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.
|
int |
getRecordCount()
Get the number of records.
|
WritableBatch |
getWritableBatch()
Gets a writable version of this batch.
|
protected boolean |
setupNewSchema() |
getFinalOutcome, getIncoming
cancelIncoming, getLastKnownOutcome, handleNullInput, innerNext, setLastKnownOutcome
buildSchema, cancel, checkContinue, getContainer, getContext, getOutgoingContainer, getPopConfig, getRecordBatchStatsContext, getSchema, getSelectionVector2, getSelectionVector4, getValueAccessorById, getValueVectorId, isRecordBatchStatsLoggingEnabled, iterator, next, next, next, schemaChangeException, schemaChangeException
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEach, spliterator
public RemovingRecordBatch(SelectionVectorRemover popConfig, FragmentContext context, RecordBatch incoming) throws OutOfMemoryException
OutOfMemoryException
public int getRecordCount()
VectorAccessible
protected boolean setupNewSchema()
setupNewSchema
in class AbstractUnaryRecordBatch<SelectionVectorRemover>
protected RecordBatch.IterOutcome doWork()
doWork
in class AbstractUnaryRecordBatch<SelectionVectorRemover>
public void close()
close
in interface AutoCloseable
close
in class AbstractRecordBatch<SelectionVectorRemover>
public WritableBatch getWritableBatch()
RecordBatch
getWritableBatch
in interface RecordBatch
getWritableBatch
in class AbstractRecordBatch<SelectionVectorRemover>
public void dump()
RecordBatch
Copyright © 1970 The Apache Software Foundation. All rights reserved.