public abstract class GroupConverter extends Converter
| Constructor and Description |
|---|
GroupConverter() |
| Modifier and Type | Method and Description |
|---|---|
GroupConverter |
asGroupConverter() |
abstract void |
end()
call at the end of the group
|
abstract Converter |
getConverter(int fieldIndex)
called at initialization based on schema
must consistently return the same object
|
boolean |
isPrimitive() |
abstract void |
start()
called at the beginning of the group managed by this converter
|
asPrimitiveConverterpublic boolean isPrimitive()
isPrimitive in class Converterpublic GroupConverter asGroupConverter()
asGroupConverter in class Converterpublic abstract Converter getConverter(int fieldIndex)
fieldIndex - index of the field in this grouppublic abstract void start()
public abstract void end()
Copyright © 2019 The Apache Software Foundation. All rights reserved.