public class TraceRecordBatch extends AbstractSingleRecordBatch<Trace>
AbstractRecordBatch.BatchStateRecordBatch.IterOutcomecallBack, incoming, outOfMemorycontainer, context, oContext, popConfig, state, stats, unionTypeEnabledMAX_BATCH_SIZE| Constructor and Description |
|---|
TraceRecordBatch(Trace pop,
RecordBatch incoming,
FragmentContext context) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
protected RecordBatch.IterOutcome |
doWork()
Function is invoked for every record batch and it simply dumps the buffers associated with all the value vectors in
this record batch to a log file.
|
int |
getRecordCount()
Gets the number of records that are within this record.
|
SelectionVector2 |
getSelectionVector2() |
protected boolean |
setupNewSchema() |
getSchema, handleNullInput, innerNext, killIncomingbuildSchema, getContext, getOutgoingContainer, getPopConfig, getSelectionVector4, getValueAccessorById, getValueVectorId, getWritableBatch, iterator, kill, next, next, nextpublic TraceRecordBatch(Trace pop, RecordBatch incoming, FragmentContext context) throws ExecutionSetupException
ExecutionSetupExceptionpublic int getRecordCount()
RecordBatchprotected RecordBatch.IterOutcome doWork()
doWork in class AbstractSingleRecordBatch<Trace>protected boolean setupNewSchema()
throws SchemaChangeException
setupNewSchema in class AbstractSingleRecordBatch<Trace>SchemaChangeExceptionpublic SelectionVector2 getSelectionVector2()
getSelectionVector2 in interface VectorAccessiblegetSelectionVector2 in class AbstractRecordBatch<Trace>public void close()
close in interface AutoCloseableclose in class AbstractRecordBatch<Trace>Copyright © 2017 The Apache Software Foundation. All rights reserved.