Uses of Class
org.apache.pinot.common.request.Expression
-
-
Uses of Expression in org.apache.pinot.common.request
Methods in org.apache.pinot.common.request that return Expression Modifier and Type Method Description ExpressionExpression. deepCopy()ExpressionPinotQuery. getFilterExpression()ExpressionPinotQuery. getHavingExpression()Methods in org.apache.pinot.common.request that return types with arguments of type Expression Modifier and Type Method Description List<Expression>PinotQuery. getGroupByList()Iterator<Expression>PinotQuery. getGroupByListIterator()List<Expression>Function. getOperands()Iterator<Expression>Function. getOperandsIterator()List<Expression>PinotQuery. getOrderByList()Iterator<Expression>PinotQuery. getOrderByListIterator()List<Expression>PinotQuery. getSelectList()Iterator<Expression>PinotQuery. getSelectListIterator()Methods in org.apache.pinot.common.request with parameters of type Expression Modifier and Type Method Description voidPinotQuery. addToGroupByList(Expression elem)voidFunction. addToOperands(Expression elem)voidPinotQuery. addToOrderByList(Expression elem)voidPinotQuery. addToSelectList(Expression elem)intExpression. compareTo(Expression other)booleanExpression. equals(Expression that)voidPinotQuery. setFilterExpression(Expression filterExpression)voidPinotQuery. setHavingExpression(Expression havingExpression)Method parameters in org.apache.pinot.common.request with type arguments of type Expression Modifier and Type Method Description voidPinotQuery. setGroupByList(List<Expression> groupByList)voidFunction. setOperands(List<Expression> operands)voidPinotQuery. setOrderByList(List<Expression> orderByList)voidPinotQuery. setSelectList(List<Expression> selectList)Constructors in org.apache.pinot.common.request with parameters of type Expression Constructor Description Expression(Expression other)Performs a deep copy on other. -
Uses of Expression in org.apache.pinot.common.request.context
Methods in org.apache.pinot.common.request.context with parameters of type Expression Modifier and Type Method Description static ExpressionContextRequestContextUtils. getExpression(Expression thriftExpression)Converts the given ThriftExpressioninto anExpressionContext.static FilterContextRequestContextUtils. getFilter(Expression thriftExpression)Converts the given ThriftExpressioninto aFilterContext. -
Uses of Expression in org.apache.pinot.common.utils.request
Methods in org.apache.pinot.common.utils.request that return Expression Modifier and Type Method Description static ExpressionRequestUtils. createIdentifierExpression(String identifier)Creates Expression from identifierstatic ExpressionRequestUtils. createLiteralExpression(LiteralAstNode value)Creates Literal Expression from LiteralAstNode.static ExpressionRequestUtils. createNewLiteralExpression()static ExpressionRequestUtils. getExpression(AstNode astNode)Returns the expression from a givenAstNode, which can be one of the following:FunctionCallAstNodeLiteralAstNodePredicateAstNodestatic ExpressionRequestUtils. getFunctionExpression(String operator)static ExpressionRequestUtils. getIdentifierExpression(String identifier)static ExpressionRequestUtils. getLiteralExpression(boolean value)static ExpressionRequestUtils. getLiteralExpression(byte[] value)static ExpressionRequestUtils. getLiteralExpression(double value)static ExpressionRequestUtils. getLiteralExpression(long value)static ExpressionRequestUtils. getLiteralExpression(Object object)static ExpressionRequestUtils. getLiteralExpression(String value)static ExpressionRequestUtils. getLiteralExpression(org.apache.calcite.sql.SqlLiteral node)Methods in org.apache.pinot.common.utils.request with parameters of type Expression Modifier and Type Method Description static StringRequestUtils. prettyPrint(Expression expression) -
Uses of Expression in org.apache.pinot.parsers.utils
Methods in org.apache.pinot.parsers.utils with parameters of type Expression Modifier and Type Method Description static StringParserUtils. getFilterColumn(Expression expression)Returns the filter column from a given expression.static FilterKindParserUtils. getFilterKind(Expression expression)Utility method that returns theFilterKindfor a given expression.static FilterOperatorParserUtils. getFilterType(Expression expression)Utility method that returns theFilterOperatorfor a given expression.static List<String>ParserUtils. getFilterValues(Expression filterExpression)Utility method that returns the RHS of a filter expression as a list of String's.static StringParserUtils. standardizeExpression(Expression expression, boolean treatLiteralAsIdentifier)Standardizes a given expression, by quoting String literals.static StringParserUtils. standardizeExpression(Expression expression, boolean treatLiteralAsIdentifier, boolean forceSingleQuoteOnNonStringLiteral)Method parameters in org.apache.pinot.parsers.utils with type arguments of type Expression Modifier and Type Method Description static List<String>ParserUtils. getFilterValues(FilterKind filterKind, List<Expression> operands)Given a expression filter, returns the values (RHS) on which the filter predicate applies. -
Uses of Expression in org.apache.pinot.pql.parsers.pql2.ast
Methods in org.apache.pinot.pql.parsers.pql2.ast that return Expression Modifier and Type Method Description ExpressionBetweenPredicateAstNode. buildFilterExpression()ExpressionComparisonPredicateAstNode. buildFilterExpression()ExpressionInPredicateAstNode. buildFilterExpression()ExpressionIsNullPredicateAstNode. buildFilterExpression()abstract ExpressionPredicateAstNode. buildFilterExpression()Create the query expression tree for the where clauseExpressionPredicateListAstNode. buildFilterExpression()ExpressionPredicateListAstNode. buildFilterExpression(FilterKind operator, List<Expression> children)ExpressionPredicateParenthesisGroupAstNode. buildFilterExpression()ExpressionRegexpLikePredicateAstNode. buildFilterExpression()ExpressionTextMatchPredicateAstNode. buildFilterExpression()Method parameters in org.apache.pinot.pql.parsers.pql2.ast with type arguments of type Expression Modifier and Type Method Description ExpressionPredicateListAstNode. buildFilterExpression(FilterKind operator, List<Expression> children) -
Uses of Expression in org.apache.pinot.sql.parsers
Methods in org.apache.pinot.sql.parsers that return Expression Modifier and Type Method Description static ExpressionCalciteSqlParser. compileToExpression(String expression)Compiles a String expression intoExpression.Methods in org.apache.pinot.sql.parsers with parameters of type Expression Modifier and Type Method Description static booleanCalciteSqlParser. isAggregateExpression(Expression expression)static booleanCalciteSqlParser. isAsFunction(Expression expression)static booleanCalciteSqlParser. isLiteralOnlyExpression(Expression e)Method parameters in org.apache.pinot.sql.parsers with type arguments of type Expression Modifier and Type Method Description static Set<String>CalciteSqlParser. extractIdentifiers(List<Expression> expressions, boolean excludeAs)Extract all the identifiers from given expressions. -
Uses of Expression in org.apache.pinot.sql.parsers.rewriter
Methods in org.apache.pinot.sql.parsers.rewriter that return Expression Modifier and Type Method Description protected static ExpressionCompileTimeFunctionsInvoker. invokeCompileTimeFunctionExpression(Expression expression)Methods in org.apache.pinot.sql.parsers.rewriter with parameters of type Expression Modifier and Type Method Description protected static ExpressionCompileTimeFunctionsInvoker. invokeCompileTimeFunctionExpression(Expression expression)
-