Package org.partiql.ast
Class ExcludePath
- java.lang.Object
-
- org.partiql.ast.AstNode
-
- org.partiql.ast.ExcludePath
-
public final class ExcludePath extends AstNode
Represents a single exclude path in an exclude clause. Composed on one or more exclude steps.- See Also:
Exclude
,ExcludeStep
-
-
Constructor Summary
Constructors Constructor Description ExcludePath(ExprVarRef root, java.util.List<ExcludeStep> excludeSteps)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <R,C>
Raccept(AstVisitor<R,C> visitor, C ctx)
Accepts a generic visitor.java.util.List<AstNode>
getChildren()
Gets theAstNode
children of this node.java.util.List<ExcludeStep>
getExcludeSteps()
ExprVarRef
getRoot()
-
-
-
Constructor Detail
-
ExcludePath
public ExcludePath(@NotNull ExprVarRef root, @NotNull java.util.List<ExcludeStep> excludeSteps)
-
-
Method Detail
-
getChildren
@NotNull public java.util.List<AstNode> getChildren()
Description copied from class:AstNode
Gets theAstNode
children of this node.- Specified by:
getChildren
in classAstNode
- Returns:
- child AST nodes of this node.
-
accept
public <R,C> R accept(@NotNull AstVisitor<R,C> visitor, C ctx)
Description copied from class:AstNode
Accepts a generic visitor.
-
getRoot
@NotNull public ExprVarRef getRoot()
-
getExcludeSteps
@NotNull public java.util.List<ExcludeStep> getExcludeSteps()
-
-