public class ColumnIndexFilter extends Object implements FilterPredicate.Visitor<RowRanges>
ColumnIndexStore.MissingOffsetIndexException will
be thrown from any visit methods if any of the required offset indexes is missing.public static RowRanges calculateRowRanges(FilterCompat.Filter filter, ColumnIndexStore columnIndexStore, Set<ColumnPath> paths, long rowCount)
filter - to be used for filtering the rowscolumnIndexStore - the store for providing column/offset indexespaths - the paths of the columns used in the actual projection; a column not being part of the projection will be
handled as containing null values only even if the column has values written in the filerowCount - the total number of rows in the row-grouppublic <T extends Comparable<T>> RowRanges visit(Operators.Eq<T> eq)
visit in interface FilterPredicate.Visitor<RowRanges>public <T extends Comparable<T>> RowRanges visit(Operators.NotEq<T> notEq)
visit in interface FilterPredicate.Visitor<RowRanges>public <T extends Comparable<T>> RowRanges visit(Operators.Lt<T> lt)
visit in interface FilterPredicate.Visitor<RowRanges>public <T extends Comparable<T>> RowRanges visit(Operators.LtEq<T> ltEq)
visit in interface FilterPredicate.Visitor<RowRanges>public <T extends Comparable<T>> RowRanges visit(Operators.Gt<T> gt)
visit in interface FilterPredicate.Visitor<RowRanges>public <T extends Comparable<T>> RowRanges visit(Operators.GtEq<T> gtEq)
visit in interface FilterPredicate.Visitor<RowRanges>public <T extends Comparable<T>> RowRanges visit(Operators.In<T> in)
visit in interface FilterPredicate.Visitor<RowRanges>public <T extends Comparable<T>> RowRanges visit(Operators.NotIn<T> notIn)
visit in interface FilterPredicate.Visitor<RowRanges>public <T extends Comparable<T>,U extends UserDefinedPredicate<T>> RowRanges visit(Operators.UserDefined<T,U> udp)
visit in interface FilterPredicate.Visitor<RowRanges>public <T extends Comparable<T>,U extends UserDefinedPredicate<T>> RowRanges visit(Operators.LogicalNotUserDefined<T,U> udp)
visit in interface FilterPredicate.Visitor<RowRanges>public RowRanges visit(Operators.And and)
visit in interface FilterPredicate.Visitor<RowRanges>public RowRanges visit(Operators.Or or)
visit in interface FilterPredicate.Visitor<RowRanges>public RowRanges visit(Operators.Not not)
visit in interface FilterPredicate.Visitor<RowRanges>Copyright © 2023 The Apache Software Foundation. All rights reserved.