Class FilteringGroupConverter
- java.lang.Object
-
- org.apache.parquet.io.api.Converter
-
- org.apache.parquet.io.api.GroupConverter
-
- org.apache.parquet.filter2.recordlevel.FilteringGroupConverter
-
public class FilteringGroupConverter extends GroupConverter
-
-
Constructor Summary
Constructors Constructor Description FilteringGroupConverter(GroupConverter delegate, List<Integer> indexFieldPath, Map<org.apache.parquet.hadoop.metadata.ColumnPath,List<IncrementallyUpdatedFilterPredicate.ValueInspector>> valueInspectorsByColumn, Map<List<Integer>,PrimitiveColumnIO> columnIOsByIndexFieldPath)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidend()call at the end of the groupConvertergetConverter(int fieldIndex)called at initialization based on schema must consistently return the same objectvoidstart()called at the beginning of the group managed by this converter-
Methods inherited from class org.apache.parquet.io.api.GroupConverter
asGroupConverter, isPrimitive
-
Methods inherited from class org.apache.parquet.io.api.Converter
asPrimitiveConverter
-
-
-
-
Constructor Detail
-
FilteringGroupConverter
public FilteringGroupConverter(GroupConverter delegate, List<Integer> indexFieldPath, Map<org.apache.parquet.hadoop.metadata.ColumnPath,List<IncrementallyUpdatedFilterPredicate.ValueInspector>> valueInspectorsByColumn, Map<List<Integer>,PrimitiveColumnIO> columnIOsByIndexFieldPath)
-
-
Method Detail
-
getConverter
public Converter getConverter(int fieldIndex)
Description copied from class:GroupConvertercalled at initialization based on schema must consistently return the same object- Specified by:
getConverterin classGroupConverter- Parameters:
fieldIndex- index of the field in this group- Returns:
- the corresponding converter
-
start
public void start()
Description copied from class:GroupConvertercalled at the beginning of the group managed by this converter- Specified by:
startin classGroupConverter
-
end
public void end()
Description copied from class:GroupConvertercall at the end of the group- Specified by:
endin classGroupConverter
-
-