| java.lang.Object com.caucho.amber.expr.AbstractAmberExpr com.caucho.amber.expr.ArgExpr
ArgExpr | public ArgExpr(QueryParser parser, int index)(Code) | | Creates a new argument expression.
Parameters: index - the argument index |
ArgExpr | public ArgExpr(QueryParser parser, String name, int index)(Code) | | Creates a new named argument expression.
Parameters: String - the argument name |
exists | public boolean exists()(Code) | | Returns true if the expression must exist
|
generateHaving | public void generateHaving(CharBuffer cb)(Code) | | Generates the having expression.
|
generateUpdateWhere | public void generateUpdateWhere(CharBuffer cb)(Code) | | Generates the (update) literal.
|
generateWhere | public void generateWhere(CharBuffer cb)(Code) | | Generates the literal.
|
getIndex | public int getIndex()(Code) | | Returns the index value
|
getName | public String getName()(Code) | | Returns the argument name, or null
if it is a positional parameter.
|
getType | public Type getType()(Code) | | Returns the expr type.
|
setType | public void setType(Type type)(Code) | | Sets the expr type.
|
|
|