public static class CalcitePlanner.ASTSearcher extends Object
Constructor and Description |
---|
ASTSearcher() |
Modifier and Type | Method and Description |
---|---|
ASTNode |
depthFirstSearch(ASTNode ast,
int token) |
void |
reset() |
ASTNode |
simpleBreadthFirstSearch(ASTNode ast,
int... tokens)
Performs breadth-first search of the AST for a nested set of tokens.
|
ASTNode |
simpleBreadthFirstSearchAny(ASTNode ast,
int... tokens) |
public ASTNode simpleBreadthFirstSearch(ASTNode ast, int... tokens)
public void reset()
Copyright © 2022 The Apache Software Foundation. All rights reserved.