Uses of Class
io.trino.sql.tree.Node
Packages that use Node
-
Uses of Node in io.trino.sql
Methods in io.trino.sql with parameters of type Node -
Uses of Node in io.trino.sql.testing
Methods in io.trino.sql.testing with parameters of type NodeModifier and TypeMethodDescriptionstatic 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 NodeSubclasses of Node in io.trino.sql.treeModifier and TypeClassDescriptionclassclassclassclassclassclassclassclassclassclassclassclassclass"$INTERNAL$BIND"(value, targetFunction)classfinal classfinal classfinal classclassclassfinal classfinal classfinal classclassclassclassclassclassclassclassfinal classclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassfinal classclassclassclassclassclassclassclassfinal classfinal classclassclassclassclassclassclassclassclassclassclassclassfinal classclassclassclassclassclassfinal classclassclassIF(v1,v2[,v3]): CASE WHEN v1 THEN v2 [ELSE v3] ENDclassclassfinal classclassclassclassclassclassfinal classclassclassA temporary IR representation of a label-prefixed column reference in the context of row pattern recognition.classclassfinal classfinal classclassclassclassclassclassclassfinal classclassclassclassclassclassclassNULLIF(V1,V2): CASE WHEN V1=V2 THEN NULL ELSE V1 ENDclassclassclassclassclassclassfinal classfinal classclassclassclassclassclassfinal classclassclassfinal classclassclassclassclassclassclassclassclassfinal classclassclassfinal classfinal classfinal classfinal classclassclassclassfinal classfinal classfinal classclassstatic classclassclassclassclassclassclassclassclassfinal classclassfinal classclassfinal classclassfinal classfinal classclassclassclassclassclassclassclassclassclassclassclassfinal classclassclassclassfinal classclassclassclassclassclassclassclassclassclassclassclassclassfinal classclassclassclassclassclassfinal classclassclassfinal classfinal classclassclassclassclassclassRepresents a call over a window:classclassclassclassclassclassMethods in io.trino.sql.tree with type parameters of type NodeMethods in io.trino.sql.tree that return types with arguments of type NodeModifier and TypeMethodDescriptionAddColumn.getChildren()AliasedRelation.getChildren()AllColumns.getChildren()AllRows.getChildren()Analyze.getChildren()AnchorPattern.getChildren()ArithmeticBinaryExpression.getChildren()ArithmeticUnaryExpression.getChildren()ArrayConstructor.getChildren()AtTimeZone.getChildren()BetweenPredicate.getChildren()BindExpression.getChildren()Call.getChildren()CallArgument.getChildren()Cast.getChildren()CoalesceExpression.getChildren()ColumnDefinition.getChildren()Comment.getChildren()Commit.getChildren()ComparisonExpression.getChildren()CreateMaterializedView.getChildren()CreateRole.getChildren()CreateTable.getChildren()CreateTableAsSelect.getChildren()CreateView.getChildren()Cube.getChildren()CurrentCatalog.getChildren()CurrentPath.getChildren()CurrentSchema.getChildren()CurrentTime.getChildren()CurrentUser.getChildren()DateTimeDataType.getChildren()Deallocate.getChildren()Delete.getChildren()Deny.getChildren()DereferenceExpression.getChildren()DescribeInput.getChildren()DescribeOutput.getChildren()DropColumn.getChildren()DropMaterializedView.getChildren()DropRole.getChildren()DropSchema.getChildren()DropTable.getChildren()DropView.getChildren()EmptyPattern.getChildren()Except.getChildren()ExcludedPattern.getChildren()Execute.getChildren()ExistsPredicate.getChildren()Explain.getChildren()ExplainAnalyze.getChildren()ExplainFormat.getChildren()ExplainType.getChildren()Extract.getChildren()FetchFirst.getChildren()FieldReference.getChildren()Format.getChildren()FrameBound.getChildren()FunctionCall.getChildren()GenericDataType.getChildren()Grant.getChildren()GrantRoles.getChildren()GroupBy.getChildren()GroupingOperation.getChildren()GroupingSets.getChildren()Identifier.getChildren()IfExpression.getChildren()InListExpression.getChildren()InPredicate.getChildren()Insert.getChildren()Intersect.getChildren()IntervalDayTimeDataType.getChildren()IsNotNullPredicate.getChildren()IsNullPredicate.getChildren()Isolation.getChildren()Join.getChildren()LabelDereference.getChildren()LambdaArgumentDeclaration.getChildren()LambdaExpression.getChildren()Lateral.getChildren()LikeClause.getChildren()LikePredicate.getChildren()Limit.getChildren()Literal.getChildren()LogicalExpression.getChildren()MeasureDefinition.getChildren()Merge.getChildren()MergeDelete.getChildren()MergeInsert.getChildren()MergeUpdate.getChildren()Node.getChildren()NotExpression.getChildren()NullIfExpression.getChildren()NumericParameter.getChildren()Offset.getChildren()OrderBy.getChildren()Parameter.getChildren()PathElement.getChildren()PathSpecification.getChildren()PatternAlternation.getChildren()PatternConcatenation.getChildren()PatternPermutation.getChildren()PatternQuantifier.getChildren()PatternRecognitionRelation.getChildren()PatternSearchMode.getChildren()PatternVariable.getChildren()Prepare.getChildren()ProcessingMode.getChildren()Property.getChildren()QuantifiedComparisonExpression.getChildren()QuantifiedPattern.getChildren()Query.getChildren()QueryPeriod.getChildren()QuerySpecification.getChildren()RangeQuantifier.getChildren()RefreshMaterializedView.getChildren()RenameColumn.getChildren()RenameMaterializedView.getChildren()RenameSchema.getChildren()RenameTable.getChildren()RenameView.getChildren()ResetSession.getChildren()Revoke.getChildren()RevokeRoles.getChildren()Rollback.getChildren()Rollup.getChildren()Row.getChildren()RowDataType.Field.getChildren()RowDataType.getChildren()SampledRelation.getChildren()SearchedCaseExpression.getChildren()Select.getChildren()SetAuthorizationStatement.getChildren()SetPath.getChildren()SetProperties.getChildren()SetRole.getChildren()SetSession.getChildren()SetTimeZone.getChildren()ShowCatalogs.getChildren()ShowColumns.getChildren()ShowCreate.getChildren()ShowFunctions.getChildren()ShowGrants.getChildren()ShowRoleGrants.getChildren()ShowRoles.getChildren()ShowSchemas.getChildren()ShowSession.getChildren()ShowStats.getChildren()ShowTables.getChildren()SimpleCaseExpression.getChildren()SimpleGroupBy.getChildren()SingleColumn.getChildren()SkipTo.getChildren()SortItem.getChildren()StartTransaction.getChildren()SubqueryExpression.getChildren()SubscriptExpression.getChildren()SubsetDefinition.getChildren()SymbolReference.getChildren()Table.getChildren()TableExecute.getChildren()TableSubquery.getChildren()TransactionAccessMode.getChildren()TruncateTable.getChildren()TryExpression.getChildren()TypeParameter.getChildren()Union.getChildren()Unnest.getChildren()Update.getChildren()UpdateAssignment.getChildren()Use.getChildren()Values.getChildren()VariableDefinition.getChildren()WhenClause.getChildren()WindowDefinition.getChildren()WindowFrame.getChildren()WindowOperation.getChildren()WindowReference.getChildren()WindowSpecification.getChildren()With.getChildren()WithQuery.getChildren()Query.getLimit()QuerySpecification.getLimit()JoinCriteria.getNodes()JoinOn.getNodes()JoinUsing.getNodes()NaturalJoin.getNodes()StackableAstVisitor.StackableAstVisitorContext.getPreviousNode()Methods in io.trino.sql.tree with parameters of type NodeModifier and TypeMethodDescriptionStackableAstVisitor.process(Node node, StackableAstVisitor.StackableAstVisitorContext<C> context) booleanAliasedRelation.shallowEquals(Node other) booleanAllColumns.shallowEquals(Node other) booleanAllRows.shallowEquals(Node other) booleanAnchorPattern.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) booleanCurrentCatalog.shallowEquals(Node other) booleanCurrentPath.shallowEquals(Node other) booleanCurrentSchema.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) booleanEmptyPattern.shallowEquals(Node other) booleanExcept.shallowEquals(Node other) booleanExcludedPattern.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) booleanIntersect.shallowEquals(Node other) booleanIntervalDayTimeDataType.shallowEquals(Node other) booleanIntervalLiteral.shallowEquals(Node other) booleanIsNotNullPredicate.shallowEquals(Node other) booleanIsNullPredicate.shallowEquals(Node other) booleanJoin.shallowEquals(Node other) booleanLabelDereference.shallowEquals(Node other) booleanLambdaArgumentDeclaration.shallowEquals(Node other) booleanLambdaExpression.shallowEquals(Node other) booleanLateral.shallowEquals(Node other) booleanLikePredicate.shallowEquals(Node other) booleanLimit.shallowEquals(Node other) booleanLogicalExpression.shallowEquals(Node other) booleanLongLiteral.shallowEquals(Node other) booleanMeasureDefinition.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) booleanPatternAlternation.shallowEquals(Node other) booleanPatternConcatenation.shallowEquals(Node other) booleanPatternPermutation.shallowEquals(Node other) booleanPatternQuantifier.shallowEquals(Node other) booleanPatternRecognitionRelation.shallowEquals(Node other) booleanPatternSearchMode.shallowEquals(Node other) booleanPatternVariable.shallowEquals(Node other) booleanQuantifiedComparisonExpression.shallowEquals(Node other) booleanQuantifiedPattern.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) booleanSkipTo.shallowEquals(Node other) booleanSortItem.shallowEquals(Node other) booleanStringLiteral.shallowEquals(Node other) booleanSubqueryExpression.shallowEquals(Node other) booleanSubscriptExpression.shallowEquals(Node other) booleanSubsetDefinition.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) booleanVariableDefinition.shallowEquals(Node other) booleanWhenClause.shallowEquals(Node other) booleanWindowDefinition.shallowEquals(Node other) booleanWindowFrame.shallowEquals(Node other) booleanWindowOperation.shallowEquals(Node other) booleanWindowReference.shallowEquals(Node other) booleanWindowSpecification.shallowEquals(Node other) booleanWith.shallowEquals(Node other) booleanWithQuery.shallowEquals(Node other) protected R -
Uses of Node in io.trino.sql.util
Methods in io.trino.sql.util that return types with arguments of type NodeMethods in io.trino.sql.util with parameters of type NodeModifier and TypeMethodDescriptionstatic booleanCompares 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 NodeModifier and TypeMethodDescriptionstatic booleanCompares two AST trees recursively by applying the provided comparator to each pair of nodes.static booleanCompares 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.