@Internal public final class OperationTreeBuilder extends Object
QueryOperation
s.public static OperationTreeBuilder create(TableConfig tableConfig, ClassLoader userClassLoader, FunctionLookup functionCatalog, DataTypeFactory typeFactory, TableReferenceLookup tableReferenceLookup, SqlExpressionResolver sqlExpressionResolver, boolean isStreamingMode)
public QueryOperation project(List<Expression> projectList, QueryOperation child)
public QueryOperation project(List<Expression> projectList, QueryOperation child, boolean explicitAlias)
public QueryOperation project(List<Expression> projectList, QueryOperation child, List<OverWindow> overWindows)
public QueryOperation addColumns(boolean replaceIfExist, List<Expression> fieldLists, QueryOperation child)
public QueryOperation renameColumns(List<Expression> aliases, QueryOperation child)
public QueryOperation dropColumns(List<Expression> fieldLists, QueryOperation child)
public QueryOperation aggregate(List<Expression> groupingExpressions, List<Expression> aggregates, QueryOperation child)
public QueryOperation windowAggregate(List<Expression> groupingExpressions, GroupWindow window, List<Expression> windowProperties, List<Expression> aggregates, QueryOperation child)
public QueryOperation windowAggregate(List<Expression> groupingExpressions, GroupWindow window, List<Expression> windowProperties, Expression aggregateFunction, QueryOperation child)
public QueryOperation join(QueryOperation left, QueryOperation right, JoinQueryOperation.JoinType joinType, Optional<Expression> condition, boolean correlated)
public QueryOperation joinLateral(QueryOperation left, Expression tableFunction, JoinQueryOperation.JoinType joinType, Optional<Expression> condition)
public Expression resolveExpression(Expression expression, QueryOperation... tableOperation)
public ExpressionResolver.ExpressionResolverBuilder getResolverBuilder(QueryOperation... tableOperation)
public QueryOperation sort(List<Expression> fields, QueryOperation child)
public QueryOperation limitWithOffset(int offset, QueryOperation child)
public QueryOperation limitWithFetch(int fetch, QueryOperation child)
public QueryOperation alias(List<Expression> fields, QueryOperation child)
public QueryOperation filter(Expression condition, QueryOperation child)
public QueryOperation distinct(QueryOperation child)
public QueryOperation minus(QueryOperation left, QueryOperation right, boolean all)
public QueryOperation intersect(QueryOperation left, QueryOperation right, boolean all)
public QueryOperation union(QueryOperation left, QueryOperation right, boolean all)
public QueryOperation map(Expression mapFunction, QueryOperation child)
public QueryOperation flatMap(Expression tableFunctionCall, QueryOperation child)
public QueryOperation aggregate(List<Expression> groupingExpressions, Expression aggregate, QueryOperation child)
public QueryOperation values(DataType rowType, Expression... expressions)
public QueryOperation values(Expression... expressions)
public QueryOperation tableAggregate(List<Expression> groupingExpressions, Expression tableAggFunction, QueryOperation child)
public QueryOperation windowTableAggregate(List<Expression> groupingExpressions, GroupWindow window, List<Expression> windowProperties, Expression tableAggFunction, QueryOperation child)
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.