public class FlattenRecordBatch extends AbstractSingleRecordBatch<FlattenPOP>
Modifier and Type | Class and Description |
---|---|
static class |
FlattenRecordBatch.Metric |
AbstractRecordBatch.BatchState
RecordBatch.IterOutcome
incoming
callBack
batchStatsContext, container, context, oContext, popConfig, state, stats, unionTypeEnabled
MAX_BATCH_ROW_COUNT
Constructor and Description |
---|
FlattenRecordBatch(FlattenPOP pop,
RecordBatch incoming,
FragmentContext context) |
Modifier and Type | Method and Description |
---|---|
void |
addComplexWriter(BaseWriter.ComplexWriter writer) |
protected void |
cancelIncoming() |
void |
close() |
protected RecordBatch.IterOutcome |
doWork() |
void |
dump()
Perform dump of this batch's state to logs.
|
VectorContainer |
getOutgoingContainer() |
int |
getRecordCount()
Get the number of records.
|
RecordBatch.IterOutcome |
innerNext() |
protected boolean |
setupNewSchema() |
getFinalOutcome, getIncoming
getLastKnownOutcome, handleNullInput, setLastKnownOutcome
buildSchema, cancel, checkContinue, getContainer, getContext, getPopConfig, getRecordBatchStatsContext, getSchema, getSelectionVector2, getSelectionVector4, getValueAccessorById, getValueVectorId, getWritableBatch, isRecordBatchStatsLoggingEnabled, iterator, next, next, next, schemaChangeException, schemaChangeException
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEach, spliterator
public FlattenRecordBatch(FlattenPOP pop, RecordBatch incoming, FragmentContext context) throws OutOfMemoryException
OutOfMemoryException
public int getRecordCount()
VectorAccessible
protected void cancelIncoming()
cancelIncoming
in class AbstractUnaryRecordBatch<FlattenPOP>
public RecordBatch.IterOutcome innerNext()
innerNext
in class AbstractUnaryRecordBatch<FlattenPOP>
public VectorContainer getOutgoingContainer()
getOutgoingContainer
in interface RecordBatch
getOutgoingContainer
in class AbstractRecordBatch<FlattenPOP>
protected RecordBatch.IterOutcome doWork()
doWork
in class AbstractUnaryRecordBatch<FlattenPOP>
public void addComplexWriter(BaseWriter.ComplexWriter writer)
protected boolean setupNewSchema()
setupNewSchema
in class AbstractUnaryRecordBatch<FlattenPOP>
public void close()
close
in interface AutoCloseable
close
in class AbstractRecordBatch<FlattenPOP>
public void dump()
RecordBatch
Copyright © 1970 The Apache Software Foundation. All rights reserved.