Method Summary |
|
public void | addEmbeddedAlias(String alias, EmbeddedExpr expr) Adds an embedded alias. |
public void | complete(UserQuery userQuery, AmberConnection aConn) |
public FromItem | createDependentFromItem(FromItem parent, LinkColumns link, String name) |
public FromItem | createFromItem(Table table, String name) Sets the from list. |
public FromItem | createFromItem(EntityType entityType, Table table, String name) Sets the from list. |
public boolean | exists(FromItem item) Returns true if the item must have at least one entry in the database. |
public ArgExpr[] | getArgList() Returns the arg list. |
public long | getCacheMaxAge() Returns the expire time. |
public HashMap<String, EmbeddedExpr> | getEmbeddedAliases() Gets the embedded aliases. |
public ArrayList<FromItem> | getFromList() Returns the from list. |
JdbcMetaData | getMetaData() Returns the jdbc meta data, if available. |
public AbstractQuery | getParentQuery() Gets the parent query. |
public ArrayList<String> | getPreparedMapping() Returns the prepared mapping. |
public String | getQueryString() Returns the query string. |
abstract public String | getSQL() Returns the SQL. |
public boolean | hasSubQuery() Returns true if this query has a subquery. |
void | init() initializes the query. |
boolean | isFromInnerJoin(FromItem item) |
boolean | isJoinParent(FromItem item) |
public void | prepare(UserQuery userQuery, AmberConnection aConn) Prepares before any update. |
void | registerUpdates(CachedQuery query) |
void | replaceJoin(JoinExpr join) |
boolean | setArgList(ArgExpr[] argList) Sets the arg list. |
public void | setHasSubQuery(boolean hasSubQuery) Sets true if this query has a subquery. |
public boolean | usesFrom(FromItem item, int type) Returns true if the from item is used by the query. |
boolean | usesFromData(FromItem item) |