Package org.apache.drill.exec.store
Class ParquetOutputRecordWriter.RepeatedFieldConverter
java.lang.Object
org.apache.drill.exec.store.EventBasedRecordWriter.FieldConverter
org.apache.drill.exec.store.ParquetOutputRecordWriter.RepeatedFieldConverter
- Enclosing class:
- ParquetOutputRecordWriter
public class ParquetOutputRecordWriter.RepeatedFieldConverter
extends EventBasedRecordWriter.FieldConverter
-
Field Summary
Fields inherited from class org.apache.drill.exec.store.EventBasedRecordWriter.FieldConverter
fieldId, fieldName, reader
-
Constructor Summary
ConstructorDescriptionRepeatedFieldConverter
(int fieldId, String fieldName, FieldReader reader, ParquetOutputRecordWriter.BaseFieldConverter delegate) -
Method Summary
Modifier and TypeMethodDescriptionvoid
endField()
void
setPosition
(int index) void
void
void
Used by repeated converters for writing Parquet logical lists.
-
Constructor Details
-
RepeatedFieldConverter
public RepeatedFieldConverter(int fieldId, String fieldName, FieldReader reader, ParquetOutputRecordWriter.BaseFieldConverter delegate)
-
-
Method Details
-
writeField
- Specified by:
writeField
in classEventBasedRecordWriter.FieldConverter
- Throws:
IOException
-
writeListField
public void writeListField()Description copied from class:EventBasedRecordWriter.FieldConverter
Used by repeated converters for writing Parquet logical lists.- Overrides:
writeListField
in classEventBasedRecordWriter.FieldConverter
- See Also:
-
setPosition
public void setPosition(int index) - Overrides:
setPosition
in classEventBasedRecordWriter.FieldConverter
-
startField
- Overrides:
startField
in classEventBasedRecordWriter.FieldConverter
- Throws:
IOException
-
endField
- Overrides:
endField
in classEventBasedRecordWriter.FieldConverter
- Throws:
IOException
-