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
converter for group nodes
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract voidend()call at the end of the groupabstract ConvertergetConverter(int fieldIndex) called at initialization based on schema must consistently return the same objectbooleanabstract voidstart()called at the beginning of the group managed by this converterMethods inherited from class org.apache.parquet.io.api.Converter
asPrimitiveConverter
-
Constructor Details
-
GroupConverter
public GroupConverter()
-
-
Method Details
-
isPrimitive
public boolean isPrimitive()- Specified by:
isPrimitivein classConverter
-
asGroupConverter
- Overrides:
asGroupConverterin classConverter
-
getConverter
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
-