public class SimpleRecordConverter extends GroupConverter
Constructor and Description |
---|
SimpleRecordConverter(GroupType schema) |
SimpleRecordConverter(GroupType schema,
String name,
SimpleRecordConverter parent) |
Modifier and Type | Method and Description |
---|---|
void |
end()
call at the end of the group
|
Converter |
getConverter(int fieldIndex)
called at initialization based on schema
must consistently return the same object
|
void |
start()
called at the beginning of the group managed by this converter
|
asGroupConverter, isPrimitive
asPrimitiveConverter
public SimpleRecordConverter(GroupType schema)
public SimpleRecordConverter(GroupType schema, String name, SimpleRecordConverter parent)
public Converter getConverter(int fieldIndex)
GroupConverter
getConverter
in class GroupConverter
fieldIndex
- index of the field in this grouppublic void start()
GroupConverter
start
in class GroupConverter
public void end()
GroupConverter
end
in class GroupConverter
Copyright © 2015. All rights reserved.