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 GroupConverterasGroupConverter()abstract voidend()call at the end of the groupabstract ConvertergetConverter(int fieldIndex)called at initialization based on schema must consistently return the same objectbooleanisPrimitive()abstract voidstart()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:
isPrimitivein classConverter
-
asGroupConverter
public GroupConverter asGroupConverter()
- Overrides:
asGroupConverterin 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
-
-