Uses of Class
io.trino.sql.tree.Node
-
Packages that use Node Package Description io.trino.sql io.trino.sql.testing io.trino.sql.tree io.trino.sql.util -
-
Uses of Node in io.trino.sql
Methods in io.trino.sql with parameters of type Node Modifier and Type Method Description static StringSqlFormatter. formatSql(Node root)voidTreePrinter. print(Node root)protected StringExpressionFormatter.Formatter. visitNode(Node node, Void context) -
Uses of Node in io.trino.sql.testing
Methods in io.trino.sql.testing with parameters of type Node Modifier and Type Method Description static voidTreeAssertions. assertFormattedSql(SqlParser sqlParser, ParsingOptions parsingOptions, Node expected)static voidTreeAssertions. assertFormattedSql(SqlParser sqlParser, Node expected) -
Uses of Node in io.trino.sql.tree
Classes in io.trino.sql.tree with type parameters of type Node Modifier and Type Class Description classNodeRef<T extends Node>Methods in io.trino.sql.tree with type parameters of type Node Modifier and Type Method Description static <T extends Node>
NodeRef<T>NodeRef. of(T node)Methods in io.trino.sql.tree that return types with arguments of type Node Modifier and Type Method Description List<Node>AddColumn. getChildren()List<Node>AliasedRelation. getChildren()List<Node>AllColumns. getChildren()List<? extends Node>AllRows. getChildren()List<? extends Node>Analyze. getChildren()List<Node>ArithmeticBinaryExpression. getChildren()List<Node>ArithmeticUnaryExpression. getChildren()List<? extends Node>ArrayConstructor. getChildren()List<Node>AtTimeZone. getChildren()List<Node>BetweenPredicate. getChildren()List<Node>BindExpression. getChildren()List<? extends Node>Call. getChildren()List<Node>CallArgument. getChildren()List<Node>Cast. getChildren()List<? extends Node>CoalesceExpression. getChildren()List<Node>ColumnDefinition. getChildren()List<Node>Comment. getChildren()List<Node>Commit. getChildren()List<Node>ComparisonExpression. getChildren()List<Node>CreateMaterializedView. getChildren()List<? extends Node>CreateRole. getChildren()List<Node>CreateTable. getChildren()List<Node>CreateTableAsSelect. getChildren()List<Node>CreateView. getChildren()List<Node>Cube. getChildren()List<Node>CurrentPath. getChildren()List<Node>CurrentTime. getChildren()List<Node>CurrentUser. getChildren()List<? extends Node>DateTimeDataType. getChildren()List<Node>Deallocate. getChildren()List<Node>Delete. getChildren()List<Node>DereferenceExpression. getChildren()List<Node>DescribeInput. getChildren()List<Node>DescribeOutput. getChildren()List<Node>DropColumn. getChildren()List<Node>DropMaterializedView. getChildren()List<? extends Node>DropRole. getChildren()List<Node>DropSchema. getChildren()List<Node>DropTable. getChildren()List<Node>DropView. getChildren()List<Node>Except. getChildren()List<? extends Node>Execute. getChildren()List<Node>ExistsPredicate. getChildren()List<Node>Explain. getChildren()List<Node>ExplainFormat. getChildren()List<Node>ExplainType. getChildren()List<Node>Extract. getChildren()List<? extends Node>FetchFirst. getChildren()List<Node>FieldReference. getChildren()List<? extends Node>Format. getChildren()List<Node>FrameBound. getChildren()List<Node>FunctionCall. getChildren()List<? extends Node>GenericDataType. getChildren()List<Node>Grant. getChildren()List<? extends Node>GrantRoles. getChildren()List<? extends Node>GroupBy. getChildren()List<? extends Node>GroupingOperation. getChildren()List<Node>GroupingSets. getChildren()List<Node>Identifier. getChildren()List<Node>IfExpression. getChildren()List<? extends Node>InListExpression. getChildren()List<Node>InPredicate. getChildren()List<Node>Insert. getChildren()List<? extends Node>Intersect. getChildren()List<? extends Node>IntervalDayTimeDataType. getChildren()List<Node>IsNotNullPredicate. getChildren()List<Node>IsNullPredicate. getChildren()List<Node>Isolation. getChildren()List<Node>Join. getChildren()List<Node>LambdaArgumentDeclaration. getChildren()List<Node>LambdaExpression. getChildren()List<? extends Node>Lateral. getChildren()List<Node>LikeClause. getChildren()List<Node>LikePredicate. getChildren()List<? extends Node>Limit. getChildren()List<Node>Literal. getChildren()List<Node>LogicalBinaryExpression. getChildren()abstract List<? extends Node>Node. getChildren()List<Node>NotExpression. getChildren()List<Node>NullIfExpression. getChildren()List<? extends Node>NumericParameter. getChildren()List<? extends Node>Offset. getChildren()List<? extends Node>OrderBy. getChildren()List<Node>Parameter. getChildren()List<Node>PathElement. getChildren()List<? extends Node>PathSpecification. getChildren()List<Node>Prepare. getChildren()List<? extends Node>Property. getChildren()List<Node>QuantifiedComparisonExpression. getChildren()List<Node>Query. getChildren()List<Node>QuerySpecification. getChildren()List<Node>RefreshMaterializedView. getChildren()List<Node>RenameColumn. getChildren()List<Node>RenameSchema. getChildren()List<Node>RenameTable. getChildren()List<Node>RenameView. getChildren()List<Node>ResetSession. getChildren()List<Node>Revoke. getChildren()List<? extends Node>RevokeRoles. getChildren()List<Node>Rollback. getChildren()List<Node>Rollup. getChildren()List<? extends Node>Row. getChildren()List<? extends Node>RowDataType.Field. getChildren()List<? extends Node>RowDataType. getChildren()List<Node>SampledRelation. getChildren()List<Node>SearchedCaseExpression. getChildren()List<? extends Node>Select. getChildren()List<Node>SetAuthorizationStatement. getChildren()List<? extends Node>SetPath. getChildren()List<? extends Node>SetRole. getChildren()List<Node>SetSession. getChildren()List<Node>ShowCatalogs. getChildren()List<Node>ShowColumns. getChildren()List<Node>ShowCreate. getChildren()List<Node>ShowFunctions. getChildren()List<Node>ShowGrants. getChildren()List<Node>ShowRoleGrants. getChildren()List<Node>ShowRoles. getChildren()List<Node>ShowSchemas. getChildren()List<Node>ShowSession. getChildren()List<? extends Node>ShowStats. getChildren()List<Node>ShowTables. getChildren()List<Node>SimpleCaseExpression. getChildren()List<? extends Node>SimpleGroupBy. getChildren()List<Node>SingleColumn. getChildren()List<Node>SortItem. getChildren()List<? extends Node>StartTransaction. getChildren()List<Node>SubqueryExpression. getChildren()List<Node>SubscriptExpression. getChildren()List<Node>SymbolReference. getChildren()List<Node>Table. getChildren()List<Node>TableSubquery. getChildren()List<Node>TransactionAccessMode. getChildren()List<Node>TryExpression. getChildren()List<? extends Node>TypeParameter. getChildren()List<? extends Node>Union. getChildren()List<? extends Node>Unnest. getChildren()List<? extends Node>Update. getChildren()List<? extends Node>UpdateAssignment. getChildren()List<Node>Use. getChildren()List<? extends Node>Values. getChildren()List<Node>WhenClause. getChildren()List<Node>WindowDefinition. getChildren()List<Node>WindowFrame. getChildren()List<Node>WindowReference. getChildren()List<Node>WindowSpecification. getChildren()List<? extends Node>With. getChildren()List<Node>WithQuery. getChildren()Optional<Node>Query. getLimit()Optional<Node>QuerySpecification. getLimit()abstract List<Node>JoinCriteria. getNodes()List<Node>JoinOn. getNodes()List<Node>JoinUsing. getNodes()List<Node>NaturalJoin. getNodes()Optional<Node>StackableAstVisitor.StackableAstVisitorContext. getPreviousNode()Methods in io.trino.sql.tree with parameters of type Node Modifier and Type Method Description RAstVisitor. process(Node node)RAstVisitor. process(Node node, C context)RStackableAstVisitor. process(Node node, StackableAstVisitor.StackableAstVisitorContext<C> context)booleanAliasedRelation. shallowEquals(Node other)booleanAllColumns. shallowEquals(Node other)booleanAllRows. shallowEquals(Node other)booleanArithmeticBinaryExpression. shallowEquals(Node other)booleanArithmeticUnaryExpression. shallowEquals(Node other)booleanArrayConstructor. shallowEquals(Node other)booleanAtTimeZone. shallowEquals(Node other)booleanBetweenPredicate. shallowEquals(Node other)booleanBinaryLiteral. shallowEquals(Node other)booleanBindExpression. shallowEquals(Node other)booleanBooleanLiteral. shallowEquals(Node other)booleanCast. shallowEquals(Node other)booleanCharLiteral. shallowEquals(Node other)booleanCoalesceExpression. shallowEquals(Node other)booleanComparisonExpression. shallowEquals(Node other)booleanCurrentPath. shallowEquals(Node other)booleanCurrentTime. shallowEquals(Node other)booleanCurrentUser. shallowEquals(Node other)booleanDateTimeDataType. shallowEquals(Node other)booleanDecimalLiteral. shallowEquals(Node other)booleanDereferenceExpression. shallowEquals(Node other)booleanDoubleLiteral. shallowEquals(Node other)booleanExistsPredicate. shallowEquals(Node other)booleanExtract. shallowEquals(Node other)booleanFetchFirst. shallowEquals(Node other)booleanFieldReference. shallowEquals(Node other)booleanFormat. shallowEquals(Node other)booleanFrameBound. shallowEquals(Node other)booleanFunctionCall. shallowEquals(Node other)booleanGenericDataType. shallowEquals(Node other)booleanGenericLiteral. shallowEquals(Node other)booleanGroupBy. shallowEquals(Node other)booleanGroupingOperation. shallowEquals(Node other)booleanGroupingSets. shallowEquals(Node other)booleanIdentifier. shallowEquals(Node other)booleanIfExpression. shallowEquals(Node other)booleanInListExpression. shallowEquals(Node other)booleanInPredicate. shallowEquals(Node other)booleanIntervalDayTimeDataType. shallowEquals(Node other)booleanIntervalLiteral. shallowEquals(Node other)booleanIsNotNullPredicate. shallowEquals(Node other)booleanIsNullPredicate. shallowEquals(Node other)booleanJoin. shallowEquals(Node other)booleanLambdaArgumentDeclaration. shallowEquals(Node other)booleanLambdaExpression. shallowEquals(Node other)booleanLateral. shallowEquals(Node other)booleanLikePredicate. shallowEquals(Node other)booleanLimit. shallowEquals(Node other)booleanLogicalBinaryExpression. shallowEquals(Node other)booleanLongLiteral. shallowEquals(Node other)booleanNode. shallowEquals(Node other)Compare with another node by considering internal state excluding any Node returned by getChildren()booleanNotExpression. shallowEquals(Node other)booleanNullIfExpression. shallowEquals(Node other)booleanNullLiteral. shallowEquals(Node other)booleanNumericParameter. shallowEquals(Node other)booleanOffset. shallowEquals(Node other)booleanOrderBy. shallowEquals(Node other)booleanParameter. shallowEquals(Node other)booleanQuantifiedComparisonExpression. shallowEquals(Node other)booleanQuery. shallowEquals(Node other)booleanQuerySpecification. shallowEquals(Node other)booleanRow. shallowEquals(Node other)booleanRowDataType.Field. shallowEquals(Node other)booleanRowDataType. shallowEquals(Node other)booleanSearchedCaseExpression. shallowEquals(Node other)booleanSelect. shallowEquals(Node other)booleanSimpleCaseExpression. shallowEquals(Node other)booleanSimpleGroupBy. shallowEquals(Node other)booleanSingleColumn. shallowEquals(Node other)booleanSortItem. shallowEquals(Node other)booleanStringLiteral. shallowEquals(Node other)booleanSubqueryExpression. shallowEquals(Node other)booleanSubscriptExpression. shallowEquals(Node other)booleanTable. shallowEquals(Node other)booleanTableSubquery. shallowEquals(Node other)booleanTimeLiteral. shallowEquals(Node other)booleanTimestampLiteral. shallowEquals(Node other)booleanTryExpression. shallowEquals(Node other)booleanTypeParameter. shallowEquals(Node other)booleanUnion. shallowEquals(Node other)booleanUnnest. shallowEquals(Node other)booleanValues. shallowEquals(Node other)booleanWhenClause. shallowEquals(Node other)booleanWindowDefinition. shallowEquals(Node other)booleanWindowFrame. shallowEquals(Node other)booleanWindowReference. shallowEquals(Node other)booleanWindowSpecification. shallowEquals(Node other)booleanWith. shallowEquals(Node other)booleanWithQuery. shallowEquals(Node other)protected RAstVisitor. visitNode(Node node, C context) -
Uses of Node in io.trino.sql.util
Methods in io.trino.sql.util that return types with arguments of type Node Modifier and Type Method Description static Stream<Node>AstUtils. preOrder(Node node)Methods in io.trino.sql.util with parameters of type Node Modifier and Type Method Description static Stream<Node>AstUtils. preOrder(Node node)static booleanAstUtils. treeEqual(Node left, Node right, BiFunction<Node,Node,Boolean> subtreeComparator)Compares two AST trees recursively by applying the provided comparator to each pair of nodes.static intAstUtils. treeHash(Node node, Function<Node,OptionalInt> subtreeHasher)Computes a hash of the given AST by applying the provided subtree hasher at each level.Method parameters in io.trino.sql.util with type arguments of type Node Modifier and Type Method Description static booleanAstUtils. treeEqual(Node left, Node right, BiFunction<Node,Node,Boolean> subtreeComparator)Compares two AST trees recursively by applying the provided comparator to each pair of nodes.static booleanAstUtils. treeEqual(Node left, Node right, BiFunction<Node,Node,Boolean> subtreeComparator)Compares two AST trees recursively by applying the provided comparator to each pair of nodes.static intAstUtils. treeHash(Node node, Function<Node,OptionalInt> subtreeHasher)Computes a hash of the given AST by applying the provided subtree hasher at each level.
-