| java.lang.Object com.versant.core.jdbc.sql.exp.SqlExp com.versant.core.jdbc.sql.exp.BinaryExp com.versant.core.jdbc.sql.exp.BinaryOpExp
BinaryOpExp | public class BinaryOpExp extends BinaryExp (Code) | | An expression comprised of two args and an operator.
|
Field Summary | |
final public static int | CONCAT | final public static int | DIVIDE | final public static int | EQUAL | final public static int | GE | final public static int | GT | final public static int | LE | final public static int | LIKE | final public static int | LT | final public static int | MINUS | final public static int | NOT_EQUAL | final public static int | PLUS | final public static int | TIMES | public int | op |
CONCAT | final public static int CONCAT(Code) | | |
DIVIDE | final public static int DIVIDE(Code) | | |
EQUAL | final public static int EQUAL(Code) | | |
GE | final public static int GE(Code) | | |
GT | final public static int GT(Code) | | |
LE | final public static int LE(Code) | | |
LIKE | final public static int LIKE(Code) | | |
LT | final public static int LT(Code) | | |
MINUS | final public static int MINUS(Code) | | |
NOT_EQUAL | final public static int NOT_EQUAL(Code) | | |
PLUS | final public static int PLUS(Code) | | |
TIMES | final public static int TIMES(Code) | | |
BinaryOpExp | public BinaryOpExp(int op)(Code) | | |
BinaryOpExp | public BinaryOpExp()(Code) | | |
appendSQLImp | public void appendSQLImp(SqlDriver driver, CharBuf s, SqlExp leftSibling)(Code) | | Append SQL for this node to s.
Parameters: driver - The driver being used Parameters: s - Append the SQL here Parameters: leftSibling - |
getFirstCharIndex | public int getFirstCharIndex()(Code) | | Get the index of first character of the 'is null' parameter
replacement span for this expression.
|
isNegative | public boolean isNegative()(Code) | | Is this a negative expression for the purposes of replacing parameter
values with 'is null' (false) or 'is not null' (true)?
|
Methods inherited from com.versant.core.jdbc.sql.exp.SqlExp | public void append(SqlExp extra)(Code)(Java Doc) final public void appendSQL(SqlDriver driver, CharBuf s, SqlExp leftSibling)(Code)(Java Doc) protected void appendSQLImp(SqlDriver driver, CharBuf s, SqlExp leftSibling)(Code)(Java Doc) public static SqlExp appendWithAnd(SqlExp base, SqlExp e)(Code)(Java Doc) public int createAlias(int index)(Code)(Java Doc) public static SqlExp createBinaryOpExp(SqlExp left, int op, SqlExp right)(Code)(Java Doc) public static SqlExp createClone(SqlExp sqlExp)(Code)(Java Doc) public static SqlExp createClone(SqlExp inst, Map cloneMap)(Code)(Java Doc) public SqlExp createInstance()(Code)(Java Doc) public void dump(String indent)(Code)(Java Doc) public void dumpList(String indent)(Code)(Java Doc) public int getClassIndex()(Code)(Java Doc) public SqlExp getClone(SqlExp clone, Map cloneMap)(Code)(Java Doc) public int getConvertToJoin()(Code)(Java Doc) public int getFirstCharIndex()(Code)(Java Doc) public int getJavaTypeCode()(Code)(Java Doc) public int getJdbcType()(Code)(Java Doc) final public int getLastCharIndex()(Code)(Java Doc) final public int getPreFirstCharIndex()(Code)(Java Doc) public SelectExp getSingleSelectExp(SelectExp exclude)(Code)(Java Doc) public boolean isNegative()(Code)(Java Doc) public SqlExp normalize(SqlDriver driver, SelectExp sel, boolean convertExists)(Code)(Java Doc) public void replaceSelectExpRef(SelectExp old, SelectExp nw)(Code)(Java Doc) public boolean requiresParensInAnd()(Code)(Java Doc) public boolean requiresParensInMultiply()(Code)(Java Doc) public void setOuter(boolean on)(Code)(Java Doc) public String toString()(Code)(Java Doc)
|
|
|