public abstract static class EventBasedRecordWriter.FieldConverter extends Object
Modifier and Type | Field and Description |
---|---|
protected int |
fieldId |
protected String |
fieldName |
protected FieldReader |
reader |
Constructor and Description |
---|
FieldConverter(int fieldId,
String fieldName,
FieldReader reader) |
Modifier and Type | Method and Description |
---|---|
void |
endField() |
void |
setPosition(int index) |
void |
startField() |
abstract void |
writeField() |
void |
writeListField()
Used by repeated converters for writing Parquet logical lists.
|
protected int fieldId
protected String fieldName
protected FieldReader reader
public FieldConverter(int fieldId, String fieldName, FieldReader reader)
public void setPosition(int index)
public void startField() throws IOException
IOException
public void endField() throws IOException
IOException
public abstract void writeField() throws IOException
IOException
public void writeListField() throws IOException
IOException
- may be thrown by subsequent invocation of {writeField()
}
in overriden methodsCopyright © 1970 The Apache Software Foundation. All rights reserved.