public class ASTRootNode extends AbstractNode
nextchildren, firstToken, id, lastToken, parent, parser, value| 构造器和说明 |
|---|
ASTRootNode(int i) |
ASTRootNode(Parser p,
int i) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
checkType(TypeContext context)
检测节点类型
|
Object[] |
getArgs(RuntimeContext context)
构建运行时参数列表
|
List<ASTIterableParameter> |
getIterableParameters()
获得可迭代参数节点
|
String |
getSql(RuntimeContext context)
获得运行时sql
|
String |
getStaticSql() |
List<ValuableParameter> |
getValuableParameters()
获得可迭代参数节点与不可迭代参数节点
|
void |
init(String table,
TablePartition tablePartition,
String shardParameterName,
String shardPropertyPath)
初始化
|
ASTRootNode |
reduce()
简化节点
|
childrenAccept, dump, jjtAccept, jjtAddChild, jjtClose, jjtGetChild, jjtGetFirstToken, jjtGetLastToken, jjtGetNumChildren, jjtGetParent, jjtGetValue, jjtOpen, jjtSetFirstToken, jjtSetLastToken, jjtSetParent, jjtSetValue, toString, toStringpublic ASTRootNode(int i)
public ASTRootNode(Parser p, int i)
public ASTRootNode reduce()
public void init(@Nullable String table, @Nullable TablePartition tablePartition, @Nullable String shardParameterName, @Nullable String shardPropertyPath)
public void checkType(TypeContext context)
context - public List<ASTIterableParameter> getIterableParameters()
public List<ValuableParameter> getValuableParameters()
public String getStaticSql()
public String getSql(RuntimeContext context)
context - public Object[] getArgs(RuntimeContext context)
context - Copyright © 2014. All rights reserved.