| Package | Description | 
|---|---|
| org.apache.torque | Torque is an object-relational mapper for Java. | 
| org.apache.torque.criteria | This package contains Torque's Criteria classes. | 
| org.apache.torque.manager | A manager/factory API for use with Torque-generated data beans. | 
| org.apache.torque.map | Description of the schema layout. | 
| org.apache.torque.sql | This package contains classes which are mainly used in the SQL generation
    process. | 
| org.apache.torque.util | Misc. | 
| org.apache.torque.util.functions | SQL function handling | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | ColumnImplAn implementation of the column interface. | 
| Modifier and Type | Method and Description | 
|---|---|
| Map<String,Column> | Criteria. getAsColumns()Get the column aliases. | 
| Modifier and Type | Method and Description | 
|---|---|
| Criteria | Criteria. addAscendingOrderByColumn(Column column)Adds an order by clause, explicitly specifying ascending. | 
| Criteria | Criteria. addAscendingOrderByColumn(Column column,
                         boolean ignoreCase)Add an order by clause, explicitly specifying ascending. | 
| Criteria | Criteria. addAsColumn(String name,
           Column clause)Add an AS clause to the select columns. | 
| Criteria | Criteria. addDescendingOrderByColumn(Column column)Add order by column name, explicitly specifying descending. | 
| Criteria | Criteria. addDescendingOrderByColumn(Column column,
                          boolean ignoreCase)Add order by column name, explicitly specifying descending. | 
| Criteria | Criteria. addGroupByColumn(Column groupBy)Add a group by clause. | 
| Criteria | Criteria. addJoin(Column left,
       Column right)Adds a join to the criteria, E.g. | 
| Criteria | Criteria. addJoin(Column left,
       Column right,
       JoinType joinType)Adds a join to the criteria, E.g. | 
| Criteria | Criteria. addJoin(Column left,
       Column right,
       SqlEnum comparison,
       JoinType joinType)Adds a join to the criteria, E.g. | 
| Criteria | Criteria. addSelectColumn(Column column)Adds a select column to the Criteria. | 
| Criteria | Criteria. andVerbatimSql(String sql,
              Object[] replacements,
              Column toAddToFromClause1,
              Column toAddToFromClause2)ANDs a verbatim sql condition to this Criteria. | 
| Criteria | Criteria. orVerbatimSql(String sql,
             Object[] replacements,
             Column toAddToFromClause1,
             Column toAddToFromClause2)ORs a verbatim sql condition to this Criteria. | 
| Criteria | Criteria. whereVerbatimSql(String sql,
                Object[] replacements,
                Column toAddToFromClause1,
                Column toAddToFromClause2)Convenience method to AND a verbatim sql condition to this Criteria. | 
| Constructor and Description | 
|---|
| Join(Column leftColumn,
    Column rightColumn,
    SqlEnum comparison,
    JoinType joinType)Constructor with the comparison operator. | 
| Modifier and Type | Method and Description | 
|---|---|
| List<Column> | CacheListener. getInterestedFields()Get the list of fields we are listening for | 
| Modifier and Type | Method and Description | 
|---|---|
| protected void | AbstractBaseManager. addValidField(Column... columns)Add variable number of  fields to the list potentially monitored by a listener | 
| protected <TT extends Persistent> | AbstractBaseManager. notifyListeners(Column column,
               TT oldOm,
               TT om)Notify all listeners associated to the column that an object has changed | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | ColumnMapColumnMap is used to model a column of a table in a database. | 
| Modifier and Type | Method and Description | 
|---|---|
| static ColumnMap | MapHelper. getColumnMap(Column column,
            Criteria criteria)Returns the column map for a column. | 
| Modifier and Type | Method and Description | 
|---|---|
| Column | OrderBy. getColumn()Returns the column to order by. | 
| Constructor and Description | 
|---|
| OrderBy(Column column,
       SqlEnum order,
       boolean ignoreCase)Constructor. | 
| Modifier and Type | Method and Description | 
|---|---|
| Column | JdbcTypedValue. getSqlExpression()Returns the sqlExpression to use instead of the value. | 
| Modifier and Type | Method and Description | 
|---|---|
| Set<Map.Entry<Column,JdbcTypedValue>> | ColumnValues. entrySet() | 
| List<Column> | SummaryHelper. getGroupByColumns() | 
| Set<Column> | ColumnValues. keySet() | 
| Modifier and Type | Method and Description | 
|---|---|
| boolean | UniqueColumnList. add(Column column)Adds a Column to the list, if no column with the same SQL Expression
 is not already contained. | 
