Method Summary |
|
public ResultSet | applyFilters(ResultSet rs) Apply clauses in the select filters (WHERE, ORDER BY) as filters. |
public Query | asMandaraxQuery() Build a mandarax query. |
public void | bind(int index, Object value) Bind a host variable. |
public void | checkBindings() Check whether all host variables are bound - throw an exception if not. |
List | getColumnNames() Get a list of column names from the SELECT statement. |
List | getColumns() Get a list of column terms from the SELECT statement. |
public org.mandarax.jdbc.server.sql.FromClause | getFromClause() Getter for property fromClause. |
public GroupByClause | getGroupByClause() Returns the GROUP BY clause. |
public HavingClause | getHavingClause() Returns the HAVING clause. |
public KnowledgeBase | getKB() Get the knowledge base. |
public OrderByClause | getOrderByClause() Returns the ORDER BY clause. |
public Predicate | getResultSetPredicate() Get the predicate in the final result set. |
public org.mandarax.jdbc.server.sql.SelectClause | getSelectClause() Getter for property selectClause. |
public org.mandarax.jdbc.server.sql.WhereClause | getWhereClause() Getter for property whereClause. |
public boolean | hasHostVariables() Indicates whether this statement has host variables. |
public boolean | isBound(int index) Indicates whether a host variable has been bound. |
public boolean | isDistinct() |
public void | normalize(Map typesByColumn) Normalize the statement. |
public synchronized void | prepare() Prepare the statement, i.e. |
public void | print(StringBuffer out) Print the object on a buffer in order to display the parsed SQL. |
public void | reset(int index) Reset a host variable. |
public void | resetAll() Resets all host variables. |
public boolean | sameAs(Object obj) Compares objects. |
public void | setDistinct(boolean distinct) Sets the distinct. |
public void | setFromClause(org.mandarax.jdbc.server.sql.FromClause fromClause) Setter for property fromClause. |
public void | setGroupByClause(GroupByClause groupByClause) Sets the GROUP BY clause. |
public void | setHavingClause(HavingClause havingClause) Sets the HAVING clause. |
public void | setKB(KnowledgeBase kb) Sets the kb. |
public void | setOrderByClause(OrderByClause orderByClause) Sets the ORDER BY clause. |
public void | setSelect2Star() Set the select clause to a star. |
public void | setSelectClause(org.mandarax.jdbc.server.sql.SelectClause selectClause) Setter for property selectClause. |
public void | setSelectColumnList(String[] cols) Set a column list. |
public void | setTableName(String tableName) Set the table name. |
public void | setWhereClause(WhereClause whereClause) Sets the whereClause. |