|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Criteria | |
---|---|
org.apache.torque.sql | This package contains classes which are mainly used in the SQL generation process. |
org.apache.torque.util | Misc. |
Uses of Criteria in org.apache.torque.sql |
---|
Methods in org.apache.torque.sql with parameters of type Criteria | |
---|---|
static Query |
SqlBuilder.buildQuery(Criteria crit)
Deprecated. please use org.apache.torque.criteria.Criteria instead of org.apache.torque.util.Criteria. |
Uses of Criteria in org.apache.torque.util |
---|
Methods in org.apache.torque.util that return Criteria | |
---|---|
Criteria |
Criteria.add(Column column,
Object value)
Deprecated. This method adds a new criterion to the list of criterias. |
Criteria |
Criteria.add(Column column,
Object value,
SqlEnum comparison)
Deprecated. This method adds a new criterion to the list of criterias. |
Criteria |
Criteria.add(Criteria.Criterion c)
Deprecated. This method adds a prepared Criterion object to the Criteria. |
Criteria |
Criteria.add(String column,
Object value)
Deprecated. This method adds a new criterion to the list of criterias. |
Criteria |
Criteria.add(String column,
Object value,
SqlEnum comparison)
Deprecated. This method adds a new criterion to the list of criterias. |
Criteria |
Criteria.add(String table,
String column,
Object value)
Deprecated. This method adds a new criterion to the list of criterias. |
Criteria |
Criteria.add(String table,
String column,
Object value,
SqlEnum comparison)
Deprecated. This method adds a new criterion to the list of criterias. |
Criteria |
Criteria.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. |
Criteria |
Criteria.addAscendingOrderByColumn(Column column)
Deprecated. Add order by column name, explicitly specifying ascending. |
Criteria |
Criteria.addAscendingOrderByColumn(Column column,
boolean ignoreCase)
Deprecated. Add order by column name, explicitly specifying ascending. |
Criteria |
Criteria.addAscendingOrderByColumn(String column)
Deprecated. Add order by column name, explicitly specifying ascending. |
Criteria |
Criteria.addAsColumn(String name,
Column clause)
Deprecated. Add an AS clause to the select columns. |
Criteria |
Criteria.addAsColumn(String name,
String clause)
Deprecated. Add an AS clause to the select columns. |
Criteria |
Criteria.addDate(Column column,
int year,
int month,
int day)
Deprecated. Convenience method to add a Date object specified by year, month, and date into the Criteria. |
Criteria |
Criteria.addDate(Column column,
int year,
int month,
int date,
SqlEnum comparison)
Deprecated. Convenience method to add a Date object specified by year, month, and date into the Criteria. |
Criteria |
Criteria.addDate(String column,
int year,
int month,
int day)
Deprecated. Convenience method to add a Date object specified by year, month, and date into the Criteria. |
Criteria |
Criteria.addDate(String column,
int year,
int month,
int date,
SqlEnum comparison)
Deprecated. Convenience method to add a Date object specified by year, month, and date into the Criteria. |
Criteria |
Criteria.addDescendingOrderByColumn(Column column)
Deprecated. Add order by column name, explicitly specifying descending. |
Criteria |
Criteria.addDescendingOrderByColumn(Column column,
boolean ignoreCase)
Deprecated. Add order by column name, explicitly specifying descending. |
Criteria |
Criteria.addDescendingOrderByColumn(String column)
Deprecated. Add order by column name, explicitly specifying descending. |
Criteria |
Criteria.addGroupByColumn(Column groupBy)
Deprecated. Add group by column name. |
Criteria |
Criteria.addGroupByColumn(String groupBy)
Deprecated. Add group by column name. |
Criteria |
Criteria.addHaving(Criteria.Criterion having)
Deprecated. This method adds a prepared Criterion object to the Criteria as a having clause. |
Criteria |
Criteria.addIn(Column column,
Collection<?> values)
Deprecated. Adds an 'IN' clause with the criteria supplied as a Collection. |
Criteria |
Criteria.addIn(Column column,
Object[] values)
Deprecated. Adds an 'IN' clause with the criteria supplied as an Object array. |
Criteria |
Criteria.addIn(String column,
Collection<?> values)
Deprecated. Adds an 'IN' clause with the criteria supplied as a Collection. |
Criteria |
Criteria.addIn(String column,
Object[] values)
Deprecated. Adds an 'IN' clause with the criteria supplied as an Object array. |
Criteria |
Criteria.addJoin(Column left,
Column right)
Deprecated. This is the way that you should add a join of two tables. |
Criteria |
Criteria.addJoin(Column left,
Column right,
JoinType operator)
Deprecated. This is the way that you should add a join of two tables. |
Criteria |
Criteria.addJoin(String left,
String right)
Deprecated. This is the way that you should add a join of two tables. |
Criteria |
Criteria.addJoin(String left,
String right,
JoinType operator)
Deprecated. This is the way that you should add a join of two tables. |
Criteria |
Criteria.addNotIn(Column column,
Collection<?> values)
Deprecated. Adds a 'NOT IN' clause with the criteria supplied as a Collection. |
Criteria |
Criteria.addNotIn(Column column,
Object[] values)
Deprecated. Adds a 'NOT IN' clause with the criteria supplied as an Object array. |
Criteria |
Criteria.addNotIn(String column,
Collection<?> values)
Deprecated. Adds a 'NOT IN' clause with the criteria supplied as a Collection. |
Criteria |
Criteria.addNotIn(String column,
Object[] values)
Deprecated. Adds a 'NOT IN' clause with the criteria supplied as an Object array. |
Criteria |
Criteria.addSelectColumn(Column column)
Deprecated. Add select column. |
Criteria |
Criteria.addSelectColumn(String column)
Deprecated. Add select column. |
Criteria |
Criteria.and(Column column,
Object value)
Deprecated. This method adds a new criterion to the list of criterias. |
Criteria |
Criteria.and(Column column,
Object value,
SqlEnum comparison)
Deprecated. This method adds a new criterion to the list of criterias. |
Criteria |
Criteria.and(Criteria.Criterion c)
Deprecated. This method adds a prepared Criterion object to the Criteria. |
Criteria |
Criteria.and(String column,
Object value)
Deprecated. This method adds a new criterion to the list of criterias. |
Criteria |
Criteria.and(String column,
Object value,
SqlEnum comparison)
Deprecated. This method adds a new criterion to the list of criterias. |
Criteria |
Criteria.and(String table,
String column,
Object value)
Deprecated. use and(Column, Object) instead |
Criteria |
Criteria.and(String table,
String column,
Object value,
SqlEnum comparison)
Deprecated. use and(Column, Object, comparison) instead |
Criteria |
Criteria.andDate(Column column,
int year,
int month,
int date)
Deprecated. Convenience method to add a Date object specified by year, month, and date into the Criteria. |
Criteria |
Criteria.andDate(Column column,
int year,
int month,
int date,
SqlEnum comparison)
Deprecated. Convenience method to add a Date object specified by year, month, and date into the Criteria. |
Criteria |
Criteria.andDate(String column,
int year,
int month,
int date)
Deprecated. Convenience method to add a Date object specified by year, month, and date into the Criteria. |
Criteria |
Criteria.andDate(String column,
int year,
int month,
int date,
SqlEnum comparison)
Deprecated. Convenience method to add a Date object specified by year, month, and date into the Criteria. |
Criteria |
Criteria.andIn(Column column,
Collection<?> values)
Deprecated. Adds an 'IN' clause with the criteria supplied as a List. |
Criteria |
Criteria.andIn(Column column,
Object[] values)
Deprecated. Adds an 'IN' clause with the criteria supplied as an Object array. |
Criteria |
Criteria.andIn(String column,
Collection<?> values)
Deprecated. Adds an 'IN' clause with the criteria supplied as a List. |
Criteria |
Criteria.andIn(String column,
Object[] values)
Deprecated. Adds an 'IN' clause with the criteria supplied as an Object array. |
Criteria |
Criteria.andNotIn(Column column,
Collection<?> values)
Deprecated. Adds a 'NOT IN' clause with the criteria supplied as a List. |
Criteria |
Criteria.andNotIn(Column column,
Object[] values)
Deprecated. Adds a 'NOT IN' clause with the criteria supplied as an Object array. |
Criteria |
Criteria.andNotIn(String column,
Collection<?> values)
Deprecated. Adds a 'NOT IN' clause with the criteria supplied as a List. |
Criteria |
Criteria.andNotIn(String column,
Object[] values)
Deprecated. Adds a 'NOT IN' clause with the criteria supplied as an Object array. |
Criteria |
SummaryHelper.buildCriteria(Criteria c)
Deprecated. please use buildCriteria(org.apache.torque.criteria.Criteria) instead. This method will be removed in a future version of Torque. |
Criteria |
Criteria.or(Column column,
Object value)
Deprecated. This method adds a new criterion to the list of criterias. |
Criteria |
Criteria.or(Column column,
Object value,
SqlEnum comparison)
Deprecated. This method adds a new criterion to the list of criterias. |
Criteria |
Criteria.or(Criteria.Criterion c)
Deprecated. This method adds a prepared Criterion object to the Criteria. |
Criteria |
Criteria.or(String column,
Object value)
Deprecated. This method adds a new criterion to the list of criterias. |
Criteria |
Criteria.or(String column,
Object value,
SqlEnum comparison)
Deprecated. This method adds a new criterion to the list of criterias. |
Criteria |
Criteria.or(String table,
String column,
Object value)
Deprecated. use or(Column, Object) instead |
Criteria |
Criteria.or(String table,
String column,
Object value,
SqlEnum comparison)
Deprecated. use or(Column, Object, SqlEnum) instead |
Criteria |
Criteria.orDate(Column column,
int year,
int month,
int date)
Deprecated. Convenience method to add a Date object specified by year, month, and date into the Criteria. |
Criteria |
Criteria.orDate(Column column,
int year,
int month,
int date,
SqlEnum comparison)
Deprecated. Convenience method to add a Date object specified by year, month, and date into the Criteria. |
Criteria |
Criteria.orDate(String column,
int year,
int month,
int date)
Deprecated. Convenience method to add a Date object specified by year, month, and date into the Criteria. |
Criteria |
Criteria.orDate(String column,
int year,
int month,
int date,
SqlEnum comparison)
Deprecated. Convenience method to add a Date object specified by year, month, and date into the Criteria. |
Criteria |
Criteria.orIn(Column column,
Collection<?> values)
Deprecated. Adds an 'IN' clause with the criteria supplied as a List. |
Criteria |
Criteria.orIn(Column column,
Object[] values)
Deprecated. Adds an 'IN' clause with the criteria supplied as an Object array. |
Criteria |
Criteria.orIn(String column,
Collection<?> values)
Deprecated. Adds an 'IN' clause with the criteria supplied as a List. |
Criteria |
Criteria.orIn(String column,
Object[] values)
Deprecated. Adds an 'IN' clause with the criteria supplied as an Object array. |
Criteria |
Criteria.orNotIn(Column column,
Collection<?> values)
Deprecated. Adds a 'NOT IN' clause with the criteria supplied as a List. |
Criteria |
Criteria.orNotIn(Column column,
Object[] values)
Deprecated. Adds a 'NOT IN' clause with the criteria supplied as an Object array. |
Criteria |
Criteria.orNotIn(String column,
Collection<?> values)
Deprecated. Adds a 'NOT IN' clause with the criteria supplied as a List. |
Criteria |
Criteria.orNotIn(String column,
Object[] values)
Deprecated. Adds a 'NOT IN' clause with the criteria supplied as an Object array. |
Criteria |
Criteria.setIgnoreCase(boolean b)
Deprecated. Sets whether case should be ignored in where clauses and order by whenever String columns are encountered. |
Criteria |
Criteria.setLimit(int limit)
Deprecated. Set limit. |
Criteria |
Criteria.setOffset(long offset)
Deprecated. Set offset. |
Criteria |
Criteria.setSingleRecord(boolean b)
Deprecated. Set single record? Set this to true if you expect the query
to result in only a single result record (the default behaviour is to
throw a TorqueException if multiple records are returned when the query
is executed). |
Methods in org.apache.torque.util with parameters of type Criteria | ||
---|---|---|
void |
BasePeerImpl.addSelectColumns(Criteria criteria)
Deprecated. Please use addSelectColumns( org.apache.torque.criteria.Criteria). This method will be removed in a future version of Torque. |
|
Criteria |
SummaryHelper.buildCriteria(Criteria c)
Deprecated. please use buildCriteria(org.apache.torque.criteria.Criteria) instead. This method will be removed in a future version of Torque. |
|
void |
BasePeerImpl.correctBooleans(Criteria criteria)
Deprecated. Please use correctBooleans( org.apache.torque.criteria.Criteria). This method will be removed in a future version of Torque. |
|
static void |
BasePeer.correctBooleans(Criteria criteria)
Deprecated. Please use correctBooleans( org.apache.torque.criteria.Criteria, TableMap). This method will be removed in a future version of Torque. |
|
int |
CountHelper.count(Criteria c)
Deprecated. use org.apache.torque.criteria.Criteria instead of org.apache.torque.util.Criteria. This method will be removed in Torque 4.1. |
|
int |
CountHelper.count(Criteria c,
Column column)
Deprecated. use org.apache.toraue.criteria.Criteria instead of org.apache.toraue.util.Criteria. This method will be removed in Torque 4.1. |
|
int |
CountHelper.count(Criteria c,
Connection conn)
Deprecated. use org.apache.toraue.criteria.Criteria instead of org.apache.toraue.util.Criteria. This method will be removed in Torque 4.1. |
|
int |
CountHelper.count(Criteria c,
Connection conn,
Column column)
Deprecated. use org.apache.toraue.criteria.Criteria instead of org.apache.toraue.util.Criteria. This method will be removed in Torque 4.1. |
|
int |
CountHelper.count(Criteria c,
Connection conn,
String columnName,
TableMap tableMap)
Deprecated. use org.apache.toraue.criteria.Criteria instead of org.apache.toraue.util.Criteria. This method will be removed in Torque 4.1. |
|
int |
CountHelper.count(Criteria c,
String columnName)
Deprecated. use org.apache.toraue.criteria.Criteria instead of org.apache.toraue.util.Criteria. This method will be removed in Torque 4.1. |
|
protected int |
BasePeerImpl.doDelete(Criteria criteria)
Deprecated. This method causes unexpected results when joins are used. Please use doDelete( org.apache.torque.criteria.Criteria, TableMap). This method will be removed in a future version of Torque. |
|
static int |
BasePeer.doDelete(Criteria criteria)
Deprecated. This method causes unexpected results when joins are used. Please use doDelete(org.apache.torque.criteria.Criteria, TableMap). This method will be removed in a future version of Torque. |
|
protected int |
BasePeerImpl.doDelete(Criteria criteria,
Connection con)
Deprecated. This method causes unexpected results when joins are used. Please use doDelete( org.apache.torque.criteria.Criteria, TableMap, Connection). This method will be removed in a future version of Torque. |
|
static int |
BasePeer.doDelete(Criteria criteria,
Connection con)
Deprecated. This method causes unexpected results when joins are used. Please use doDelete(org.apache.torque.criteria.Criteria, TableMap, Connection). This method will be removed in a future version of Torque. |
|
List<T> |
BasePeerImpl.doSelect(Criteria criteria)
Deprecated. Please use doSelect(org.apache.torque.criteria.Criteria). This method will be removed in a future version of Torque. |
|
List<T> |
BasePeerImpl.doSelect(Criteria criteria,
Connection connection)
Deprecated. Please use doSelect(org.apache.torque.criteria.Criteria, Connection). This method will be removed in a future version of Torque. |
|
static
|
BasePeer.doSelect(Criteria criteria,
RecordMapper<T> mapper)
Deprecated. Please use doSelect(org.apache.torque.criteria.Criteria, RecordMapper, TableMap). This method will be removed in a future version of Torque. |
|
static
|
BasePeer.doSelect(Criteria criteria,
RecordMapper<T> mapper,
Connection connection)
Deprecated. Please use doSelect(org.apache.torque.criteria.Criteria, RecordMapper, TableMap, Connection). This method will be removed in a future version of Torque. |
|
|
BasePeerImpl.doSelect(Criteria criteria,
RecordMapper<TT> mapper)
Deprecated. Please use doSelect(org.apache.torque.criteria.Criteria, RecordMapper). This method will be removed in a future version of Torque. |
|
|
BasePeerImpl.doSelect(Criteria criteria,
RecordMapper<TT> mapper,
Connection connection)
Deprecated. Please use doSelect(org.apache.torque.criteria.Criteria, RecordMapper, Connection). This method will be removed in a future version of Torque. |
|
int |
BasePeerImpl.doUpdate(Criteria selectCriteria,
ColumnValues updateValues)
Deprecated. Please use doUpdate( org.apache.torque.criteria.Criteria, ColumnValues). This method will be removed in a future version of Torque. |
|
static int |
BasePeer.doUpdate(Criteria selectCriteria,
ColumnValues updateValues)
Deprecated. Please use doUpdate( org.apache.torque.criteria.Criteria, ColumnValues). This method will be removed in a future version of Torque. |
|
int |
BasePeerImpl.doUpdate(Criteria criteria,
ColumnValues updateValues,
Connection connection)
Deprecated. Please use doUpdate(org.apache.torque.criteria.Criteria, ColumnValues, Connection). This method will be removed in a future version of Torque. |
|
static int |
BasePeer.doUpdate(Criteria criteria,
ColumnValues updateValues,
Connection connection)
Deprecated. Please use doUpdate(org.apache.torque.criteria.Criteria, ColumnValues, Connection). This method will be removed in a future version of Torque. |
|
protected void |
BasePeerImpl.setDbName(Criteria crit)
Deprecated. Please use addSelectColumns( org.apache.torque.criteria.Criteria). This method will be removed in a future version of Torque. |
|
List<ListOrderedMapCI> |
SummaryHelper.summarize(Criteria crit)
Deprecated. please use summarize(org.apache.torque.criteria.Criteria) instead. This method will be removed in a future version of Torque. |
|
List<ListOrderedMapCI> |
SummaryHelper.summarize(Criteria crit,
Connection conn)
Deprecated. please use summarize(org.apache.torque.criteria.Criteria, Connection) instead. This method will be removed in a future version of Torque. |
|
List<ListOrderedMapCI> |
SummaryHelper.summarize(Criteria crit,
List<Class<?>> resultTypes)
Deprecated. Please use summarize(org.apache.torque.criteria.Criteria, List |
|
List<ListOrderedMapCI> |
SummaryHelper.summarize(Criteria crit,
List<Class<?>> resultTypes,
Connection conn)
Deprecated. please use summarize(org.apache.torque.criteria.Criteria, List |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |