public class StatisticsWriterRecordBatch extends AbstractRecordBatch<Writer>
AbstractRecordBatch.BatchStateRecordBatch.IterOutcomebatchStatsContext, container, context, oContext, popConfig, state, stats, unionTypeEnabledMAX_BATCH_ROW_COUNT| Constructor and Description |
|---|
StatisticsWriterRecordBatch(Writer writer,
RecordBatch incoming,
FragmentContext context,
StatisticsRecordWriter recordWriter) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
cancelIncoming() |
void |
close() |
void |
dump()
Perform dump of this batch's state to logs.
|
int |
getRecordCount()
Get the number of records.
|
BatchSchema |
getSchema()
Gets the current schema of this record batch.
|
RecordBatch.IterOutcome |
innerNext() |
protected void |
setupNewSchema() |
buildSchema, cancel, checkContinue, getContainer, getContext, getOutgoingContainer, getPopConfig, getRecordBatchStatsContext, getSelectionVector2, getSelectionVector4, getValueAccessorById, getValueVectorId, getWritableBatch, isRecordBatchStatsLoggingEnabled, iterator, next, next, next, schemaChangeException, schemaChangeExceptionclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEach, spliteratorpublic StatisticsWriterRecordBatch(Writer writer, RecordBatch incoming, FragmentContext context, StatisticsRecordWriter recordWriter) throws OutOfMemoryException
OutOfMemoryExceptionpublic int getRecordCount()
VectorAccessibleprotected void cancelIncoming()
cancelIncoming in class AbstractRecordBatch<Writer>public BatchSchema getSchema()
RecordBatch
May be called only when the most recent call to RecordBatch.next(), if any,
returned RecordBatch.IterOutcome.OK_NEW_SCHEMA or RecordBatch.IterOutcome.OK.
The schema changes when and only when RecordBatch.next() returns
RecordBatch.IterOutcome.OK_NEW_SCHEMA.
getSchema in interface RecordBatchgetSchema in interface VectorAccessiblegetSchema in class AbstractRecordBatch<Writer>public void dump()
RecordBatchpublic RecordBatch.IterOutcome innerNext()
innerNext in class AbstractRecordBatch<Writer>protected void setupNewSchema()
public void close()
close in interface AutoCloseableclose in class AbstractRecordBatch<Writer>Copyright © 2021 The Apache Software Foundation. All rights reserved.