|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
T
- the implementation class
@Deprecated public interface CriteriaInterface<T>
Interface for both the old org.apache.torque.util and the new org.apache.torque.criteria Criteria class.
Method Summary | |
---|---|
T |
addAlias(String alias,
String table)
Deprecated. Allows one to specify an alias for a table that can be used in various parts of the SQL. |
Map<String,? extends Object> |
getAliases()
Deprecated. Get the table aliases. |
Map<String,Column> |
getAsColumns()
Deprecated. Get the column aliases. |
String |
getDbName()
Deprecated. Get the Database(Map) name. |
UniqueColumnList |
getGroupByColumns()
Deprecated. Get group by columns. |
List<Join> |
getJoins()
Deprecated. get the List of Joins. |
int |
getLimit()
Deprecated. Get limit. |
long |
getOffset()
Deprecated. Get offset. |
UniqueList<OrderBy> |
getOrderByColumns()
Deprecated. Get order by columns. |
UniqueColumnList |
getSelectColumns()
Deprecated. Get select columns. |
UniqueList<String> |
getSelectModifiers()
Deprecated. Get select modifiers. |
String |
getTableForAlias(String alias)
Deprecated. Returns the table name associated with an alias. |
boolean |
isIgnoreCase()
Deprecated. Returns whether case should be ignored in where clauses and order by whenever String columns are encountered. |
boolean |
isSingleRecord()
Deprecated. Is single record? |
void |
setAll()
Deprecated. Adds "ALL " to the SQL statement. |
void |
setDbName(String dbName)
Deprecated. Set the DatabaseMap name. |
void |
setDistinct()
Deprecated. Adds "DISTINCT " to the SQL statement. |
T |
setLimit(int limit)
Deprecated. Set a limit for the query |
T |
setOffset(long offset)
Deprecated. Set the offset. |
Method Detail |
---|
Map<String,Column> getAsColumns()
Map<String,? extends Object> getAliases()
T addAlias(String alias, String table)
alias
- a String
valuetable
- a String
valueString getTableForAlias(String alias)
alias
- a String
value
String
valueString getDbName()
void setDbName(String dbName)
null
is supplied, uses value
provided by Torque.getDefaultDB()
.
dbName
- A String with the Database(Map) name.List<Join> getJoins()
void setAll()
void setDistinct()
boolean isIgnoreCase()
boolean isSingleRecord()
int getLimit()
long getOffset()
UniqueColumnList getSelectColumns()
UniqueList<String> getSelectModifiers()
UniqueList<OrderBy> getOrderByColumns()
UniqueColumnList getGroupByColumns()
T setLimit(int limit)
limit
- The upper limit for the number of records returned
by a query.
T setOffset(long offset)
offset
- how many records should be skipped at the start of the
result.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |