| java.lang.Object com.versant.core.jdbc.sql.exp.SqlExp com.versant.core.jdbc.sql.exp.BinaryExp
All known Subclasses: com.versant.core.jdbc.sql.exp.BinaryOpExp,
BinaryExp | public class BinaryExp extends SqlExp (Code) | | An expression with two args.
|
BinaryExp | public BinaryExp()(Code) | | |
createAlias | public int createAlias(int index)(Code) | | Create an aliases for any subtables we may have.
|
getSingleSelectExp | public SelectExp getSingleSelectExp(SelectExp exclude)(Code) | | If this expression involves a single table only then return the
SelectExp for the table (e.g. a.col1 == 10 returns a, a.col1 = b.col2
returns null). This is used to detect expressions that can be moved
into the ON list for the join to the table involved.
Parameters: exclude - |
normalize | public SqlExp normalize(SqlDriver driver, SelectExp sel, boolean convertExists)(Code) | | Normalize this node i.e. transform it into its simplist possible form.
This will turn sub selects into joins and so on.
|
replaceSelectExpRef | public void replaceSelectExpRef(SelectExp old, SelectExp nw)(Code) | | Replace any references to old with nw. This is used when redundant
joins are removed.
|
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)
|
|
|