Class FilterContext
- java.lang.Object
-
- org.apache.pinot.common.request.context.FilterContext
-
public class FilterContext extends Object
TheFilterContextclass encapsulates the information of a filter in the query. Both WHERE clause and HAVING clause are modeled as a filter.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classFilterContext.Type
-
Constructor Summary
Constructors Constructor Description FilterContext(FilterContext.Type type, List<FilterContext> children, Predicate predicate)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)List<FilterContext>getChildren()voidgetColumns(Set<String> columns)Adds the columns (IDENTIFIER expressions) in the filter to the given set.PredicategetPredicate()FilterContext.TypegetType()inthashCode()StringtoString()
-
-
-
Constructor Detail
-
FilterContext
public FilterContext(FilterContext.Type type, List<FilterContext> children, Predicate predicate)
-
-
Method Detail
-
getType
public FilterContext.Type getType()
-
getChildren
public List<FilterContext> getChildren()
-
getPredicate
public Predicate getPredicate()
-
getColumns
public void getColumns(Set<String> columns)
Adds the columns (IDENTIFIER expressions) in the filter to the given set.
-
-