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 |
|---|
EventBasedRecordWriter.FieldConverter(int fieldId,
String fieldName,
FieldReader reader) |
protected int fieldId
protected String fieldName
protected FieldReader reader
public EventBasedRecordWriter.FieldConverter(int fieldId,
String fieldName,
FieldReader reader)
public void setPosition(int index)
public void startField()
throws IOException
IOExceptionpublic void endField()
throws IOException
IOExceptionpublic abstract void writeField()
throws IOException
IOExceptionCopyright © 2017 The Apache Software Foundation. All rights reserved.