Class FilteringRecordMaterializer<T>
java.lang.Object
org.apache.parquet.io.api.RecordMaterializer<T>
org.apache.parquet.filter2.recordlevel.FilteringRecordMaterializer<T>
A pass-through proxy for a
RecordMaterializer that updates a IncrementallyUpdatedFilterPredicate
as it receives concrete values for the current record. If, after the record assembly signals that
there are no more values, the predicate indicates that this record should be dropped, getCurrentRecord()
returns null to signal that this record is being skipped.
Otherwise, the record is retrieved from the delegate.-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.parquet.io.api.RecordMaterializer
RecordMaterializer.RecordMaterializationException -
Constructor Summary
ConstructorsConstructorDescriptionFilteringRecordMaterializer(RecordMaterializer<T> delegate, List<PrimitiveColumnIO> columnIOs, Map<org.apache.parquet.hadoop.metadata.ColumnPath, List<IncrementallyUpdatedFilterPredicate.ValueInspector>> valueInspectorsByColumn, IncrementallyUpdatedFilterPredicate filterPredicate) -
Method Summary
Modifier and TypeMethodDescriptionDeprecated.intArrayToList(int[] arr) Deprecated.voidCalled ifRecordMaterializer.getCurrentRecord()isn't going to be called.
-
Constructor Details
-
FilteringRecordMaterializer
public FilteringRecordMaterializer(RecordMaterializer<T> delegate, List<PrimitiveColumnIO> columnIOs, Map<org.apache.parquet.hadoop.metadata.ColumnPath, List<IncrementallyUpdatedFilterPredicate.ValueInspector>> valueInspectorsByColumn, IncrementallyUpdatedFilterPredicate filterPredicate)
-
-
Method Details
-
getCurrentRecord
- Specified by:
getCurrentRecordin classRecordMaterializer<T>- Returns:
- the result of the conversion
-
skipCurrentRecord
public void skipCurrentRecord()Description copied from class:RecordMaterializerCalled ifRecordMaterializer.getCurrentRecord()isn't going to be called.- Overrides:
skipCurrentRecordin classRecordMaterializer<T>
-
getRootConverter
- Specified by:
getRootConverterin classRecordMaterializer<T>- Returns:
- the root converter for this tree
-
getIndexFieldPathList
Deprecated. -
intArrayToList
Deprecated.
-