Package org.apache.drill.exec.store
Class StatisticsRecordWriterImpl
java.lang.Object
org.apache.drill.exec.store.StatisticsRecordWriterImpl
Reads records from the RecordValueAccessor and writes into StatisticsRecordCollector.
-
Constructor Summary
ConstructorDescriptionStatisticsRecordWriterImpl
(VectorAccessible batch, StatisticsRecordWriter recordWriter) -
Method Summary
Modifier and TypeMethodDescriptionvoid
getConverter
(StatisticsRecordCollector recordWriter, int fieldId, String fieldName, FieldReader reader) int
writeStatistics
(int recordCount)
-
Constructor Details
-
StatisticsRecordWriterImpl
public StatisticsRecordWriterImpl(VectorAccessible batch, StatisticsRecordWriter recordWriter) throws IOException - Throws:
IOException
-
-
Method Details
-
writeStatistics
- Throws:
IOException
-
flushBlockingWriter
- Throws:
IOException
-
getConverter
public static EventBasedRecordWriter.FieldConverter getConverter(StatisticsRecordCollector recordWriter, int fieldId, String fieldName, FieldReader reader)
-