Package org.apache.parquet.io.api
Class GroupConverter
- java.lang.Object
-
- org.apache.parquet.io.api.Converter
-
- org.apache.parquet.io.api.GroupConverter
-
- Direct Known Subclasses:
FilteringGroupConverter
public abstract class GroupConverter extends Converter
converter for group nodes
-
-
Constructor Summary
Constructors Constructor Description GroupConverter()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description GroupConverter
asGroupConverter()
abstract void
end()
call at the end of the groupabstract Converter
getConverter(int fieldIndex)
called at initialization based on schema must consistently return the same objectboolean
isPrimitive()
abstract void
start()
called at the beginning of the group managed by this converter-
Methods inherited from class org.apache.parquet.io.api.Converter
asPrimitiveConverter
-
-
-
-
Method Detail
-
isPrimitive
public boolean isPrimitive()
- Specified by:
isPrimitive
in classConverter
-
asGroupConverter
public GroupConverter asGroupConverter()
- Overrides:
asGroupConverter
in classConverter
-
getConverter
public abstract Converter getConverter(int fieldIndex)
called at initialization based on schema must consistently return the same object- Parameters:
fieldIndex
- index of the field in this group- Returns:
- the corresponding converter
-
start
public abstract void start()
called at the beginning of the group managed by this converter
-
end
public abstract void end()
call at the end of the group
-
-