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, 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 TypeClassDescriptionclassclassclassclassclassclassclassclassclassfinal classclassclassclassclassfinal classfinal classfinal classfinal classfinal classclassfinal classfinal classfinal classfinal classclassfinal classclassclassfinal classclassclassclassclassclassclassclassfinal classclassclassfinal classfinal classclassclassclassfinal classclassclassclassclassclassclassclassclassclassfinal classclassfinal classclassclassclassclassclassfinal classclassclassfinal classfinal classclassfinal classclassclassclassclassclassfinal classfinal classclassclassclassclassclassclassclassclassclassclassfinal classfinal classfinal classclassclassclassclassclassclassfinal classclassclassIF(v1,v2[,v3]): CASE WHEN v1 THEN v2 [ELSE v3] ENDfinal classclassclassfinal classclassfinal classclassclassclassfinal classfinal classclassclassclassclassclassclassclassclassclassfinal classclassclassclassclassclassclassclassfinal classfinal classfinal classfinal classclassclassclassfinal classfinal classclassclassfinal classclassfinal classclassclassclassclassclassclassclassNULLIF(V1,V2): CASE WHEN V1=V2 THEN NULL ELSE V1 ENDfinal classclassclassclassclassclassclassclassfinal classfinal classfinal classclassclassclassclassclassfinal classclassclassclassclassclassfinal classclassclassclassclassclassclassclassclassclassfinal classclassclassfinal classfinal classfinal classfinal classfinal classclassclassfinal classfinal classclassclassfinal classclassfinal classfinal classstatic classclassclassclassfinal classclassclassclassclassclassclassfinal classclassfinal classclassclassfinal classclassfinal classfinal classclassclassfinal classclassclassclassclassclassclassclassclassfinal classclassclassclassfinal classclassclassclassclassclassclassclassclassclassclassclassclassclassfinal classclassclassclassclassclassclassfinal classclassclassfinal classclassfinal classfinal classclassclassfinal classclassclassclassRepresents a call over a window:classclassclassclassclassclassMethods in io.trino.sql.tree with type parameters of type NodeMethods in io.trino.sql.tree that return 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()Array.getChildren()AssignmentStatement.getChildren()AtTimeZone.getChildren()BetweenPredicate.getChildren()Call.getChildren()CallArgument.getChildren()CaseStatement.getChildren()CaseStatementWhenClause.getChildren()Cast.getChildren()CoalesceExpression.getChildren()ColumnDefinition.getChildren()Comment.getChildren()CommentCharacteristic.getChildren()Commit.getChildren()ComparisonExpression.getChildren()CompoundStatement.getChildren()CreateCatalog.getChildren()CreateFunction.getChildren()CreateMaterializedView.getChildren()CreateRole.getChildren()CreateTable.getChildren()CreateTableAsSelect.getChildren()CreateView.getChildren()CurrentCatalog.getChildren()CurrentDate.getChildren()CurrentPath.getChildren()CurrentSchema.getChildren()CurrentTime.getChildren()CurrentTimestamp.getChildren()CurrentUser.getChildren()DateTimeDataType.getChildren()Deallocate.getChildren()Delete.getChildren()Deny.getChildren()DereferenceExpression.getChildren()DescribeInput.getChildren()DescribeOutput.getChildren()Descriptor.getChildren()DescriptorField.getChildren()DeterministicCharacteristic.getChildren()DropCatalog.getChildren()DropColumn.getChildren()DropFunction.getChildren()DropMaterializedView.getChildren()DropNotNullConstraint.getChildren()DropRole.getChildren()DropSchema.getChildren()DropTable.getChildren()DropView.getChildren()ElseClause.getChildren()ElseIfClause.getChildren()EmptyPattern.getChildren()EmptyTableTreatment.getChildren()Except.getChildren()ExcludedPattern.getChildren()Execute.getChildren()ExecuteImmediate.getChildren()ExistsPredicate.getChildren()Explain.getChildren()ExplainAnalyze.getChildren()ExplainFormat.getChildren()ExplainType.getChildren()Extract.getChildren()FetchFirst.getChildren()FieldReference.getChildren()Format.getChildren()FrameBound.getChildren()FunctionCall.getChildren()FunctionSpecification.getChildren()GenericDataType.getChildren()Grant.getChildren()GrantObject.getChildren()GrantRoles.getChildren()GroupBy.getChildren()GroupingOperation.getChildren()GroupingSets.getChildren()Identifier.getChildren()IfExpression.getChildren()IfStatement.getChildren()InListExpression.getChildren()InPredicate.getChildren()Insert.getChildren()Intersect.getChildren()IntervalDayTimeDataType.getChildren()IsNotNullPredicate.getChildren()IsNullPredicate.getChildren()Isolation.getChildren()IterateStatement.getChildren()Join.getChildren()JsonArray.getChildren()JsonArrayElement.getChildren()JsonExists.getChildren()JsonObject.getChildren()JsonObjectMember.getChildren()JsonPathInvocation.getChildren()JsonPathParameter.getChildren()JsonQuery.getChildren()JsonTable.getChildren()JsonTableDefaultPlan.getChildren()JsonValue.getChildren()LambdaArgumentDeclaration.getChildren()LambdaExpression.getChildren()LanguageCharacteristic.getChildren()Lateral.getChildren()LeaveStatement.getChildren()LikeClause.getChildren()LikePredicate.getChildren()Limit.getChildren()Literal.getChildren()LocalTime.getChildren()LocalTimestamp.getChildren()LogicalExpression.getChildren()LoopStatement.getChildren()MeasureDefinition.getChildren()Merge.getChildren()MergeDelete.getChildren()MergeInsert.getChildren()MergeUpdate.getChildren()NestedColumns.getChildren()Node.getChildren()NotExpression.getChildren()NullIfExpression.getChildren()NullInputCharacteristic.getChildren()NumericParameter.getChildren()Offset.getChildren()OrderBy.getChildren()OrdinalityColumn.getChildren()Parameter.getChildren()ParameterDeclaration.getChildren()PathElement.getChildren()PathSpecification.getChildren()PatternAlternation.getChildren()PatternConcatenation.getChildren()PatternPermutation.getChildren()PatternQuantifier.getChildren()PatternRecognitionRelation.getChildren()PatternSearchMode.getChildren()PatternVariable.getChildren()PlanLeaf.getChildren()PlanParentChild.getChildren()PlanSiblings.getChildren()Prepare.getChildren()ProcessingMode.getChildren()Property.getChildren()QuantifiedComparisonExpression.getChildren()QuantifiedPattern.getChildren()Query.getChildren()QueryColumn.getChildren()QueryPeriod.getChildren()QuerySpecification.getChildren()RangeQuantifier.getChildren()RefreshMaterializedView.getChildren()RenameColumn.getChildren()RenameMaterializedView.getChildren()RenameSchema.getChildren()RenameTable.getChildren()RenameView.getChildren()RepeatStatement.getChildren()ResetSession.getChildren()ResetSessionAuthorization.getChildren()ReturnsClause.getChildren()ReturnStatement.getChildren()Revoke.getChildren()RevokeRoles.getChildren()Rollback.getChildren()Row.getChildren()RowDataType.Field.getChildren()RowDataType.getChildren()SampledRelation.getChildren()SearchedCaseExpression.getChildren()SecurityCharacteristic.getChildren()Select.getChildren()SetAuthorizationStatement.getChildren()SetColumnType.getChildren()SetPath.getChildren()SetProperties.getChildren()SetRole.getChildren()SetSession.getChildren()SetSessionAuthorization.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()Table.getChildren()TableExecute.getChildren()TableFunctionArgument.getChildren()TableFunctionDescriptorArgument.getChildren()TableFunctionInvocation.getChildren()TableFunctionTableArgument.getChildren()TableSubquery.getChildren()TransactionAccessMode.getChildren()Trim.getChildren()TruncateTable.getChildren()TryExpression.getChildren()TypeParameter.getChildren()Union.getChildren()Unnest.getChildren()Update.getChildren()UpdateAssignment.getChildren()Use.getChildren()ValueColumn.getChildren()Values.getChildren()VariableDeclaration.getChildren()VariableDefinition.getChildren()WhenClause.getChildren()WhileStatement.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()Methods in io.trino.sql.tree with parameters of type NodeModifier and TypeMethodDescriptionbooleanAliasedRelation.shallowEquals(Node other) booleanAllColumns.shallowEquals(Node other) booleanAllRows.shallowEquals(Node other) booleanAnchorPattern.shallowEquals(Node other) booleanArithmeticBinaryExpression.shallowEquals(Node other) booleanArithmeticUnaryExpression.shallowEquals(Node other) booleanArray.shallowEquals(Node other) booleanAtTimeZone.shallowEquals(Node other) booleanBetweenPredicate.shallowEquals(Node other) booleanBinaryLiteral.shallowEquals(Node other) booleanBooleanLiteral.shallowEquals(Node other) booleanCast.shallowEquals(Node other) booleanCoalesceExpression.shallowEquals(Node other) booleanComparisonExpression.shallowEquals(Node other) booleanCurrentCatalog.shallowEquals(Node other) booleanCurrentDate.shallowEquals(Node other) booleanCurrentPath.shallowEquals(Node other) booleanCurrentSchema.shallowEquals(Node other) booleanCurrentTime.shallowEquals(Node other) booleanCurrentTimestamp.shallowEquals(Node other) booleanCurrentUser.shallowEquals(Node other) booleanDateTimeDataType.shallowEquals(Node other) booleanDecimalLiteral.shallowEquals(Node other) booleanDereferenceExpression.shallowEquals(Node other) booleanDescriptor.shallowEquals(Node o) booleanDescriptorField.shallowEquals(Node o) booleanDoubleLiteral.shallowEquals(Node other) booleanEmptyPattern.shallowEquals(Node other) booleanEmptyTableTreatment.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) booleanJsonArray.shallowEquals(Node other) booleanJsonArrayElement.shallowEquals(Node other) booleanJsonExists.shallowEquals(Node other) booleanJsonObject.shallowEquals(Node other) booleanJsonObjectMember.shallowEquals(Node other) booleanJsonPathInvocation.shallowEquals(Node other) booleanJsonPathParameter.shallowEquals(Node other) booleanJsonQuery.shallowEquals(Node other) booleanJsonTable.shallowEquals(Node other) booleanJsonTableDefaultPlan.shallowEquals(Node other) booleanJsonValue.shallowEquals(Node other) booleanLambdaArgumentDeclaration.shallowEquals(Node other) booleanLambdaExpression.shallowEquals(Node other) booleanLateral.shallowEquals(Node other) booleanLikePredicate.shallowEquals(Node other) booleanLimit.shallowEquals(Node other) booleanLocalTime.shallowEquals(Node other) booleanLocalTimestamp.shallowEquals(Node other) booleanLogicalExpression.shallowEquals(Node other) booleanLongLiteral.shallowEquals(Node other) booleanMeasureDefinition.shallowEquals(Node other) booleanNestedColumns.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) booleanOrdinalityColumn.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) booleanPlanLeaf.shallowEquals(Node other) booleanPlanParentChild.shallowEquals(Node other) booleanPlanSiblings.shallowEquals(Node other) booleanQuantifiedComparisonExpression.shallowEquals(Node other) booleanQuantifiedPattern.shallowEquals(Node other) booleanQuery.shallowEquals(Node other) booleanQueryColumn.shallowEquals(Node other) booleanQueryPeriod.shallowEquals(Node other) booleanQuerySpecification.shallowEquals(Node other) booleanRow.shallowEquals(Node other) booleanRowDataType.Field.shallowEquals(Node other) booleanRowDataType.shallowEquals(Node other) booleanSampledRelation.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) booleanTableFunctionArgument.shallowEquals(Node o) booleanTableFunctionDescriptorArgument.shallowEquals(Node o) booleanTableFunctionInvocation.shallowEquals(Node o) booleanTableFunctionTableArgument.shallowEquals(Node o) booleanTableSubquery.shallowEquals(Node other) booleanTrim.shallowEquals(Node other) booleanTryExpression.shallowEquals(Node other) booleanTypeParameter.shallowEquals(Node other) booleanUnion.shallowEquals(Node other) booleanUnnest.shallowEquals(Node other) booleanValueColumn.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 RConstructors in io.trino.sql.tree with parameters of type NodeModifierConstructorDescriptionTableFunctionArgument(NodeLocation location, Optional<Identifier> name, Node value) -
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.