| void | SummaryHelper. addGroupBy(Column column)
 Add a column that will be used to group the aggregate results by. | 
| boolean | UniqueColumnList. containsSqlExpression(Column column)Checks if this list already contains a column with the same
 SQL expression. | 
| int | CountHelper. count(Criteria c,
     Column column)Returns the number of rows in a query. | 
| int | CountHelper. count(Criteria c,
     Connection conn,
     Column column)Returns the number of rows in a query. | 
| int | BasePeerImpl. doInsert(Column[] toInsertInto,
        Criteria criteria)Executes a insert into...select statement. | 
| int | BasePeerImpl. doInsert(Column[] toInsertInto,
        Criteria criteria,
        Connection connection)Executes a insert into...select statement. | 
| int | BasePeerImpl. doInsert(Column[] toInsertInto,
        Criteria criteria,
        String dbName)Executes a insert into...select statement. | 
| int | BasePeerImpl. doInsert(Column[] toInsertInto,
        Criteria criteria,
        String dbName,
        Connection connection)Executes a insert into...select statement. | 
| JdbcTypedValue | ColumnValues. put(Column key,
   JdbcTypedValue value) | 
| Modifier and Type | Method and Description | 
|---|---|
| void | ColumnValues. putAll(Map<? extends Column,? extends JdbcTypedValue> t) | 
| Constructor and Description | 
|---|
| JdbcTypedValue(Column sqlExpression)Constructs a JdbcTypedValue with a verbatim SQL. | 
| Constructor and Description | 
|---|
| ColumnValues(Map<Column,JdbcTypedValue> columnValues)Constructor. | 
| ColumnValues(Map<Column,JdbcTypedValue> columnValues,
            String dbName)Constructor. | 
| Modifier and Type | Interface and Description | 
|---|---|
| interface  | SQLFunctionDefine the basic methods that classes that support SQL Functions
 need to implement for Classes that use them. | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | AbstractFunctionA default framework that implements the core SQLFunction interface
 requirements that can be used to build specific functions on. | 
| class  | AggregateFunctionA container for classes that will generate SQL for the SQL99 Standard
 Aggregate functions. | 
| class  | AvgSQL99 Standard Average function. | 
| class  | CountSQL99 Standard count function. | 
| class  | MaxSQL99 Standard max function. | 
| class  | MinSQL99 Standard min function. | 
| class  | SumSQL99 Standard sum function. | 
| Modifier and Type | Method and Description | 
|---|---|
| Column | AbstractFunction. getColumn()Returns the column to which this function is applied. | 
| Column | AggregateFunction. getColumn()Returns the column the function is applied to. | 
| Column | SQLFunction. getColumn()Returns the column to which this function is applied. | 
| Modifier and Type | Method and Description | 
|---|---|
| void | AggregateFunction. setColumn(Column column)Sets the column the function is applied to. | 
| Constructor and Description | 
|---|
| AggregateFunction(String function,
                 Column column,
                 boolean distinct)Constructor for aggregate functions. | 
| Avg(Column column)Construct an AVG function class with the column to average over. | 
| Avg(Column column,
   boolean distinct)Construct an AVG function class with the column to average over
 and possibly a distinct modifier. | 
| Count(Column column)Construct an COUNT function class with the column to count. | 
| Count(Column column,
     boolean distinct)Construct an COUNT function class with the column to count
 and possibly a distinct modifier. | 
| Max(Column column)Construct an MAX function class with the column to calculate the maximum
 from. | 
| Max(Column column,
   boolean distinct)Construct an MAX function class with the column to calculate
 the maximum from and possibly a distinct modifier. | 
| Min(Column column)Construct an MIN function class with the column to calculate the minimum
 from. | 
| Min(Column column,
   boolean distinct)Construct an MIN function class with the column to calculate
 the minimum from and possibly a distinct modifier. | 
| Sum(Column column)Construct an SUM function class with the column to sum over. | 
| Sum(Column column,
   boolean distinct)Construct an SUM function class with the column to sum over
 and possibly a distinct modifier. | 
Copyright © 2000–2020 The Apache Software Foundation. All rights reserved.