| java.lang.Object com.versant.core.jdbc.sql.exp.SqlExp com.versant.core.jdbc.sql.exp.UnaryExp
All known Subclasses: com.versant.core.jdbc.sql.exp.ParenExp, com.versant.core.jdbc.sql.exp.UnaryOpExp, com.versant.core.jdbc.sql.exp.OrderExp, com.versant.core.jdbc.sql.exp.AggregateExp, com.versant.core.jdbc.sql.exp.UnaryFunctionExp, com.versant.core.jdbc.sql.exp.ExistsExp, com.versant.core.jdbc.sql.exp.IsNullExp, com.versant.core.jdbc.sql.exp.IsNotNullExp, com.versant.core.jdbc.sql.exp.HavingExp,
UnaryExp | public class UnaryExp extends SqlExp (Code) | | An expression with one child.
|
UnaryExp | public UnaryExp()(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 - |
createAlias | public int createAlias(int index)(Code) | | Create an aliases for any tables we may have.
|
getJavaTypeCode | public int getJavaTypeCode()(Code) | | What is the java type code of this expression (0 if unknown)?
|
getJdbcType | public int getJdbcType()(Code) | | What is the JDBC type of this expression (0 if unknown)?
|
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)
|
|
|