- abort(Executor) - Method in class org.apache.torque.util.TorqueConnectionImpl
-
- AbstractAdapter - Class in org.apache.torque.adapter
-
This class is the abstract base for any database adapter
Support for new databases is added by subclassing this
class and implementing its abstract methods, and by
registering the new database adapter and its corresponding
JDBC driver in the service configuration file.
- AbstractAdapter() - Constructor for class org.apache.torque.adapter.AbstractAdapter
-
Empty constructor.
- AbstractBaseManager<T extends Persistent> - Class in org.apache.torque.manager
-
This class contains common functionality of a Manager for
instantiating OM's.
- AbstractBaseManager() - Constructor for class org.apache.torque.manager.AbstractBaseManager
-
- AbstractDataSourceFactory - Class in org.apache.torque.dsfactory
-
A class that contains common functionality of the factories in this
package.
- AbstractDataSourceFactory() - Constructor for class org.apache.torque.dsfactory.AbstractDataSourceFactory
-
- AbstractFunction - Class in org.apache.torque.util.functions
-
A default framework that implements the core SQLFunction interface
requirements that can be used to build specific functions on.
- AbstractFunction() - Constructor for class org.apache.torque.util.functions.AbstractFunction
-
Functions should only be created via the FunctionFactory class.
- AbstractIdGenerator - Class in org.apache.torque.oid
-
This class serves as a common base class for the sequence-based and the
autoincrement-based id generators
- AbstractIdGenerator(Adapter, String) - Constructor for class org.apache.torque.oid.AbstractIdGenerator
-
Creates an IdGenerator which will work with the specified database.
- AbstractPeerImpl<T extends ObjectModel> - Class in org.apache.torque.util
-
This is an abstract layer for all generated peer classes that
implements several convenience methods that otherwise would have
to be generated.
- AbstractPeerImpl() - Constructor for class org.apache.torque.util.AbstractPeerImpl
-
Default constructor
- AbstractPeerImpl(RecordMapper<T>, TableMap, String) - Constructor for class org.apache.torque.util.AbstractPeerImpl
-
Constructor providing the objects to be injected as parameters.
- AbstractWhereClausePsPartBuilder - Class in org.apache.torque.sql.whereclausebuilder
-
Abstract base class for a WhereClausePsPartBuilder.
- AbstractWhereClausePsPartBuilder() - Constructor for class org.apache.torque.sql.whereclausebuilder.AbstractWhereClausePsPartBuilder
-
- Adapter - Interface in org.apache.torque.adapter
-
DB
defines the interface for a Torque database
adapter.
- adapter - Variable in class org.apache.torque.oid.AbstractIdGenerator
-
The adapter that knows the correct sql syntax
- ADAPTER_KEY - Static variable in interface org.apache.torque.adapter.Adapter
-
Key for the configuration which contains database adapters.
- AdapterFactory - Class in org.apache.torque.adapter
-
This class creates different
Adapter
objects based on specified JDBC driver name.
- add(Column) - Method in class org.apache.torque.util.UniqueColumnList
-
Adds a Column to the list, if no column with the same SQL Expression
is not already contained.
- add(T) - Method in class org.apache.torque.util.UniqueList
-
Adds an Object to the list.
- addAggregate(String, SQLFunction) - Method in class org.apache.torque.util.SummaryHelper
-
Add in an Aggregate function to the summary information.
- addAlias(String, String) - Method in class org.apache.torque.criteria.Criteria
-
Allows one to specify an alias for a table.
- addAlias(String, Criteria) - Method in class org.apache.torque.criteria.Criteria
-
Allows one to specify an alias for a subselect.
- addArgument(Object) - Method in class org.apache.torque.util.functions.AbstractFunction
-
Add an argument to the function argument list
- addAscendingOrderByColumn(Column) - Method in class org.apache.torque.criteria.Criteria
-
Adds an order by clause, explicitly specifying ascending.
- addAscendingOrderByColumn(Column, boolean) - Method in class org.apache.torque.criteria.Criteria
-
Add an order by clause, explicitly specifying ascending.
- addAsColumn(String, Column) - Method in class org.apache.torque.criteria.Criteria
-
Add an AS clause to the select columns.
- addCacheListenerImpl(CacheListener<?>) - Method in class org.apache.torque.manager.AbstractBaseManager
-
Add a new listener
- addColumn(ColumnMap) - Method in class org.apache.torque.map.TableMap
-
Add a pre-created column to this table.
- addColumns(ForeignKeyMap.ColumnPair) - Method in class org.apache.torque.map.ForeignKeyMap
-
Adds a column pair to the foreign key.
- addDescendingOrderByColumn(Column) - Method in class org.apache.torque.criteria.Criteria
-
Add order by column name, explicitly specifying descending.
- addDescendingOrderByColumn(Column, boolean) - Method in class org.apache.torque.criteria.Criteria
-
Add order by column name, explicitly specifying descending.
- addedObject(T) - Method in interface org.apache.torque.manager.CacheListener
-
Notify listener that an object has been added to the database
- addForeignKey(ForeignKeyMap) - Method in class org.apache.torque.map.TableMap
-
Add a foreign key to this table.
- addFrom(String) - Method in class org.apache.torque.criteria.Criteria
-
Adds a table to the from clause, not using a joinType or joinCondition.
- addFrom(FromElement) - Method in class org.apache.torque.criteria.Criteria
-
Adds a new Element to the from clause.
- addGroupBy(Column) - Method in class org.apache.torque.util.SummaryHelper
-
Add a column that will be used to group the aggregate results by.
- addGroupByColumn(Column) - Method in class org.apache.torque.criteria.Criteria
-
Add a group by clause.
- addHaving(Criterion) - Method in class org.apache.torque.criteria.Criteria
-
This method adds a prepared Criterion object to the Criteria as a having
clause.
- addIdGenerator(IDMethod, IdGenerator) - Method in class org.apache.torque.Database
-
Adds an IdGenerator to the database.
- addInheritanceMap(InheritanceMap) - Method in class org.apache.torque.map.ColumnMap
-
Add an associated inheritance mapping.
- addJoin(Column, Column) - Method in class org.apache.torque.criteria.Criteria
-
Adds a join to the criteria, E.g.
- addJoin(Column, Column, JoinType) - Method in class org.apache.torque.criteria.Criteria
-
Adds a join to the criteria, E.g.
- addJoin(Column, Column, SqlEnum, JoinType) - Method in class org.apache.torque.criteria.Criteria
-
Adds a join to the criteria, E.g.
- addJoin(String, String, Criterion, JoinType) - Method in class org.apache.torque.criteria.Criteria
-
Adds a join to the criteria.
- addJoin(PreparedStatementPart, PreparedStatementPart, Criterion, JoinType) - Method in class org.apache.torque.criteria.Criteria
-
Adds a join to the criteria, E.g.
- addMapper(RecordMapper<?>, int) - Method in class org.apache.torque.om.mapper.CompositeMapper
-
Adds a new mapper to be applied to a result set.
- addPreparedStatementReplacement(Object) - Method in class org.apache.torque.sql.whereclausebuilder.CombinedPreparedStatementPart
-
Adds a PreparedStatementPart to the list of contained PreparedStatementParts,
which contains only the given replacement.
- addSelectColumn(Column) - Method in class org.apache.torque.criteria.Criteria
-
Adds a select column to the Criteria.
- addSelectColumns(Criteria) - Method in class org.apache.torque.util.BasePeerImpl
-
Add all the columns needed to create a new object.
- addTable(String) - Method in class org.apache.torque.map.DatabaseMap
-
Add a new table to the database by name.
- addValidField(Column...) - Method in class org.apache.torque.manager.AbstractBaseManager
-
Add variable number of fields to the list potentially monitored by a listener
- AggregateFunction - Class in org.apache.torque.util.functions
-
A container for classes that will generate SQL for the SQL99 Standard
Aggregate functions.
- AggregateFunction(String, Column, boolean) - Constructor for class org.apache.torque.util.functions.AggregateFunction
-
Constructor for aggregate functions.
- ALL - Static variable in class org.apache.torque.criteria.Criteria
-
Comparison type.
- ALL - Static variable in class org.apache.torque.criteria.SqlEnum
-
SQL Expression "ALL ".
- ALT_NOT_EQUAL - Static variable in class org.apache.torque.criteria.Criteria
-
Comparison type.
- ALT_NOT_EQUAL - Static variable in class org.apache.torque.criteria.SqlEnum
-
SQL Expression "!=".
- and(Criterion) - Method in class org.apache.torque.criteria.Criteria
-
"AND"s Criterion object with the conditions in this Criteria.
- and(Object, Object) - Method in class org.apache.torque.criteria.Criteria
-
"AND"s a new condition with the conditions in this Criteria.
- and(Object, Object, SqlEnum) - Method in class org.apache.torque.criteria.Criteria
-
"AND"s a new condition with the conditions in this Criteria.
- AND - Static variable in class org.apache.torque.criteria.Criterion
-
Constant for the operator " AND ".
- and(Criterion) - Method in class org.apache.torque.criteria.Criterion
-
Replaces this criterion's condition with
(this criterion's condition AND criterion).
- andDate(Object, int, int, int) - Method in class org.apache.torque.criteria.Criteria
-
Convenience method to AND a new date comparison with the conditions
in this Criteria.
- andDate(Object, int, int, int, SqlEnum) - Method in class org.apache.torque.criteria.Criteria
-
Convenience method to AND a new date comparison with the conditions
in this Criteria.
- andIn(Object, Object[]) - Method in class org.apache.torque.criteria.Criteria
-
Convenience method to AND a "in" comparison with the conditions
in this Criteria.
- andIn(Object, Collection<?>) - Method in class org.apache.torque.criteria.Criteria
-
Convenience method to AND a "in" comparison with the conditions
in this Criteria.
- andNotIn(Object, Object[]) - Method in class org.apache.torque.criteria.Criteria
-
Convenience method to AND a "not in" comparison with the conditions
in this Criteria.
- andNotIn(Object, Collection<?>) - Method in class org.apache.torque.criteria.Criteria
-
Convenience method to AND a "not in" comparison with the conditions
in this Criteria.
- andVerbatimSql(String, Object[]) - Method in class org.apache.torque.criteria.Criteria
-
Ands a verbatim sql condition to this Criteria.
- andVerbatimSql(String, Object[], Column, Column) - Method in class org.apache.torque.criteria.Criteria
-
ANDs a verbatim sql condition to this Criteria.
- append(PreparedStatementPart) - Method in class org.apache.torque.criteria.PreparedStatementPartImpl
-
Appends another PreparedStatementPart to this part.
- append(SqlEnum) - Method in class org.apache.torque.criteria.PreparedStatementPartImpl
-
Appends a SqlEnum to this part.
- append(PreparedStatementPart) - Method in class org.apache.torque.sql.whereclausebuilder.CombinedPreparedStatementPart
-
Adds a PreparedStatementPart to the list of contained PreparedStatementParts.
- appendSetOperation(Criteria, SqlEnum) - Method in class org.apache.torque.criteria.Criteria
-
Appends a set operation (union, except, intersect) to this Criteria.
- appendSql(String) - Method in class org.apache.torque.sql.whereclausebuilder.CombinedPreparedStatementPart
-
Adds a PreparedStatementPart to the list of contained PreparedStatementParts,
which contains only the given sql.
- appendTo(StringBuilder) - Method in class org.apache.torque.criteria.Criterion
-
Appends a debug String representation of the Criterion
onto the String builder.
- appendTo(StringBuilder) - Method in class org.apache.torque.om.ComboKey
-
- appendTo(StringBuilder) - Method in class org.apache.torque.om.ObjectKey
-
Appends a String representation of the key to a buffer.
- applyConfiguration(Configuration, Object) - Method in class org.apache.torque.dsfactory.AbstractDataSourceFactory
-
Iterate over a Configuration subset and apply all
properties to a passed object which must contain Bean
setter and getter
- AS - Static variable in class org.apache.torque.criteria.SqlEnum
-
SQL Expression " AS ".
- ASC - Static variable in class org.apache.torque.criteria.SqlEnum
-
SQL Expression "ASC".
- assertNoComposite() - Method in class org.apache.torque.criteria.Criteria
-
Checks that this Criteria is no composite Criteria, and throws a
TorqueRuntimeException otherwise.
- AUTODETECT_ADAPTER - Static variable in interface org.apache.torque.adapter.Adapter
-
Special adapter for auto-detection.
- autoDetectAdapter(Connection) - Static method in class org.apache.torque.adapter.AdapterFactory
-
Creates a new instance of the Torque database adapter based on
the JDBC meta-data
- AutoIncrementIdGenerator - Class in org.apache.torque.oid
-
This generator works with databases that have an sql syntax that
allows the retrieval of the last id used to insert a row for a
Connection.
- AutoIncrementIdGenerator(Adapter, String) - Constructor for class org.apache.torque.oid.AutoIncrementIdGenerator
-
Creates an IdGenerator which will work with the specified database.
- Avg - Class in org.apache.torque.util.functions
-
SQL99 Standard Average function.
- Avg(Column) - Constructor for class org.apache.torque.util.functions.Avg
-
Construct an AVG function class with the column to average over.
- Avg(String) - Constructor for class org.apache.torque.util.functions.Avg
-
Construct an AVG function class with an SQL expression to average over.
- Avg(Column, boolean) - Constructor for class org.apache.torque.util.functions.Avg
-
Construct an AVG function class with the column to average over
and possibly a distinct modifier.
- cache - Variable in class org.apache.torque.manager.AbstractBaseManager
-
used to cache the om objects.
- CACHE_KEY - Static variable in class org.apache.torque.Torque
-
Name of config property to determine whether caching is used.
- cacheGet(ObjectKey<?>) - Method in class org.apache.torque.manager.AbstractBaseManager
-
Get an object from cache
- CacheListener<T extends Persistent> - Interface in org.apache.torque.manager
-
Listener for cache events
- CLASSNAME_KEY - Static variable in class org.apache.torque.dsfactory.JndiDataSourceFactory
-
Key for the configuration property which contains the class name
of the datasource to be bound into jndi.
- clear() - Method in class org.apache.torque.criteria.Criteria
-
Resets this Criteria to its original state.
- clear() - Method in class org.apache.torque.manager.MethodResultCache
-
Clear the cache
- clear() - Method in class org.apache.torque.manager.NoOpMethodResultCache
-
Clear the cache
- clear() - Method in class org.apache.torque.util.ColumnValues
-
- clear() - Method in class org.apache.torque.util.SummaryHelper
-
Resets the class internal variables to their initial states so
the class can be re-used like a new class.
- clearImpl() - Method in class org.apache.torque.manager.AbstractBaseManager
-
Clears the cache
- clearOptions() - Method in class org.apache.torque.map.OptionSupport
-
Clears all options.
- clearWarnings() - Method in class org.apache.torque.util.TorqueConnectionImpl
-
- clone() - Method in class org.apache.torque.criteria.Criteria
-
Returns a shallow copy of this object.
- close() - Method in interface org.apache.torque.dsfactory.DataSourceFactory
-
A hook which is called when the resources of the associated DataSource
can be released.
- close() - Method in class org.apache.torque.dsfactory.JndiDataSourceFactory
-
Does nothing.
- close() - Method in class org.apache.torque.dsfactory.PerUserPool2DataSourceFactory
-
Closes the pool associated with this factory and releases it.
- close() - Method in class org.apache.torque.dsfactory.PerUserPoolDataSourceFactory
-
Deprecated.
Closes the pool associated with this factory and releases it.
- close() - Method in class org.apache.torque.dsfactory.SharedPool2DataSourceFactory
-
Closes the pool associated with this factory and releases it.
- close() - Method in class org.apache.torque.dsfactory.SharedPoolDataSourceFactory
-
Deprecated.
Closes the pool associated with this factory and releases it.
- close() - Method in interface org.apache.torque.util.TorqueConnection
-
- close() - Method in class org.apache.torque.util.TorqueConnectionImpl
-
- closeConnection(Connection) - Method in interface org.apache.torque.avalon.Torque
-
Closes a connection.
- closeConnection(Connection) - Static method in class org.apache.torque.Torque
-
Closes a connection.
- closeConnection(Connection) - Method in class org.apache.torque.TorqueInstance
-
Closes a connection.
- COL_NEXT_ID - Static variable in class org.apache.torque.oid.IDBroker
-
Next_ID column name
- COL_QUANTITY - Static variable in class org.apache.torque.oid.IDBroker
-
Quantity column name
- COL_TABLE_ID - Static variable in class org.apache.torque.oid.IDBroker
-
ID column name
- COL_TABLE_NAME - Static variable in class org.apache.torque.oid.IDBroker
-
Table_Name column name
- Column - Interface in org.apache.torque
-
The metadata of a column (or pseudocolumn) in a database.
- ColumnAccessByName - Interface in org.apache.torque.om
-
Define accessors by name.
- ColumnImpl - Class in org.apache.torque
-
An implementation of the column interface.
- ColumnImpl(String, String) - Constructor for class org.apache.torque.ColumnImpl
-
Constructor.
- ColumnImpl(String, String, String) - Constructor for class org.apache.torque.ColumnImpl
-
Constructor.
- ColumnImpl(String, String, String, String) - Constructor for class org.apache.torque.ColumnImpl
-
Constructor.
- ColumnImpl(String) - Constructor for class org.apache.torque.ColumnImpl
-
Constructor which tries to guess schema, table and column names from
an SQL expression.
- ColumnMap - Class in org.apache.torque.map
-
ColumnMap is used to model a column of a table in a database.
- ColumnMap(String, TableMap) - Constructor for class org.apache.torque.map.ColumnMap
-
Constructor.
- ColumnPair(ForeignKeyMap, ColumnMap, ColumnMap) - Constructor for class org.apache.torque.map.ForeignKeyMap.ColumnPair
-
Constructor.
- ColumnPair(ForeignKeyMap, ColumnMap, String) - Constructor for class org.apache.torque.map.ForeignKeyMap.ColumnPair
-
Constructor.
- ColumnValues - Class in org.apache.torque.util
-
A class containing values for database columns.
- ColumnValues() - Constructor for class org.apache.torque.util.ColumnValues
-
Constructor with no contained column values.
- ColumnValues(String) - Constructor for class org.apache.torque.util.ColumnValues
-
Constructor with no contained column values.
- ColumnValues(Map<Column, JdbcTypedValue>) - Constructor for class org.apache.torque.util.ColumnValues
-
Constructor.
- ColumnValues(Map<Column, JdbcTypedValue>, String) - Constructor for class org.apache.torque.util.ColumnValues
-
Constructor.
- CombinedPreparedStatementPart - Class in org.apache.torque.sql.whereclausebuilder
-
A PreparedStatementPart which consists of a list of other PreparedStatementParts.
- CombinedPreparedStatementPart() - Constructor for class org.apache.torque.sql.whereclausebuilder.CombinedPreparedStatementPart
-
Constructor.
- CombinedPreparedStatementPart(PreparedStatementPart) - Constructor for class org.apache.torque.sql.whereclausebuilder.CombinedPreparedStatementPart
-
Constructor.
- ComboKey - Class in org.apache.torque.om
-
This class can be used as an ObjectKey to uniquely identify an
object within an application where the key consists of multiple
entities (such a String[] representing a multi-column primary key).
- ComboKey() - Constructor for class org.apache.torque.om.ComboKey
-
Initializes the internal key value to null
.
- ComboKey(String) - Constructor for class org.apache.torque.om.ComboKey
-
Creates an ComboKey and set its internal representation
- ComboKey(SimpleKey<?>[]) - Constructor for class org.apache.torque.om.ComboKey
-
Creates an ComboKey and set its internal representation
- ComboKey(ComboKey) - Constructor for class org.apache.torque.om.ComboKey
-
Creates a ComboKey that is equivalent to key.
- commit() - Method in class org.apache.torque.util.TorqueConnectionImpl
-
- commit(Connection) - Static method in class org.apache.torque.util.Transaction
-
Commit a transaction and close the connection.
- commit(Connection) - Method in interface org.apache.torque.util.TransactionManager
-
Commit a transaction and close the connection.
- commit(Connection) - Method in class org.apache.torque.util.TransactionManagerImpl
-
Commit a transaction and close the connection.
- compareTo(Object) - Method in class org.apache.torque.om.NumberKey
-
- compareTo(Object) - Method in class org.apache.torque.om.ObjectKey
-
Implements the compareTo method.
- CompositeMapper - Class in org.apache.torque.om.mapper
-
Uses a list of mappers to map a database record to a list of objects.
- CompositeMapper() - Constructor for class org.apache.torque.om.mapper.CompositeMapper
-
- configure(Configuration) - Method in class org.apache.torque.avalon.TorqueComponent
-
- CONNECTION_KEY - Static variable in class org.apache.torque.dsfactory.AbstractDataSourceFactory
-
"connection" Key for the configuration
- ConstraintViolationException - Exception in org.apache.torque
-
This exception is thrown if a database operation violates a
database constraint, e.g.
- ConstraintViolationException(Throwable) - Constructor for exception org.apache.torque.ConstraintViolationException
-
Constructs a new ConstraintViolationException
with specified nested Throwable
.
- ConstraintViolationException(String, Throwable) - Constructor for exception org.apache.torque.ConstraintViolationException
-
Constructs a new ConstraintViolationException
with specified detail message and nested Throwable
.
- containsColumn(ColumnMap) - Method in class org.apache.torque.map.TableMap
-
Does this table contain the specified column?
- containsColumn(String) - Method in class org.apache.torque.map.TableMap
-
Does this table contain the specified column?
- containsKey(Object) - Method in class org.apache.torque.util.ColumnValues
-
- containsKey(Object) - Method in class org.apache.torque.util.ListOrderedMapCI
-
Test if the key exists in the mapping.
- containsObjectColumn() - Method in class org.apache.torque.map.TableMap
-
Returns true if this tableMap contains a column with object
data.
- containsSqlExpression(Column) - Method in class org.apache.torque.util.UniqueColumnList
-
Checks if this list already contains a column with the same
SQL expression.
- containsTable(TableMap) - Method in class org.apache.torque.map.DatabaseMap
-
Does this database contain this specific table?
- containsTable(String) - Method in class org.apache.torque.map.DatabaseMap
-
Does this database contain this specific table?
- containsValue(Object) - Method in class org.apache.torque.util.ColumnValues
-
- contextualize(Context) - Method in class org.apache.torque.avalon.TorqueComponent
-
- copyFrom(DatabaseMap) - Method in class org.apache.torque.map.DatabaseMap
-
Copy all settings except the database from another database map.
- correctBooleans(Criteria) - Method in class org.apache.torque.util.BasePeerImpl
-
Checks all columns in the criteria to see whether
booleanchar and booleanint columns are queried with a boolean.
- correctBooleans(ColumnValues) - Method in class org.apache.torque.util.BasePeerImpl
-
Checks all columns in the criteria to see whether
booleanchar and booleanint columns are queried with a boolean.
- count(Criteria) - Method in class org.apache.torque.util.CountHelper
-
The COUNT function returns the number of rows in a query.
- count(Criteria, Connection) - Method in class org.apache.torque.util.CountHelper
-
The COUNT function returns the number of rows in a query.
- count(Criteria, String) - Method in class org.apache.torque.util.CountHelper
-
Returns the number of rows in a query.
- count(Criteria, Column) - Method in class org.apache.torque.util.CountHelper
-
Returns the number of rows in a query.
- count(Criteria, Connection, Column) - Method in class org.apache.torque.util.CountHelper
-
Returns the number of rows in a query.
- count(TableMap) - Method in class org.apache.torque.util.CountHelper
-
Counts all rows in a table.
- count(TableMap, Connection) - Method in class org.apache.torque.util.CountHelper
-
Counts all rows in a table.
- count(Criteria, Connection, String, TableMap) - Method in class org.apache.torque.util.CountHelper
-
Returns the number of rows in a query.
- Count - Class in org.apache.torque.util.functions
-
SQL99 Standard count function.
- Count(Column) - Constructor for class org.apache.torque.util.functions.Count
-
Construct an COUNT function class with the column to count.
- Count(String) - Constructor for class org.apache.torque.util.functions.Count
-
Construct an COUNT function class with an SQL expression to count.
- Count(Column, boolean) - Constructor for class org.apache.torque.util.functions.Count
-
Construct an COUNT function class with the column to count
and possibly a distinct modifier.
- CountHelper - Class in org.apache.torque.util
-
Counts entries matching a criteria.
- CountHelper() - Constructor for class org.apache.torque.util.CountHelper
-
- create(String) - Static method in class org.apache.torque.adapter.AdapterFactory
-
Creates a new instance of the Torque database adapter associated
with the specified JDBC driver or adapter key.
- create(String, String) - Static method in class org.apache.torque.adapter.AdapterFactory
-
Creates a new instance of the Torque database adapter associated
with the specified JDBC driver or adapter key and the class defined.
- create(Adapter, String) - Static method in class org.apache.torque.oid.IDGeneratorFactory
-
- createAndRegisterIdBroker() - Method in class org.apache.torque.Database
-
Creates the IDBroker for this Database and registers it with Torque.
- createArrayOf(String, Object[]) - Method in class org.apache.torque.util.TorqueConnectionImpl
-
- createBlob() - Method in class org.apache.torque.util.TorqueConnectionImpl
-
- createClob() - Method in class org.apache.torque.util.TorqueConnectionImpl
-
- createNClob() - Method in class org.apache.torque.util.TorqueConnectionImpl
-
- createSQLXML() - Method in class org.apache.torque.util.TorqueConnectionImpl
-
- createStatement() - Method in class org.apache.torque.util.TorqueConnectionImpl
-
- createStatement(int, int) - Method in class org.apache.torque.util.TorqueConnectionImpl
-
- createStatement(int, int, int) - Method in class org.apache.torque.util.TorqueConnectionImpl
-
- createStruct(String, Object[]) - Method in class org.apache.torque.util.TorqueConnectionImpl
-
- Criteria - Class in org.apache.torque.criteria
-
Encapsulates conditions to access rows in database tables.
- Criteria() - Constructor for class org.apache.torque.criteria.Criteria
-
Constructor.
- Criteria(String) - Constructor for class org.apache.torque.criteria.Criteria
-
Constructor with the database name as parameter..
- Criteria(Criteria) - Constructor for class org.apache.torque.criteria.Criteria
-
Copy-constructor.
- Criterion - Class in org.apache.torque.criteria
-
Describes one or more where clause parts in the Criteria.
- Criterion(Object, Object, SqlEnum, String, Object[]) - Constructor for class org.apache.torque.criteria.Criterion
-
Create a new instance.
- Criterion(Object, Object) - Constructor for class org.apache.torque.criteria.Criterion
-
Create a new instance without verbatim sql, using equals as
comparison operator.
- Criterion(Object, Object, SqlEnum) - Constructor for class org.apache.torque.criteria.Criterion
-
Create a new instance without verbatim sql.
- Criterion(Criterion) - Constructor for class org.apache.torque.criteria.Criterion
-
Creates a shallow copy of the given Criterion.
- CURRENT_DATE - Static variable in class org.apache.torque.criteria.Criteria
-
"CURRENT_DATE" ANSI SQL function
- CURRENT_DATE - Static variable in class org.apache.torque.criteria.SqlEnum
-
SQL Expression "CURRENT_DATE".
- CURRENT_TIME - Static variable in class org.apache.torque.criteria.Criteria
-
"CURRENT_TIME" ANSI SQL function
- CURRENT_TIME - Static variable in class org.apache.torque.criteria.SqlEnum
-
SQL Expression "CURRENT_TIME".
- CURRENT_TIMESTAMP - Static variable in class org.apache.torque.criteria.Criteria
-
"CURRENT_TIMESTAMP" ANSI SQL function
- CURRENT_TIMESTAMP - Static variable in class org.apache.torque.criteria.SqlEnum
-
SQL Expression "CURRENT_TIMESTAMP".
- CurrentDateTimePsPartBuilder - Class in org.apache.torque.sql.whereclausebuilder
-
A WhereClausePsPartBuilder which handles SqlEnum.CURRENT_DATE
and SqlEnum.CURRENT_TIME
.
- CurrentDateTimePsPartBuilder() - Constructor for class org.apache.torque.sql.whereclausebuilder.CurrentDateTimePsPartBuilder
-
- Database - Class in org.apache.torque
-
Bundles all information about a database.
- DATABASE_KEY - Static variable in class org.apache.torque.Torque
-
The prefix for configuring the database adapters
and the default database.
- DatabaseMap - Class in org.apache.torque.map
-
DatabaseMap is used to model a database.
- DatabaseMap(Database) - Constructor for class org.apache.torque.map.DatabaseMap
-
Constructs a new DatabaseMap.
- databaseName - Variable in class org.apache.torque.oid.AbstractIdGenerator
-
The internal name of the Database that this Generator is connected to.
- DATASOURCE_KEY - Static variable in class org.apache.torque.dsfactory.JndiDataSourceFactory
-
Key for the configuration which contains properties for a DataSource
which should be bound into jndi.
- DataSourceFactory - Interface in org.apache.torque.dsfactory
-
A factory that returns a DataSource.
- DateKey - Class in org.apache.torque.om
-
This class can be used as an ObjectKey to uniquely identify an
object within an application where the id is a Date.
- DateKey() - Constructor for class org.apache.torque.om.DateKey
-
Initializes the internal key value to null
.
- DateKey(String) - Constructor for class org.apache.torque.om.DateKey
-
Creates an DateKey and set its internal representation
- DateKey(Date) - Constructor for class org.apache.torque.om.DateKey
-
Creates an DateKey and set its internal representation
- DateKey(DateKey) - Constructor for class org.apache.torque.om.DateKey
-
Creates a DateKey that is equivalent to key.
- DateMapper - Class in org.apache.torque.om.mapper
-
Maps a database record to a java.util.Date.
- DateMapper() - Constructor for class org.apache.torque.om.mapper.DateMapper
-
Constructs a DateMapper with an offset of 0.
- DateMapper(int) - Constructor for class org.apache.torque.om.mapper.DateMapper
-
Constructs a DateMapper with the given offset.
- DeadlockException - Exception in org.apache.torque
-
This exception is thrown if the database detects a deadlock.
- DeadlockException(Throwable) - Constructor for exception org.apache.torque.DeadlockException
-
Constructs a new DeadlockException
with specified nested Throwable
.
- DeadlockException(String, Throwable) - Constructor for exception org.apache.torque.DeadlockException
-
Constructs a new DeadlockException
with specified detail message and nested Throwable
.
- DEFAULT_CONNECTION_KEY - Static variable in class org.apache.torque.dsfactory.AbstractDataSourceFactory
-
"defaults.connection" Key for the configuration
- DEFAULT_KEY - Static variable in class org.apache.torque.Torque
-
The key used to configure the name of the default database.
- DEFAULT_MEMORY_LIMIT_PAGES - Static variable in class org.apache.torque.util.LargeSelect
-
The default value for the maximum number of pages of data to be retained
in memory.
- DEFAULT_PAGE_PROGRESS_TEXT_PATTERN - Static variable in class org.apache.torque.util.LargeSelect
-
default MessageFormat pattern for the page progress text
- DEFAULT_POOL_KEY - Static variable in class org.apache.torque.dsfactory.AbstractDataSourceFactory
-
"defaults.pool" Key for the configuration
- DEFAULT_RECORD_PROGRESS_TEXT_PATTERN - Static variable in class org.apache.torque.util.LargeSelect
-
default MessageFormat pattern for the record progress text
- DEFAULT_SCHEMA_KEY - Static variable in class org.apache.torque.Torque
-
default schema name for the configuration
- DEFAULTS_KEY - Static variable in class org.apache.torque.dsfactory.AbstractDataSourceFactory
-
"defaults" Key for the configuration
- DEFAULTS_KEY - Static variable in class org.apache.torque.Torque
-
"defaults" Key for the configuration
- DerbyAdapter - Class in org.apache.torque.adapter
-
This is used to connect to an embedded Apache Derby Database using
the supplied JDBC driver.
- DerbyAdapter() - Constructor for class org.apache.torque.adapter.DerbyAdapter
-
Empty constructor.
- DESC - Static variable in class org.apache.torque.criteria.SqlEnum
-
SQL Expression "DESC".
- dispose() - Method in class org.apache.torque.avalon.TorqueComponent
-
- dispose() - Method in class org.apache.torque.manager.AbstractBaseManager
-
Disposes of the manager.
- DISTINCT - Static variable in class org.apache.torque.criteria.Criteria
-
Comparison type.
- DISTINCT - Static variable in class org.apache.torque.criteria.SqlEnum
-
SQL Expression "DISTINCT ".
- doDelete(ObjectKey<?>) - Method in class org.apache.torque.util.AbstractPeerImpl
-
Deletes a row in the database.
- doDelete(ObjectKey<?>, Connection) - Method in class org.apache.torque.util.AbstractPeerImpl
-
Deletes a row in the database.
- doDelete(Criteria) - Method in class org.apache.torque.util.BasePeerImpl
-
Deletes rows from a database table.
- doDelete(Criteria, Connection) - Method in class org.apache.torque.util.BasePeerImpl
-
Deletes rows from a table.
- doInsert(ColumnValues, Connection) - Method in class org.apache.torque.util.AbstractPeerImpl
-
Method to do inserts.
- doInsert(T) - Method in class org.apache.torque.util.AbstractPeerImpl
-
Method to do inserts
- doInsert(T, Connection) - Method in class org.apache.torque.util.AbstractPeerImpl
-
Method to do inserts.
- doInsert(ColumnValues) - Method in class org.apache.torque.util.BasePeerImpl
-
Inserts a record into a database table.
- doInsert(ColumnValues, Connection) - Method in class org.apache.torque.util.BasePeerImpl
-
Inserts a record into a database table.
- doInsert(Column[], Criteria) - Method in class org.apache.torque.util.BasePeerImpl
-
Executes a insert into...select statement.
- doInsert(Column[], Criteria, String) - Method in class org.apache.torque.util.BasePeerImpl
-
Executes a insert into...select statement.
- doInsert(Column[], Criteria, Connection) - Method in class org.apache.torque.util.BasePeerImpl
-
Executes a insert into...select statement.
- doInsert(Column[], Criteria, String, Connection) - Method in class org.apache.torque.util.BasePeerImpl
-
Executes a insert into...select statement.
- doSelect(T) - Method in class org.apache.torque.util.AbstractPeerImpl
-
Selects objects from the database which have
the same content as the passed object.
- doSelect(Criteria) - Method in class org.apache.torque.util.BasePeerImpl
-
Selects objects from a database.
- doSelect(Criteria, Connection) - Method in class org.apache.torque.util.BasePeerImpl
-
Selects objects from a database
within a transaction.
- doSelect(Criteria, RecordMapper<TT>) - Method in class org.apache.torque.util.BasePeerImpl
-
Selects rows from a database an maps them to objects.
- doSelect(String) - Method in class org.apache.torque.util.BasePeerImpl
-
Selects rows from a database an maps them to objects.
- doSelect(String, Connection) - Method in class org.apache.torque.util.BasePeerImpl
-
Selects rows from a database an maps them to objects.
- doSelect(String, RecordMapper<TT>, String) - Method in class org.apache.torque.util.BasePeerImpl
-
Selects rows from a database an maps them to objects.
- doSelect(String, RecordMapper<TT>, Connection) - Method in class org.apache.torque.util.BasePeerImpl
-
Selects rows from a database an maps them to objects.
- doSelect(Criteria, RecordMapper<TT>, Connection) - Method in class org.apache.torque.util.BasePeerImpl
-
Performs a SQL select
using a PreparedStatement.
- doSelectAsStream(Criteria, Connection) - Method in class org.apache.torque.util.BasePeerImpl
-
Selects objects from a database
within a transaction.
- doSelectAsStream(String, Connection) - Method in class org.apache.torque.util.BasePeerImpl
-
Selects rows from a database an maps them to objects.
- doSelectAsStream(String, RecordMapper<TT>, Connection) - Method in class org.apache.torque.util.BasePeerImpl
-
Selects rows from a database an maps them to objects.
- doSelectAsStream(Criteria, RecordMapper<TT>, Connection) - Method in class org.apache.torque.util.BasePeerImpl
-
Performs a SQL select
using a PreparedStatement.
- doSelectSingleRecord(T) - Method in class org.apache.torque.util.AbstractPeerImpl
-
Selects at most one object from the database
which has the same content as the passed object.
- doSelectSingleRecord(Criteria) - Method in class org.apache.torque.util.BasePeerImpl
-
Selects at most one object from a database.
- doSelectSingleRecord(Criteria, Connection) - Method in class org.apache.torque.util.BasePeerImpl
-
Selects at most one object from a database
within a transaction.
- doSelectSingleRecord(Criteria, RecordMapper<TT>) - Method in class org.apache.torque.util.BasePeerImpl
-
Selects at most a single row from a database an maps them to objects.
- doSelectSingleRecord(Criteria, RecordMapper<TT>, Connection) - Method in class org.apache.torque.util.BasePeerImpl
-
Selects at most a single row from a database an maps them to objects.
- doubleValue() - Method in class org.apache.torque.om.NumberKey
-
Returns the value of this NumberKey as a double.
- doUpdate(T) - Method in class org.apache.torque.util.AbstractPeerImpl
-
Updates an object in the database.
- doUpdate(T, Connection) - Method in class org.apache.torque.util.AbstractPeerImpl
-
Updates an object in the database.
- doUpdate(ColumnValues) - Method in class org.apache.torque.util.BasePeerImpl
-
Convenience method used to update rows in the DB.
- doUpdate(ColumnValues, Connection) - Method in class org.apache.torque.util.BasePeerImpl
-
Convenience method used to update rows in the DB.
- doUpdate(Criteria, ColumnValues) - Method in class org.apache.torque.util.BasePeerImpl
-
Executes an update against the database.
- doUpdate(Criteria, ColumnValues, Connection) - Method in class org.apache.torque.util.BasePeerImpl
-
Executes an update against the database.
- DRIVER_KEY - Static variable in interface org.apache.torque.adapter.Adapter
-
Key for the configuration which contains database drivers.
- DSFACTORY_KEY - Static variable in interface org.apache.torque.dsfactory.DataSourceFactory
-
Key for the configuration which contains DataSourceFactories
- dumpResults(Writer, List<?>, boolean) - Method in class org.apache.torque.util.SummaryHelper
-
Convenience method to dump a summary results list to an output writer
in a semi-CSV format.
- generateLimits(Query, long, int) - Method in class org.apache.torque.adapter.AbstractAdapter
-
This method is used to generate the database specific query
extension to limit the number of record returned.
- generateLimits(Query, long, int) - Method in interface org.apache.torque.adapter.Adapter
-
This method is used to generate the database specific query
extension to limit the number of record returned.
- generateLimits(Query, long, int) - Method in class org.apache.torque.adapter.DerbyAdapter
-
Build Derby-style query with limit or offset.
- generateLimits(Query, long, int) - Method in class org.apache.torque.adapter.HsqldbAdapter
-
Generate a LIMIT limit OFFSET offset clause if offset > 0
or an LIMIT limit clause if limit is > 0 and offset
is 0.
- generateLimits(Query, long, int) - Method in class org.apache.torque.adapter.MssqlAdapter
-
Modify a query to add limit and offset values for MSSQL.
- generateLimits(Query, long, int) - Method in class org.apache.torque.adapter.MysqlAdapter
-
Generate a LIMIT offset, limit clause if offset > 0
or an LIMIT limit clause if limit is > 0 and offset
is 0.
- generateLimits(Query, long, int) - Method in class org.apache.torque.adapter.OracleAdapter
-
Build Oracle-style query with limit or offset.
- generateLimits(Query, long, int) - Method in class org.apache.torque.adapter.PostgresAdapter
-
Generate a LIMIT limit OFFSET offset clause if offset > 0
or an LIMIT limit clause if limit is > 0 and offset
is 0.
- get(Serializable, String, Serializable...) - Method in class org.apache.torque.manager.MethodResultCache
-
Get an object from the method cache
- get(Serializable, String, Serializable...) - Method in class org.apache.torque.manager.NoOpMethodResultCache
-
- get(Object) - Method in class org.apache.torque.util.ColumnValues
-
- get(Object) - Method in class org.apache.torque.util.ListOrderedMapCI
-
Get the object associated with this key.
- getAdapter(String) - Method in interface org.apache.torque.avalon.Torque
-
Returns database adapter for a specific connection pool.
- getAdapter() - Method in class org.apache.torque.Database
-
Returns the adapter to this database.
- getAdapter(String) - Static method in class org.apache.torque.Torque
-
Returns the database adapter for a specific database name.
- getAdapter(String) - Method in class org.apache.torque.TorqueInstance
-
Returns the database adapter for a specific database.
- getAggregates() - Method in class org.apache.torque.util.SummaryHelper
-
Get the order map list of aggregate functions to use in
summarizing this table's informations.
- getAliases() - Method in class org.apache.torque.criteria.Criteria
-
Get the table aliases.
- getArgument(int) - Method in class org.apache.torque.util.functions.AbstractFunction
-
Return the object representation of the function parameter
at the specified index.
- getArgument(int) - Method in class org.apache.torque.util.functions.AggregateFunction
-
- getArgument(int) - Method in interface org.apache.torque.util.functions.SQLFunction
-
Returns the function parameters at index i.
- getArgumentList() - Method in class org.apache.torque.util.functions.AbstractFunction
-
Get the full list of function arguments
- getArguments() - Method in class org.apache.torque.util.functions.AbstractFunction
-
Return all the parameters as an object array.
- getArguments() - Method in class org.apache.torque.util.functions.AggregateFunction
-
- getArguments() - Method in interface org.apache.torque.util.functions.SQLFunction
-
Return all the parameters as an object array.
- getAsColumns() - Method in class org.apache.torque.criteria.Criteria
-
Get the column aliases.
- getAutoCommit() - Method in class org.apache.torque.util.TorqueConnectionImpl
-
- getByName(String) - Method in interface org.apache.torque.om.ColumnAccessByName
-
Retrieves a field from the object by name.
- getByPeerName(String) - Method in interface org.apache.torque.om.ColumnAccessByName
-
Retrieves a field from the object by name passed in as a String.
- getByPosition(int) - Method in interface org.apache.torque.om.ColumnAccessByName
-
Retrieves a field from the object by position as specified in a database
schema for example.
- getCatalog() - Method in class org.apache.torque.util.TorqueConnectionImpl
-
- getClassName() - Method in class org.apache.torque.manager.AbstractBaseManager
-
Get the classname to instantiate for getInstance()
- getClassName() - Method in class org.apache.torque.map.InheritanceMap
-
Returns the class name for this InheritanceMap.
- getClientInfo(String) - Method in class org.apache.torque.util.TorqueConnectionImpl
-
- getClientInfo() - Method in class org.apache.torque.util.TorqueConnectionImpl
-
- getColumn() - Method in class org.apache.torque.map.InheritanceMap
-
Returns the column this inheritance map belongs to.
- getColumn(String) - Method in class org.apache.torque.map.TableMap
-
Get a ColumnMap for the named table.
- getColumn() - Method in class org.apache.torque.sql.OrderBy
-
Returns the column to order by.
- getColumn() - Method in class org.apache.torque.util.functions.AbstractFunction
-
Returns the column to which this function is applied.
- getColumn() - Method in class org.apache.torque.util.functions.AggregateFunction
-
Returns the column the function is applied to.
- getColumn() - Method in interface org.apache.torque.util.functions.SQLFunction
-
Returns the column to which this function is applied.
- getColumnMap(Column, Criteria) - Static method in class org.apache.torque.map.MapHelper
-
Returns the column map for a column.
- getColumnName() - Method in interface org.apache.torque.Column
-
Returns the name of the database column (not prefixed by the table name).
- getColumnName() - Method in class org.apache.torque.ColumnImpl
-
Returns the column name.
- getColumnName() - Method in class org.apache.torque.map.ColumnMap
-
Get the name of a column.
- getColumnName() - Method in class org.apache.torque.util.functions.AbstractFunction
-
Returns the column name.
- getColumnName() - Method in class org.apache.torque.util.functions.AggregateFunction
-
Returns the column name.
- getColumns() - Method in class org.apache.torque.map.ForeignKeyMap
-
Returns the column pairs.
- getColumns() - Method in class org.apache.torque.map.TableMap
-
Get a ColumnMap[] of the columns in this table.
- getComparison() - Method in class org.apache.torque.criteria.Criterion
-
Get the comparison.
- getConfiguration() - Method in interface org.apache.torque.avalon.Torque
-
Get the configuration for this component.
- getConfiguration() - Static method in class org.apache.torque.Torque
-
Get the configuration for this component.
- getConfiguration() - Method in class org.apache.torque.TorqueInstance
-
Get the configuration for this component.
- getConjunction() - Method in class org.apache.torque.criteria.Criterion
-
Returns the conjunction for the parts of this criterion
- getConnection() - Method in interface org.apache.torque.avalon.Torque
-
This method returns a Connection from the default pool.
- getConnection(String) - Method in interface org.apache.torque.avalon.Torque
-
- getConnection(String, String, String) - Method in interface org.apache.torque.avalon.Torque
-
This method returns a Connecton using the given parameters.
- getConnection() - Static method in class org.apache.torque.Torque
-
This method returns a Connection from the default pool.
- getConnection(String) - Static method in class org.apache.torque.Torque
-
This method returns a Connecton using the given database name.
- getConnection(String, String, String) - Static method in class org.apache.torque.Torque
-
This method returns a Connecton using the given parameters.
- getConnection() - Method in class org.apache.torque.TorqueInstance
-
This method returns a Connection from the default pool.
- getConnection(String) - Method in class org.apache.torque.TorqueInstance
-
Returns a database connection to the database with the key
name
.
- getConnection(String, String, String) - Method in class org.apache.torque.TorqueInstance
-
This method returns a Connection using the given parameters.
- getCurrentPageNumber() - Method in class org.apache.torque.util.LargeSelect
-
Retrieve the number of the current page.
- getCurrentPageResults() - Method in class org.apache.torque.util.LargeSelect
-
Provide access to the results from the current page.
- getCurrentPageSize() - Method in class org.apache.torque.util.LargeSelect
-
Provides a count of the number of rows to be displayed on the current
page - for the last page this may be less than the configured page size.
- getDatabase(String) - Method in interface org.apache.torque.avalon.Torque
-
Returns the database for the key databaseName
.
- getDatabase(String) - Static method in class org.apache.torque.Torque
-
Returns the database for the given key.
- getDatabase(String) - Method in class org.apache.torque.TorqueInstance
-
Returns the database for the key databaseName
.
- getDatabaseMap() - Method in interface org.apache.torque.avalon.Torque
-
Returns the default database map information.
- getDatabaseMap(String) - Method in interface org.apache.torque.avalon.Torque
-
Returns the database map information.
- getDatabaseMap() - Method in class org.apache.torque.Database
-
Returns the database map for this database.
- getDatabaseMap() - Method in class org.apache.torque.map.TableMap
-
Get the DatabaseMap containing this TableMap.
- getDatabaseMap() - Static method in class org.apache.torque.Torque
-
Returns the default database map information.
- getDatabaseMap(String) - Static method in class org.apache.torque.Torque
-
Returns the database map information for a given database.
- getDatabaseMap() - Method in class org.apache.torque.TorqueInstance
-
Returns the database map information for the default db.
- getDatabaseMap(String) - Method in class org.apache.torque.TorqueInstance
-
Returns the database map information for the given database name.
- getDatabaseName() - Method in class org.apache.torque.util.BasePeerImpl
-
Get the database name for this instance.
- getDatabases() - Method in interface org.apache.torque.avalon.Torque
-
Returns a Map containing all Databases registered to Torque.
- getDatabases() - Static method in class org.apache.torque.Torque
-
Returns a Map containing all Databases registered to Torque.
- getDatabases() - Method in class org.apache.torque.TorqueInstance
-
Returns a Map containing all Databases registered to Torque.
- getDataSource() - Method in class org.apache.torque.dsfactory.AbstractDataSourceFactory
-
- getDataSource() - Method in interface org.apache.torque.dsfactory.DataSourceFactory
-
- getDataSource() - Method in class org.apache.torque.dsfactory.JndiDataSourceFactory
-
- getDataSource() - Method in class org.apache.torque.dsfactory.PerUserPool2DataSourceFactory
-
- getDataSource() - Method in class org.apache.torque.dsfactory.PerUserPoolDataSourceFactory
-
Deprecated.
- getDataSource() - Method in class org.apache.torque.dsfactory.SharedPool2DataSourceFactory
-
- getDataSource() - Method in class org.apache.torque.dsfactory.SharedPoolDataSourceFactory
-
Deprecated.
- getDataSourceFactory() - Method in class org.apache.torque.Database
-
Returns the DataSourceFactory for this database.
- getDataSourceFactory(String) - Method in class org.apache.torque.TorqueInstance
-
Returns the DataSourceFactory for the database with the name
name
.
- getDbMap() - Method in class org.apache.torque.map.TableMap
-
Returns the database map for this table.
- getDbName() - Method in class org.apache.torque.criteria.Criteria
-
Get the Database name to be used for this criterion.
- getDbName() - Method in class org.apache.torque.util.ColumnValues
-
Returns the name of the database handle to use for connection
opening.
- getDefault() - Method in class org.apache.torque.map.ColumnMap
-
A string representing the default value defined for this column.
- getDefaultDB() - Method in interface org.apache.torque.avalon.Torque
-
Returns the name of the default database.
- getDefaultDB() - Static method in class org.apache.torque.Torque
-
Returns the name of the default database.
- getDefaultDB() - Method in class org.apache.torque.TorqueInstance
-
Returns the name of the default database.
- getDescription() - Method in class org.apache.torque.map.ColumnMap
-
Returns the column description info.
- getDescription() - Method in class org.apache.torque.map.TableMap
-
Returns the table description info.
- getDisplayString() - Method in class org.apache.torque.sql.Query
-
Returns a String to display this query.
- getExtends() - Method in class org.apache.torque.map.InheritanceMap
-
Returns the ancestor class for the class described by this
InheritanceMap.
- getFetchSize() - Method in class org.apache.torque.criteria.Criteria
-
Returns the JDBC statement fetch size to use for queries.
- getFetchSize() - Method in class org.apache.torque.sql.Query
-
Returns the JDBC statement fetch size to use for queries.
- getFirstRecordNoForPage() - Method in class org.apache.torque.util.LargeSelect
-
Provide the record number of the first row included on the current page.
- getForeign() - Method in class org.apache.torque.map.ForeignKeyMap.ColumnPair
-
Returns the foreign column of the pair.
- getForeignKeyMap() - Method in class org.apache.torque.map.ForeignKeyMap.ColumnPair
-
Returns the associated foreign key map.
- getForeignKeys() - Method in class org.apache.torque.map.TableMap
-
Get all foreign keys in the table..
- getForeignTable() - Method in class org.apache.torque.map.ForeignKeyMap
-
Returns the foreign table of the foreign key.
- getForeignTableName() - Method in class org.apache.torque.map.ForeignKeyMap
-
Returns name of the foreign table of the foreign key.
- getForUpdate() - Method in class org.apache.torque.sql.Query
-
Returns the FOR UPDATE clause which should be added to the query.
- getFromClause() - Method in class org.apache.torque.sql.Query
-
Retrieve the from buffer in order to specify which tables are
involved in this query.
- getFromElements() - Method in class org.apache.torque.criteria.Criteria
-
Get all elements in the from clause of the query.
- getFromExpression() - Method in class org.apache.torque.criteria.FromElement
-
Returns the fromExpression, which might e.g.
- getFullTableName() - Method in interface org.apache.torque.Column
-
Returns the table name prefixed with the schema name if it exists.
- getFullTableName() - Method in class org.apache.torque.ColumnImpl
-
Returns the table name prefixed with the schema name if it exists.
- getFullTableName() - Method in class org.apache.torque.map.ColumnMap
-
Get the name of the table this column is in.
- getFullTableName(String, String) - Static method in class org.apache.torque.sql.SqlBuilder
-
Fully qualify a table name with an optional schema reference.
- getFullTableName() - Method in class org.apache.torque.util.functions.AbstractFunction
-
Returns the table name prefixed with the schema name if it exists
from the function argument(s).
- getFullTableName() - Method in class org.apache.torque.util.functions.AggregateFunction
-
- getFullyQualifiedTableName() - Method in class org.apache.torque.map.TableMap
-
Returns the fully qualified table name, if available.
- getFunction() - Method in class org.apache.torque.util.functions.AggregateFunction
-
Get the function name to use, e.g.
- getGroupByClause() - Method in class org.apache.torque.sql.Query
-
Retrieve the group by columns buffer in order to specify which
columns are used to group the results of the query.
- getGroupByColumns() - Method in class org.apache.torque.criteria.Criteria
-
Get all group by columns.
- getGroupByColumns() - Method in class org.apache.torque.util.SummaryHelper
-
- getGroupKey() - Method in class org.apache.torque.manager.MethodCacheKey
-
Return the group key
- getHaving() - Method in class org.apache.torque.criteria.Criteria
-
Get Having Criterion.
- getHaving() - Method in class org.apache.torque.sql.Query
-
Get the having clause.
- getHoldability() - Method in class org.apache.torque.util.TorqueConnectionImpl
-
- getId(Connection, Object, RecordMapper<T>) - Method in class org.apache.torque.oid.AbstractIdGenerator
-
Returns the last ID used by this connection.
- getIdAsBigDecimal(Connection, Object) - Method in class org.apache.torque.oid.AbstractIdGenerator
-
Returns the last ID used by this connection.
- getIdAsBigDecimal(Connection, Object) - Method in class org.apache.torque.oid.IDBroker
-
Returns an id as a BigDecimal.
- getIdAsBigDecimal(Connection, Object) - Method in interface org.apache.torque.oid.IdGenerator
-
Returns an id as a BigDecimal.
- getIdAsInt(Connection, Object) - Method in class org.apache.torque.oid.AbstractIdGenerator
-
Returns the last ID used by this connection.
- getIdAsInt(Connection, Object) - Method in class org.apache.torque.oid.IDBroker
-
- getIdAsInt(Connection, Object) - Method in interface org.apache.torque.oid.IdGenerator
-
Returns an id as a primitive int.
- getIdAsLong(Connection, Object) - Method in class org.apache.torque.oid.AbstractIdGenerator
-
Returns the last ID used by this connection.
- getIdAsLong(Connection, Object) - Method in class org.apache.torque.oid.IDBroker
-
- getIdAsLong(Connection, Object) - Method in interface org.apache.torque.oid.IdGenerator
-
Returns an id as a primitive long.
- getIdAsString(Connection, Object) - Method in class org.apache.torque.oid.AbstractIdGenerator
-
Returns the last ID used by this connection.
- getIdAsString(Connection, Object) - Method in class org.apache.torque.oid.IDBroker
-
Returns an id as a String.
- getIdAsString(Connection, Object) - Method in interface org.apache.torque.oid.IdGenerator
-
Returns an id as a String.
- getIdBroker() - Method in class org.apache.torque.Database
-
Get the IDBroker for this database.
- getIdGenerator(IDMethod) - Method in class org.apache.torque.Database
-
Returns the IdGenerator of the given type for this Database.
- getIdMethod(String) - Static method in enum org.apache.torque.adapter.IDMethod
-
Returns the id method for a id method name.
- getIDMethodSQL(Object) - Method in class org.apache.torque.adapter.AbstractAdapter
-
Returns SQL used to get the most recently inserted primary key.
- getIDMethodSQL(Object) - Method in interface org.apache.torque.adapter.Adapter
-
Returns SQL used to get the most recently inserted primary key.
- getIDMethodSQL(Object) - Method in class org.apache.torque.adapter.DerbyAdapter
-
Returns the SQL to get the database key of the last row
inserted, which in this case is
VALUES IDENTITY_VAL_LOCAL()
.
- getIDMethodSQL(Object) - Method in class org.apache.torque.adapter.HsqldbAdapter
-
- getIDMethodSQL(Object) - Method in class org.apache.torque.adapter.MssqlAdapter
-
Returns the last value from an identity column (available on a
per-session basis from the global variable
@@identity
).
- getIDMethodSQL(Object) - Method in class org.apache.torque.adapter.MysqlAdapter
-
Returns the SQL to get the database key of the last row
inserted, which in this case is SELECT
LAST_INSERT_ID()
.
- getIDMethodSQL(Object) - Method in class org.apache.torque.adapter.NoneAdapter
-
- getIDMethodSQL(Object) - Method in class org.apache.torque.adapter.OracleAdapter
-
- getIDMethodSQL(Object) - Method in class org.apache.torque.adapter.PostgresAdapter
-
- getIDMethodType() - Method in class org.apache.torque.adapter.AbstractAdapter
-
Returns the constant from the
IDMethod
interface denoting which
type of primary key generation method this type of RDBMS uses.
- getIDMethodType() - Method in interface org.apache.torque.adapter.Adapter
-
Returns the constant from the
IDMethod
interface denoting which
type of primary key generation method this type of RDBMS uses.
- getIDMethodType() - Method in class org.apache.torque.adapter.DerbyAdapter
-
- getIDMethodType() - Method in class org.apache.torque.adapter.HsqldbAdapter
-
- getIDMethodType() - Method in class org.apache.torque.adapter.MssqlAdapter
-
- getIDMethodType() - Method in class org.apache.torque.adapter.MysqlAdapter
-
- getIDMethodType() - Method in class org.apache.torque.adapter.NoneAdapter
-
- getIDMethodType() - Method in class org.apache.torque.adapter.OracleAdapter
-
- getIDMethodType() - Method in class org.apache.torque.adapter.PostgresAdapter
-
- getIdSql(Object) - Method in class org.apache.torque.oid.AbstractIdGenerator
-
Returns the SQL to retrieve the next id.
- getIdTable() - Method in class org.apache.torque.Database
-
Get the ID table for this database.
- getImpl(MethodCacheKey) - Method in class org.apache.torque.manager.MethodResultCache
-
- getImpl(MethodCacheKey) - Method in class org.apache.torque.manager.NoOpMethodResultCache
-
- getInheritance() - Method in class org.apache.torque.map.ColumnMap
-
Gets the inheritance type used.
- getInheritanceMap(String) - Method in class org.apache.torque.map.ColumnMap
-
Get the inheritance map with the specified key.
- getInheritanceMaps() - Method in class org.apache.torque.map.ColumnMap
-
Get the inheritance information associated with this column,
- getInstance() - Static method in class org.apache.torque.Torque
-
- getInstance() - Static method in class org.apache.torque.util.ExceptionMapper
-
Returns the current instance of the Exception mapper to use.
- getInterestedFields() - Method in interface org.apache.torque.manager.CacheListener
-
Get the list of fields we are listening for
- getJavaName() - Method in class org.apache.torque.map.ColumnMap
-
Gets the Java Name for this column as defined in XML or created by
generator code.
- getJavaName() - Method in class org.apache.torque.map.TableMap
-
Get the Java name of the table as defined in XML.
- getJavaNamingMethod() - Method in class org.apache.torque.map.ColumnMap
-
Returns the Java naming method for this column.
- getJavaType() - Method in class org.apache.torque.map.ColumnMap
-
Returns the java type of this column.
- getJdbcType() - Method in class org.apache.torque.om.BooleanKey
-
Returns the JDBC type of the key
as defined in java.sql.Types
.
- getJdbcType() - Method in class org.apache.torque.om.ComboKey
-
Returns the JDBC type of the key
as defined in java.sql.Types
.
- getJdbcType() - Method in class org.apache.torque.om.DateKey
-
Returns the JDBC type of the key
as defined in java.sql.Types
.
- getJdbcType() - Method in class org.apache.torque.om.NumberKey
-
Returns the JDBC type of the key
as defined in java.sql.Types
.
- getJdbcType() - Method in class org.apache.torque.om.ObjectKey
-
Returns the JDBC type of the key
as defined in java.sql.Types
.
- getJdbcType() - Method in class org.apache.torque.om.StringKey
-
Returns the JDBC type of the key
as defined in java.sql.Types
.
- getJdbcType() - Method in class org.apache.torque.util.JdbcTypedValue
-
Returns the JDBC type as in java.sql.Types
.
- getJoinCondition() - Method in class org.apache.torque.criteria.FromElement
-
Returns the join condition.
- getJoinCondition() - Method in class org.apache.torque.criteria.Join
-
- getJoins() - Method in class org.apache.torque.criteria.Criteria
-
Get the List of Joins.
- getJoinType() - Method in class org.apache.torque.criteria.FromElement
-
Returns the join type.
- getJoinType() - Method in class org.apache.torque.criteria.Join
-
- getKey() - Method in class org.apache.torque.map.InheritanceMap
-
Returns the key by which this inheritanceMap is activated.
- getLastRecordNoForPage() - Method in class org.apache.torque.util.LargeSelect
-
Provide the record number of the last row included on the current page.
- getLeftTable() - Method in class org.apache.torque.criteria.Join
-
- getLimit() - Method in class org.apache.torque.criteria.Criteria
-
Get the upper limit for the number of records returned by a query.
- getLimit() - Method in class org.apache.torque.sql.Query
-
Get the limit number.
- getLocal() - Method in class org.apache.torque.map.ForeignKeyMap.ColumnPair
-
Returns the local column of the pair.
- getLogger() - Method in class org.apache.torque.avalon.TorqueComponent
-
Convenience method to provide the Avalon logger the way AbstractLogEnabled does.
- getLValue() - Method in class org.apache.torque.criteria.Criterion
-
Get the left hand side value of the comparison.
- getLValue() - Method in class org.apache.torque.sql.WhereClauseExpression
-
Returns the value on the left hand side of the operator of the
expression.
- getManager(String) - Method in interface org.apache.torque.avalon.Torque
-
This method returns a Manager for the given name.
- getManager(String, String) - Method in interface org.apache.torque.avalon.Torque
-
This methods returns either the Manager from the configuration file,
or the default one provided by the generated code.
- getManager(String) - Static method in class org.apache.torque.Torque
-
This method returns a Manager for the given name.
- getManager(String, String) - Static method in class org.apache.torque.Torque
-
This methods returns either the Manager from the configuration file,
or the default one provided by the generated code.
- getManager(String) - Method in class org.apache.torque.TorqueInstance
-
This method returns a Manager for the given name.
- getManager(String, String) - Method in class org.apache.torque.TorqueInstance
-
This methods returns either the Manager from the configuration file,
or the default one provided by the generated code.
- getManagerClass() - Method in class org.apache.torque.map.TableMap
-
Returns the manager class for this table.
- getMemoryPageLimit() - Method in class org.apache.torque.util.LargeSelect
-
Retrieves the multiplier that will be used to compute the memory limit
when a constructor with no memory page limit is used - the memory limit
will be this number multiplied by the page size.
- getMetaData() - Method in class org.apache.torque.util.TorqueConnectionImpl
-
- getMethodResultCache() - Method in class org.apache.torque.manager.AbstractBaseManager
-
Get the object usable for result caching
- getName() - Method in class org.apache.torque.Database
-
Rturns the name of the database.
- getName() - Method in class org.apache.torque.map.DatabaseMap
-
The name of the database to which this database map belongs.
- getName() - Method in class org.apache.torque.map.TableMap
-
Get the name of the Table, not prefixed by a possible schema name
- getNetworkTimeout() - Method in class org.apache.torque.util.TorqueConnectionImpl
-
- getNextIds(String, int) - Method in class org.apache.torque.oid.IDBroker
-
This method returns x number of ids for the given table.
- getNextIds(String, int, Connection) - Method in class org.apache.torque.oid.IDBroker
-
This method returns x number of ids for the given table.
- getNextResults() - Method in class org.apache.torque.util.LargeSelect
-
Gets the next page of rows.
- getNextResultsAvailable() - Method in class org.apache.torque.util.LargeSelect
-
Indicates if further result pages are available.
- getNumberOfCompareOperands() - Method in class org.apache.torque.criteria.SqlEnum
-
Returns the number of operands, if the SqlEnum is a comparison operator.
- getObjectOrColumnPsPartBuilder() - Static method in class org.apache.torque.sql.whereclausebuilder.AbstractWhereClausePsPartBuilder
-
Returns the ObjectPsPartBuilder to use for single values or columns.
- getOffset() - Method in class org.apache.torque.criteria.Criteria
-
Get how many records should be skipped at the start of the result.
- getOffset() - Method in class org.apache.torque.sql.Query
-
Get the offset number.
- getOMClass() - Method in class org.apache.torque.manager.AbstractBaseManager
-
Get the Class instance
- getOMClass() - Method in class org.apache.torque.map.TableMap
-
Returns the OM class for this table.
- getOMInstance() - Method in class org.apache.torque.manager.AbstractBaseManager
-
Get a fresh instance of an om
- getOMInstance(ObjectKey<?>) - Method in class org.apache.torque.manager.AbstractBaseManager
-
Return an instance of an om based on the id
- getOMInstance(ObjectKey<?>, boolean) - Method in class org.apache.torque.manager.AbstractBaseManager
-
Return an instance of an om based on the id
- getOMs(ObjectKey<?>...) - Method in class org.apache.torque.manager.AbstractBaseManager
-
Gets a list of om's based on id's.
- getOMs(List<? extends ObjectKey<?>>) - Method in class org.apache.torque.manager.AbstractBaseManager
-
Gets a list of om's based on id's.
- getOMs(List<? extends ObjectKey<?>>, boolean) - Method in class org.apache.torque.manager.AbstractBaseManager
-
Gets a list of om's based on id's.
- getOperator() - Method in class org.apache.torque.sql.WhereClauseExpression
-
Returns the value on the operator of the expression.
- getOption(String) - Method in class org.apache.torque.map.OptionSupport
-
Returns the value of an option.
- getOptions() - Method in class org.apache.torque.map.OptionSupport
-
Returns an unmodifiable map of all options.
- getOrCreateDatabase(String) - Method in interface org.apache.torque.avalon.Torque
-
Returns the database for the key databaseName
.
- getOrCreateDatabase(String) - Static method in class org.apache.torque.Torque
-
Returns the database for the key databaseName
.
- getOrCreateDatabase(String) - Method in class org.apache.torque.TorqueInstance
-
Returns the database for the key databaseName
.
- getOrder() - Method in class org.apache.torque.sql.OrderBy
-
Returns the order to order by (ASC or DESC).
- getOrderByClause() - Method in class org.apache.torque.sql.Query
-
Retrieve the order by columns buffer in order to specify which
columns are used to sort the results of the query.
- getOrderByColumns() - Method in class org.apache.torque.criteria.Criteria
-
Get all order by columns.
- getPage(int) - Method in class org.apache.torque.util.LargeSelect
-
Retrieve a specific page, if it exists.
- getPageProgressText() - Method in class org.apache.torque.util.LargeSelect
-
A convenience method that provides text showing progress through the
selected rows on a page basis.
- getPageProgressTextPattern() - Method in class org.apache.torque.util.LargeSelect
-
Retrieve the MessageFormat pattern for the page progress
The default is
- getPageSize() - Method in class org.apache.torque.util.LargeSelect
-
Retrieve the page size.
- getPaginated() - Method in class org.apache.torque.util.LargeSelect
-
Provide an indication of whether or not paging of results will be
required.
- getPartOperator() - Method in class org.apache.torque.sql.Query
-
Returns the operator connecting the query parts.
- getParts() - Method in class org.apache.torque.criteria.Criterion
-
Returns the parts of which this criterion consists.
- getParts() - Method in class org.apache.torque.sql.Query
-
Returns the parts of this query.
- getPeerClass() - Method in class org.apache.torque.map.TableMap
-
Returns the Peer Class for this table.
- getPeerInstance(Class<T>) - Static method in class org.apache.torque.Torque
-
This method returns a PeerImpl for the given class.
- getPeerInstance(Class<T>) - Method in class org.apache.torque.TorqueInstance
-
This method returns a PeerImpl for the given class.
- getPosition() - Method in class org.apache.torque.map.ColumnMap
-
Returns the position (one based) of this column in the table.
- getPostLimit() - Method in class org.apache.torque.sql.Query
-
Get the Post limit String.
- getPrefix() - Method in class org.apache.torque.map.TableMap
-
Get table prefix name.
- getPreLimit() - Method in class org.apache.torque.sql.Query
-
Get the Pre limit String.
- getPreparedStatementReplacements() - Method in class org.apache.torque.criteria.Criterion
-
Returns the prepared statement replacements for a verbatim sql condition.
- getPreparedStatementReplacements() - Method in class org.apache.torque.criteria.FromElement
-
Returns the replacements for prepared statement placeholders in the
fromExpression.
- getPreparedStatementReplacements() - Method in interface org.apache.torque.criteria.PreparedStatementPart
-
Returns the list of prepared statement replacements.
- getPreparedStatementReplacements() - Method in class org.apache.torque.criteria.PreparedStatementPartImpl
-
Returns the list of prepared statement replacements.
- getPreparedStatementReplacements() - Method in class org.apache.torque.sql.objectbuilder.PreparedStatementPartForSubselect
-
Returns the list of prepared statement replacements.
- getPreparedStatementReplacements() - Method in class org.apache.torque.sql.Query
-
Returns all preparedStatementReplacements in the query.
- getPreparedStatementReplacements() - Method in class org.apache.torque.sql.whereclausebuilder.CombinedPreparedStatementPart
-
Returns the list of prepared statement replacements.
- getPreparedStatementReplacements() - Method in class org.apache.torque.sql.whereclausebuilder.NoReplacementsPreparedStatementPart
-
Returns the empty list of prepared statement replacements.
- getPreparedStatementReplacements() - Method in class org.apache.torque.sql.whereclausebuilder.OnlyReplacementsPreparedStatementPart
-
Returns the list of prepared statement replacements.
- getPreparedStatementReplacements() - Method in class org.apache.torque.sql.WhereClauseExpression
-
Returns the values for the placeholders in the verbatim sql condition.
- getPreviousResults() - Method in class org.apache.torque.util.LargeSelect
-
Gets the previous page of rows.
- getPreviousResultsAvailable() - Method in class org.apache.torque.util.LargeSelect
-
Indicates if previous results pages are available.
- getPrimaryKey() - Method in class org.apache.torque.map.TableMap
-
Returns the single primary key of this table, if it exists
- getPrimaryKey() - Method in interface org.apache.torque.om.ObjectModel
-
getter for the object primaryKey.
- getPrimaryKeyMethod() - Method in class org.apache.torque.map.TableMap
-
Get the method used to generate primary keys for this table.
- getPrimaryKeyMethodInfo(IDMethod) - Method in class org.apache.torque.map.TableMap
-
Get the information used to generate a primary key
- getQuantity(String) - Method in class org.apache.torque.oid.IDBroker
-
Returns the quantity value for a table.
- getRecordMapper() - Method in class org.apache.torque.util.BasePeerImpl
-
Get the record mapper for this instance.
- getRecordProgressText() - Method in class org.apache.torque.util.LargeSelect
-
A convenience method that provides text showing progress through the
selected rows on a record basis.
- getRecordProgressTextPattern() - Method in class org.apache.torque.util.LargeSelect
-
Retrieve the MessageFormat pattern for the record progress
The default is
- getRegion() - Method in class org.apache.torque.manager.AbstractBaseManager
-
Get the cache region used for JCS.
- getRightTable() - Method in class org.apache.torque.criteria.Join
-
- getRowcount() - Method in class org.apache.torque.sql.Query
-
Get the rowcount number.
- getRValue() - Method in class org.apache.torque.criteria.Criterion
-
Get the right hand side value of the comparison.
- getRValue() - Method in class org.apache.torque.sql.WhereClauseExpression
-
Returns the value on the right hand side of the operator of the
expression.
- getScale() - Method in class org.apache.torque.map.ColumnMap
-
Gets the scale set for this column (if any) as set in the XML database
definition.
- getSchema(String) - Method in interface org.apache.torque.avalon.Torque
-
This method returns the current schema for a database connection
- getSchema() - Method in class org.apache.torque.Database
-
Returns the database schema for this Database.
- getSchema(String) - Static method in class org.apache.torque.Torque
-
This method returns the current schema for a database connection
- getSchema(String) - Method in class org.apache.torque.TorqueInstance
-
This method returns the current schema for a database connection
- getSchema() - Method in class org.apache.torque.util.TorqueConnectionImpl
-
- getSchemaName() - Method in interface org.apache.torque.Column
-
Returns the name of any fixed schema prefix for the column's table
(if any).
- getSchemaName() - Method in class org.apache.torque.ColumnImpl
-
Returns the name of any fixed schema prefix for the column's table
(if any).
- getSchemaName() - Method in class org.apache.torque.map.ColumnMap
-
Get the name of the schema of the table this column is in.
- getSchemaName() - Method in class org.apache.torque.map.TableMap
-
Get the schema to which the table belongs to.
- getSchemaName() - Method in class org.apache.torque.util.functions.AbstractFunction
-
Returns the name of any fixed schema prefix for the column's table
(if any) from the function argument(s).
- getSchemaName() - Method in class org.apache.torque.util.functions.AggregateFunction
-
- getSearchParam(String) - Method in class org.apache.torque.util.LargeSelect
-
Retrieve a search parameter.
- getSearchParam(String, String) - Method in class org.apache.torque.util.LargeSelect
-
Retrieve a search parameter.
- getSelectClause() - Method in class org.apache.torque.sql.Query
-
Retrieve the columns buffer in order to specify which columns
are returned in this query.
- getSelectColumns() - Method in class org.apache.torque.criteria.Criteria
-
Return all select columns.
- getSelectModifiers() - Method in class org.apache.torque.criteria.Criteria
-
Return all select modifiers.
- getSelectModifiers() - Method in class org.apache.torque.sql.Query
-
Retrieve the modifier buffer in order to add modifiers to this
query.
- getSetCriteriaParts() - Method in class org.apache.torque.criteria.Criteria
-
Return the parts of the criteria which compose a query using
set operations (union, except, intersect).
- getSetOperator() - Method in class org.apache.torque.criteria.Criteria
-
Returns the operator between the set operations.
- getSize() - Method in class org.apache.torque.map.ColumnMap
-
The "precision" value from the XML
size="<precision>[,<scale>]"
attribute.
- getSql() - Method in class org.apache.torque.criteria.Criterion
-
Returns the verbatim sql for this condition.
- getSql() - Method in class org.apache.torque.criteria.PreparedStatementPartImpl
-
Returns the SQL of the part.
- getSql() - Method in class org.apache.torque.sql.WhereClauseExpression
-
Returns the verbatim sql for this expression, if any.
- getSqlAsString() - Method in interface org.apache.torque.criteria.PreparedStatementPart
-
Returns the SQL of the part as String.
- getSqlAsString() - Method in class org.apache.torque.criteria.PreparedStatementPartImpl
-
Returns the SQL of the part as String.
- getSqlAsString() - Method in class org.apache.torque.sql.objectbuilder.PreparedStatementPartForSubselect
-
Returns the SQL of the part as String.
- getSqlAsString() - Method in class org.apache.torque.sql.whereclausebuilder.CombinedPreparedStatementPart
-
Returns the SQL of the part as String.
- getSqlAsString() - Method in class org.apache.torque.sql.whereclausebuilder.NoReplacementsPreparedStatementPart
-
Returns the SQL of the part as String.
- getSqlAsString() - Method in class org.apache.torque.sql.whereclausebuilder.OnlyReplacementsPreparedStatementPart
-
returns the empty sql.
- getSqlExpression() - Method in interface org.apache.torque.Column
-
Returns the SQL expression for the column, qualified by the
table name but not by the schema name.
- getSqlExpression() - Method in class org.apache.torque.ColumnImpl
-
Returns the SQL expression for the column, qualified by the
table name but not by the schema name.
- getSqlExpression() - Method in class org.apache.torque.map.ColumnMap
-
Returns the SQL expression for the fully qualified column name.
- getSqlExpression() - Method in class org.apache.torque.util.functions.AbstractFunction
-
This should return the SQL string that can be used
when constructing the query.
- getSqlExpression() - Method in class org.apache.torque.util.functions.AggregateFunction
-
Generate the SQL for this function.
- getSqlExpression() - Method in class org.apache.torque.util.JdbcTypedValue
-
Returns the sqlExpression to use instead of the value.
- getStringDelimiter() - Method in class org.apache.torque.adapter.AbstractAdapter
-
Returns the character used to indicate the beginning and end of
a piece of text used in a SQL statement (generally a single
quote).
- getStringDelimiter() - Method in interface org.apache.torque.adapter.Adapter
-
Returns the character used to indicate the beginning and end of
a piece of text used in a SQL statement (generally a single
quote).
- getSubselectForAlias(String) - Method in class org.apache.torque.criteria.Criteria
-
Returns the subselect associated with an alias.
- getTable() - Method in class org.apache.torque.map.ColumnMap
-
Returns the map for the table this column belongs to.
- getTable(String) - Method in class org.apache.torque.map.DatabaseMap
-
Get a TableMap for the table by name.
- getTable() - Method in class org.apache.torque.map.ForeignKeyMap
-
Returns the local table of the foreign key.
- getTableForAlias(String) - Method in class org.apache.torque.criteria.Criteria
-
Returns the database table name associated with an alias.
- getTableMap(Object, Criteria, TableMap) - Static method in class org.apache.torque.map.MapHelper
-
Returns the table map for a table name.
- getTableMap(String, String) - Static method in class org.apache.torque.sql.SqlBuilder
-
Returns the table map for a table.
- getTableMap() - Method in class org.apache.torque.util.BasePeerImpl
-
Get the default table map for this instance.
- getTableName() - Method in interface org.apache.torque.Column
-
Returns the name of the associated table
(not prefixed by the schema name).
- getTableName() - Method in class org.apache.torque.ColumnImpl
-
Returns the table name.
- getTableName() - Method in class org.apache.torque.map.ColumnMap
-
Get the name of the table this column is in.
- getTableName() - Method in class org.apache.torque.util.functions.AbstractFunction
-
Returns the name of the associated table
(not prefixed by the schema name) from the function argument(s).
- getTableName() - Method in class org.apache.torque.util.functions.AggregateFunction
-
- getTables() - Method in class org.apache.torque.map.DatabaseMap
-
Get a TableMap[] of all of the tables in the database.
- getTopLevelCriterion() - Method in class org.apache.torque.criteria.Criteria
-
Returns the top level Criterion.
- getTorqueType() - Method in class org.apache.torque.map.ColumnMap
-
Get the name of the Torque type of this column.
- getTotalPages() - Method in class org.apache.torque.util.LargeSelect
-
Retrieve the total number of pages of search results that are known to
exist (this will be the actual value when the query has completeted (see
getQyeryCompleted()
).
- getTotalRecords() - Method in class org.apache.torque.util.LargeSelect
-
Retrieve the total number of search result records that are known to
exist (this will be the actual value when the query has completed (see
getTotalsFinalized()
).
- getTotalsFinalized() - Method in class org.apache.torque.util.LargeSelect
-
Provide access to indicator that the total values for the number of
records and pages are now accurate as opposed to known upper limits.
- getTransactionIsolation() - Method in class org.apache.torque.util.TorqueConnectionImpl
-
- getTransactionManager() - Static method in class org.apache.torque.util.Transaction
-
Returns the current transaction manager.
- getType() - Method in class org.apache.torque.map.ColumnMap
-
Get the type of this column.
- getType() - Method in class org.apache.torque.sql.Query
-
Returns the type of this SQL statement.
- getTypeMap() - Method in class org.apache.torque.util.TorqueConnectionImpl
-
- getUnqualifiedName(String, String) - Static method in class org.apache.torque.sql.SqlBuilder
-
Unqualify a table or column name.
- getUpdateLockClause() - Method in class org.apache.torque.adapter.AbstractAdapter
-
Returns the clause which acquires a write lock on a row
when doing a select.
- getUpdateLockClause() - Method in interface org.apache.torque.adapter.Adapter
-
Returns the clause which acquires a write lock on a row
when doing a select.
- getUpdateLockClause() - Method in class org.apache.torque.adapter.MssqlAdapter
-
Returns the clause which acquires a write lock on a row
when doing a select.
- getUpdateValues() - Method in class org.apache.torque.sql.Query
-
Retrieve the values to update to in case of an update statement.
- getValue() - Method in class org.apache.torque.om.ObjectKey
-
Get the underlying object.
- getValue() - Method in class org.apache.torque.util.JdbcTypedValue
-
Returns the value.
- getWarnings() - Method in class org.apache.torque.util.TorqueConnectionImpl
-
- getWhereClause() - Method in class org.apache.torque.sql.Query
-
Retrieve the where buffer in order to specify the selection
criteria E.g.
- getWhereClausePreparedStatementReplacements() - Method in class org.apache.torque.sql.Query
-
Retrieves the replacements which are inserted into prepared statement
placeholders in the where clause.
- getWhereClausePsPartBuilders() - Static method in class org.apache.torque.sql.SqlBuilder
-
Returns the Builders which are responsible to render single where clause
conditions.
- getWrappedValue(Object) - Method in class org.apache.torque.sql.whereclausebuilder.EnumValueBuilder
-
- GREATER_EQUAL - Static variable in class org.apache.torque.criteria.Criteria
-
Comparison type.
- GREATER_EQUAL - Static variable in class org.apache.torque.criteria.SqlEnum
-
SQL Expression ">=".
- GREATER_THAN - Static variable in class org.apache.torque.criteria.Criteria
-
Comparison type.
- GREATER_THAN - Static variable in class org.apache.torque.criteria.SqlEnum
-
SQL Expression ">".
- groupCache - Variable in class org.apache.torque.manager.AbstractBaseManager
-
used to cache the method result objects.
- guessFullTableFromCriteria(Criteria) - Static method in class org.apache.torque.sql.SqlBuilder
-
Guesses a table name from a criteria by inspecting the first
column in the criteria.
- ID_GENERATOR_METHODS - Static variable in class org.apache.torque.oid.IDGeneratorFactory
-
The list of ID generation method types which have associated
IdGenerator
implementations.
- ID_TABLE - Static variable in class org.apache.torque.oid.IDBroker
-
Name of the ID_TABLE = ID_TABLE
- IDBroker - Class in org.apache.torque.oid
-
This method of ID generation is used to ensure that code is
more database independent.
- IDBroker(Database) - Constructor for class org.apache.torque.oid.IDBroker
-
Constructs an IdBroker for the given Database.
- IdGenerator - Interface in org.apache.torque.oid
-
Interface to be implemented by id generators.
- IDGeneratorFactory - Class in org.apache.torque.oid
-
A factory which instantiates
IdGenerator
implementations.
- IDMethod - Enum in org.apache.torque.adapter
-
Interface for various ID retrieval method types
(i.e.
- ignoreCase(String) - Method in class org.apache.torque.adapter.AbstractAdapter
-
Wraps the input string in a database function to change it to
a case-insensitive representation.
- ignoreCase(String) - Method in interface org.apache.torque.adapter.Adapter
-
Wraps the input string in a database function to change it to
a case-insensitive representation.
- ignoreCase(String) - Method in class org.apache.torque.adapter.DerbyAdapter
-
This method is used to ignore case.
- ignoreCase(String) - Method in class org.apache.torque.adapter.HsqldbAdapter
-
This method is used to ignore case.
- ignoreCase(String) - Method in class org.apache.torque.adapter.MssqlAdapter
-
This method is used to ignore case.
- ignoreCase(String) - Method in class org.apache.torque.adapter.MysqlAdapter
-
This method is used to ignore case.
- ignoreCase(String) - Method in class org.apache.torque.adapter.NoneAdapter
-
This method is used to ignore case.
- ignoreCase(String) - Method in class org.apache.torque.adapter.OracleAdapter
-
This method is used to ignore case.
- ignoreCase(String) - Method in class org.apache.torque.adapter.PostgresAdapter
-
This method is used to ignore case.
- ignoreCaseInOrderBy(String) - Method in class org.apache.torque.adapter.AbstractAdapter
-
This method is used to ignore case in an ORDER BY clause.
- ignoreCaseInOrderBy(String) - Method in interface org.apache.torque.adapter.Adapter
-
This method is used to ignore case in an ORDER BY clause.
- ILIKE - Static variable in class org.apache.torque.criteria.Criteria
-
Comparison type.
- ILIKE - Static variable in class org.apache.torque.criteria.SqlEnum
-
SQL Expression " ILIKE ".
- IN - Static variable in class org.apache.torque.criteria.Criteria
-
Comparison type.
- IN - Static variable in class org.apache.torque.criteria.SqlEnum
-
SQL Expression " IN ".
- InBuilder - Class in org.apache.torque.sql.whereclausebuilder
-
Builds a PreparedStatementPart from a WhereClauseExpression containing
a Like operator.
- InBuilder() - Constructor for class org.apache.torque.sql.whereclausebuilder.InBuilder
-
- InheritanceMap - Class in org.apache.torque.map
-
InheritanceMap is used to model OM inheritance classes.
- InheritanceMap(ColumnMap, String, String, String) - Constructor for class org.apache.torque.map.InheritanceMap
-
Create an inheritance map object.
- init(Serializable, String, Serializable...) - Method in class org.apache.torque.manager.MethodCacheKey
-
Initialize the key
- init(String) - Static method in class org.apache.torque.Torque
-
Initialization of Torque with a path to a properties file.
- init(Configuration) - Static method in class org.apache.torque.Torque
-
Initialization of Torque with a configuration.
- init(String) - Method in class org.apache.torque.TorqueInstance
-
Initialization of Torque with a path to a properties or xml file.
- init(Configuration) - Method in class org.apache.torque.TorqueInstance
-
Initialization of Torque with a Configuration object.
- INIT_CLASS_NAME_FORMAT - Static variable in class org.apache.torque.map.DatabaseMap
-
Format used to create create the class name for initializing a DB
specific map
- initCPDS(Configuration, ConnectionPoolDataSource) - Method in class org.apache.torque.dsfactory.AbstractDataSourceFactory
-
Initializes the ConnectionPoolDataSource.
- initialize() - Method in class org.apache.torque.avalon.TorqueComponent
-
- initialize(Configuration) - Method in class org.apache.torque.dsfactory.AbstractDataSourceFactory
-
Initialize the factory.
- initialize(Configuration) - Method in interface org.apache.torque.dsfactory.DataSourceFactory
-
Initialize the factory.
- initialize(Configuration) - Method in class org.apache.torque.dsfactory.JndiDataSourceFactory
-
- initialize(Configuration) - Method in class org.apache.torque.dsfactory.PerUserPool2DataSourceFactory
-
- initialize(Configuration) - Method in class org.apache.torque.dsfactory.PerUserPoolDataSourceFactory
-
Deprecated.
- initialize(Configuration) - Method in class org.apache.torque.dsfactory.SharedPool2DataSourceFactory
-
- initialize(Configuration) - Method in class org.apache.torque.dsfactory.SharedPoolDataSourceFactory
-
Deprecated.
- initialize() - Method in class org.apache.torque.map.DatabaseMap
-
Fully populate this DatabaseMap with all the TablesMaps.
- initJdbc2Pool(DataSource, Configuration) - Method in class org.apache.torque.dsfactory.AbstractDataSourceFactory
-
Initializes the Jdbc2PoolDataSource.
- initManagerMappings(Configuration) - Method in class org.apache.torque.TorqueInstance
-
Creates a mapping between classes and their manager classes.
- INNER_JOIN - Static variable in class org.apache.torque.criteria.Criteria
-
"INNER JOIN" SQL statement
- IntegerMapper - Class in org.apache.torque.om.mapper
-
Maps a database record to a Integer.
- IntegerMapper() - Constructor for class org.apache.torque.om.mapper.IntegerMapper
-
Constructs a IntegerMapper with an offset of 0.
- IntegerMapper(int) - Constructor for class org.apache.torque.om.mapper.IntegerMapper
-
Constructs a IntegerMapper with the given offset.
- intersect(Criteria) - Method in class org.apache.torque.criteria.Criteria
-
Creates a SQL INTERSECT between this Criteria
and the passed other criteria.
- INTERSECT - Static variable in class org.apache.torque.criteria.SqlEnum
-
SQL Expression " INTERSECT ".
- INTERSECT_ALL - Static variable in class org.apache.torque.criteria.SqlEnum
-
SQL Expression " INTERSECT ALL ".
- intersectAll(Criteria) - Method in class org.apache.torque.criteria.Criteria
-
Creates a SQL INTERSECT ALL between this Criteria
and the passed other criteria.
- intValue() - Method in class org.apache.torque.om.NumberKey
-
Returns the value of this NumberKey as an int.
- invalidateResult() - Method in class org.apache.torque.util.LargeSelect
-
Clear the query result so that the query is re-executed when the next page
is retrieved.
- isApplicable(WhereClauseExpression, Adapter) - Method in class org.apache.torque.sql.whereclausebuilder.CurrentDateTimePsPartBuilder
-
Returns whether this WhereClausePsPartBuilder is applicable for
a given WhereClauseExpression.
- isApplicable(WhereClauseExpression, Adapter) - Method in class org.apache.torque.sql.whereclausebuilder.EnumValueBuilder
-
Returns whether this WhereClausePsPartBuilder is applicable for
a given WhereClauseExpression.
- isApplicable(WhereClauseExpression, Adapter) - Method in class org.apache.torque.sql.whereclausebuilder.InBuilder
-
Returns whether this WhereClausePsPartBuilder is applicable for
a given WhereClauseExpression.
- isApplicable(WhereClauseExpression, Adapter) - Method in class org.apache.torque.sql.whereclausebuilder.LikeBuilder
-
Returns whether this WhereClausePsPartBuilder is applicable for
a given WhereClauseExpression.
- isApplicable(WhereClauseExpression, Adapter) - Method in class org.apache.torque.sql.whereclausebuilder.NullValueBuilder
-
Returns whether this WhereClausePsPartBuilder is applicable for
a given WhereClauseExpression.
- isApplicable(WhereClauseExpression, Adapter) - Method in class org.apache.torque.sql.whereclausebuilder.StandardBuilder
-
Returns whether this WhereClausePsPartBuilder is applicable for
a given WhereClauseExpression.
- isApplicable(WhereClauseExpression, Adapter) - Method in class org.apache.torque.sql.whereclausebuilder.VerbatimSqlConditionBuilder
-
Returns whether this WhereClausePsPartBuilder is applicable for
a given WhereClauseExpression.
- isApplicable(WhereClauseExpression, Adapter) - Method in interface org.apache.torque.sql.whereclausebuilder.WhereClausePsPartBuilder
-
Returns whether this WhereClausePsPartBuilder is applicable for
a given WhereClauseExpression.
- isAutoIncrement() - Method in class org.apache.torque.map.ColumnMap
-
Returns whether this column is an autoincrement column.
- isClosed() - Method in class org.apache.torque.util.TorqueConnectionImpl
-
- isCommitted() - Method in interface org.apache.torque.util.TorqueConnection
-
Has Transaction.commit() been called successfully on
this connection?
- isCommitted() - Method in class org.apache.torque.util.TorqueConnectionImpl
-
Has Transaction.commit() been called successfully on
this connection?
- isComposite() - Method in class org.apache.torque.criteria.Criteria
-
Returns whether this Criteria is a composite criteria, i.e.
- isComposite() - Method in class org.apache.torque.criteria.Criterion
-
Returns whether this criterion is a composite criterion.
- isConnectionRequired() - Method in class org.apache.torque.oid.AbstractIdGenerator
-
A flag to determine whether a Connection is required to
generate an id.
- isConnectionRequired() - Method in class org.apache.torque.oid.AutoIncrementIdGenerator
-
A flag to determine whether a Connection is required to
generate an id.
- isConnectionRequired() - Method in class org.apache.torque.oid.IDBroker
-
A flag to determine whether a Connection is required to
generate an id.
- isConnectionRequired() - Method in interface org.apache.torque.oid.IdGenerator
-
A flag to determine whether a Connection is required to
generate an id.
- isConnectionRequired() - Method in class org.apache.torque.oid.SequenceIdGenerator
-
A flag to determine whether a Connection is required to
generate an id.
- isDistinct() - Method in class org.apache.torque.util.functions.AggregateFunction
-
Should the column have DISTINCT added in front of it?
- isEmpty() - Method in class org.apache.torque.util.ColumnValues
-
- isForUpdate() - Method in class org.apache.torque.criteria.Criteria
-
Returns whether a FOR UPDATE clause is added.
- isGetGeneratedKeysSupported() - Method in class org.apache.torque.oid.AbstractIdGenerator
-
A flag to determine whether Statement#getGeneratedKeys()
should be used.
- isGetGeneratedKeysSupported() - Method in class org.apache.torque.oid.AutoIncrementIdGenerator
-
A flag to determine whether Statement#getGeneratedKeys()
should be used.
- isGetGeneratedKeysSupported() - Method in class org.apache.torque.oid.IDBroker
-
A flag to determine whether Statement#getGeneratedKeys()
should be used.
- isGetGeneratedKeysSupported() - Method in interface org.apache.torque.oid.IdGenerator
-
A flag to determine whether Statement#getGeneratedKeys()
should be used.
- isGetGeneratedKeysSupported() - Method in class org.apache.torque.oid.SequenceIdGenerator
-
A flag to determine whether Statement#getGeneratedKeys()
should be used.
- isIgnoreCase() - Method in class org.apache.torque.criteria.Criteria
-
Returns whether case should be ignored in where clauses and order by
whenever String columns are encountered.
- isIgnoreCase() - Method in class org.apache.torque.criteria.Criterion
-
Is ignore case on or off?
- isIgnoreCase() - Method in class org.apache.torque.sql.OrderBy
-
Returns whether case should be ignored for String columns.
- isInit() - Method in interface org.apache.torque.avalon.Torque
-
Determine whether Torque has already been initialized.
- isInit() - Static method in class org.apache.torque.Torque
-
Determine whether Torque has already been initialized.
- isInit() - Method in class org.apache.torque.TorqueInstance
-
Determine whether Torque has already been initialized.
- isModified() - Method in interface org.apache.torque.om.ObjectModel
-
Returns whether the object has been modified, since it was
last retrieved from storage.
- isNew() - Method in interface org.apache.torque.om.ObjectModel
-
Returns whether the object has ever been saved.
- ISNOTNULL - Static variable in class org.apache.torque.criteria.Criteria
-
"IS NOT NULL" null comparison
- ISNOTNULL - Static variable in class org.apache.torque.criteria.SqlEnum
-
SQL Expression " IS NOT NULL".
- isNotNull() - Method in class org.apache.torque.map.ColumnMap
-
Is null value allowed ?
- ISNULL - Static variable in class org.apache.torque.criteria.Criteria
-
"IS NULL" null comparison
- ISNULL - Static variable in class org.apache.torque.criteria.SqlEnum
-
SQL Expression " IS NULL".
- isPk() - Method in class org.apache.torque.map.ColumnMap
-
Returns whether this column is a primary key.
- isPostInsert() - Method in class org.apache.torque.oid.AbstractIdGenerator
-
A flag to determine the timing of the id generation
- isPostInsert() - Method in class org.apache.torque.oid.AutoIncrementIdGenerator
-
A flag to determine the timing of the id generation
- isPostInsert() - Method in class org.apache.torque.oid.IDBroker
-
A flag to determine the timing of the id generation
- isPostInsert() - Method in interface org.apache.torque.oid.IdGenerator
-
A flag to determine the timing of the id generation
- isPostInsert() - Method in class org.apache.torque.oid.SequenceIdGenerator
-
A flag to determine the timing of the id generation
- isPrimaryKey() - Method in class org.apache.torque.map.ColumnMap
-
Is this column a primary key?
- isPriorToInsert() - Method in class org.apache.torque.oid.AbstractIdGenerator
-
A flag to determine the timing of the id generation
- isPriorToInsert() - Method in class org.apache.torque.oid.AutoIncrementIdGenerator
-
A flag to determine the timing of the id generation
- isPriorToInsert() - Method in class org.apache.torque.oid.IDBroker
-
A flag to determine the timing of the id generation *
- isPriorToInsert() - Method in interface org.apache.torque.oid.IdGenerator
-
A flag to determine the timing of the id generation
- isPriorToInsert() - Method in class org.apache.torque.oid.SequenceIdGenerator
-
A flag to determine the timing of the id generation
- isProtected() - Method in class org.apache.torque.map.ColumnMap
-
Returns whether getters and setters are generated with the
access modifier "protected" rather than "public".
- isReadOnly() - Method in class org.apache.torque.util.TorqueConnectionImpl
-
- isRolledBack() - Method in interface org.apache.torque.util.TorqueConnection
-
Has Transaction.rollback() been called successfully on
this connection?
- isRolledBack() - Method in class org.apache.torque.util.TorqueConnectionImpl
-
Has Transaction.rollback() been called successfully on
this connection?
- isSingleRecord() - Method in class org.apache.torque.criteria.Criteria
-
Returns whether the check that a query returns exactly one record
is active.
- isThreadRunning() - Method in class org.apache.torque.oid.IDBroker
-
Returns whether the idbroker thread is running.
- isUseInheritance() - Method in class org.apache.torque.map.ColumnMap
-
Returns whether this column uses inheritance subclasses.
- isUseInheritance() - Method in class org.apache.torque.map.TableMap
-
Returns whether this table uses inheritance.
- isUseManager() - Method in class org.apache.torque.map.TableMap
-
Returns whether managers are used for this table.
- isUsePrimitive() - Method in class org.apache.torque.map.ColumnMap
-
Returns whether this column uses primitive values rather than objects.
- isValid(int) - Method in class org.apache.torque.util.TorqueConnectionImpl
-
- isVerbatimSqlCondition() - Method in class org.apache.torque.criteria.Criterion
-
Returns whether this Criterion represents a verbatim sql condition.
- isVerbatimSqlCondition() - Method in class org.apache.torque.sql.WhereClauseExpression
-
Returns whether this expression represents a verbatim sql condition.
- isWrapperFor(Class<?>) - Method in class org.apache.torque.util.TorqueConnectionImpl
-
- safeRollback(Connection) - Static method in class org.apache.torque.util.Transaction
-
Roll back a transaction without throwing errors if they occur.
- safeRollback(Connection) - Method in interface org.apache.torque.util.TransactionManager
-
Roll back a transaction without throwing errors if they occur.
- safeRollback(Connection) - Method in class org.apache.torque.util.TransactionManagerImpl
-
Roll back a transaction without throwing errors if they occur.
- save() - Method in interface org.apache.torque.om.Persistent
-
Saves the object.
- save(String) - Method in interface org.apache.torque.om.Persistent
-
Stores the object in the database.
- save(Connection) - Method in interface org.apache.torque.om.Persistent
-
Stores the object in the database.
- SCHEMA_KEY - Static variable in class org.apache.torque.Torque
-
"schema" Key for the configuration
- SCHEMA_SEPARATOR_CHAR - Static variable in class org.apache.torque.map.DatabaseMap
-
The character which separates the schema name from the table name.
- SEPARATOR - Static variable in class org.apache.torque.om.ComboKey
-
The single character used to separate key values in a string.
- SEPARATOR_STRING - Static variable in class org.apache.torque.om.ComboKey
-
The single character used to separate key values in a string.
- SequenceIdGenerator - Class in org.apache.torque.oid
-
This generator works with databases that have an sql syntax for
getting an id prior to inserting a row into the database.
- SequenceIdGenerator(Adapter, String) - Constructor for class org.apache.torque.oid.SequenceIdGenerator
-
Creates an IdGenerator which will work with the specified database.
- setAdapter(Adapter) - Method in class org.apache.torque.Database
-
Sets the adapter for this database.
- setAll() - Method in class org.apache.torque.criteria.Criteria
-
Adds "ALL " to the SQL statement.
- setArgumentList(List<Object>) - Method in class org.apache.torque.util.functions.AbstractFunction
-
Set the full function argument list.
- setArguments(Object...) - Method in class org.apache.torque.util.functions.AbstractFunction
-
Sets the function arguments.
- setArguments(Object...) - Method in class org.apache.torque.util.functions.AggregateFunction
-
Assumes that there are one or two arguments being specified.
- setArguments(Object...) - Method in interface org.apache.torque.util.functions.SQLFunction
-
Sets the function specific arguments.
- setAutoCommit(boolean) - Method in class org.apache.torque.util.TorqueConnectionImpl
-
- setAutoIncrement(boolean) - Method in class org.apache.torque.map.ColumnMap
-
Sets whether this column is an autoincrement column.
- setByName(String, Object) - Method in interface org.apache.torque.om.ColumnAccessByName
-
Set a field in the object by field (Java) name.
- setByPeerName(String, Object) - Method in interface org.apache.torque.om.ColumnAccessByName
-
Set field values by Peer Field Name-
- setByPosition(int, Object) - Method in interface org.apache.torque.om.ColumnAccessByName
-
Set field values by it's position (zero based) in the XML schema.
- setCapabilities(DatabaseMetaData) - Method in class org.apache.torque.adapter.AbstractAdapter
-
Update static capabilities of the adapter with actual
readings based on the JDBC meta-data
- setCapabilities(DatabaseMetaData) - Method in interface org.apache.torque.adapter.Adapter
-
Update static capabilities of the adapter with actual
readings based on the JDBC meta-data
- setCapabilities(Connection, Adapter) - Static method in class org.apache.torque.adapter.AdapterFactory
-
Update static capabilities of the Torque database adapter with actual
readings based on the JDBC meta-data
- setCatalog(String) - Method in class org.apache.torque.util.TorqueConnectionImpl
-
- setClassName(String) - Method in class org.apache.torque.manager.AbstractBaseManager
-
Set the classname to instantiate for getInstance()
- setClassName(String) - Method in class org.apache.torque.map.InheritanceMap
-
Sets the class name for this InheritanceMap.
- setClientInfo(String, String) - Method in class org.apache.torque.util.TorqueConnectionImpl
-
- setClientInfo(Properties) - Method in class org.apache.torque.util.TorqueConnectionImpl
-
- setColumn(ColumnMap) - Method in class org.apache.torque.map.InheritanceMap
-
Sets the column this inheritance map belongs to.
- setColumn(Column) - Method in class org.apache.torque.util.functions.AggregateFunction
-
Sets the column the function is applied to.
- setCommitted(boolean) - Method in interface org.apache.torque.util.TorqueConnection
-
Called by TransactionManagerImpl.commit() to track state
- setCommitted(boolean) - Method in class org.apache.torque.util.TorqueConnectionImpl
-
Called by TransactionManagerImpl.commit() to track state
- setConfiguration(Configuration) - Method in class org.apache.torque.oid.IDBroker
-
Set the configuration
- setConfiguration(Configuration) - Static method in class org.apache.torque.Torque
-
Sets the configuration for Torque and all dependencies.
- setConfiguration(Configuration) - Method in class org.apache.torque.TorqueInstance
-
Sets the configuration for Torque and all dependencies.
- setDatabaseName(String) - Method in class org.apache.torque.util.BasePeerImpl
-
Set the database name for this instance.
- setDataSourceFactory(DataSourceFactory) - Method in class org.apache.torque.Database
-
Sets the DataSourceFactory for this database.
- setDbName(String) - Method in class org.apache.torque.criteria.Criteria
-
Set the Database name.
- setDbName(Criteria) - Method in class org.apache.torque.util.BasePeerImpl
-
Sets the database name in the passed criteria to the table's default,
if it is not already set.
- setDefault(String) - Method in class org.apache.torque.map.ColumnMap
-
Sets the default value for this column.
- setDescription(String) - Method in class org.apache.torque.map.ColumnMap
-
Sets the description for this column.
- setDescription(String) - Method in class org.apache.torque.map.TableMap
-
Sets the table description.
- setDistinct() - Method in class org.apache.torque.criteria.Criteria
-
Adds "DISTINCT " to the SQL statement.
- setExcludeExprColumns(boolean) - Method in class org.apache.torque.util.SummaryHelper
-
Define if unnamed output columns which get labeled as EXPR{index#})
should be included in the the output set.
- setExtends(String) - Method in class org.apache.torque.map.InheritanceMap
-
Sets the ancestor class for the class described by this InheritanceMap.
- setFetchSize(Integer) - Method in class org.apache.torque.criteria.Criteria
-
Sets the JDBC statement fetch size to use for queries.
- setFetchSize(Integer) - Method in class org.apache.torque.sql.Query
-
Sets the JDBC statement fetch size to use for queries.
- setForUpdate(boolean) - Method in class org.apache.torque.criteria.Criteria
-
Sets whether FOR UPDATE clause should be added to the query.
- setForUpdate(String) - Method in class org.apache.torque.sql.Query
-
Sets the FOR UPDATE clause which should be added to the query.
- setFunction(String) - Method in class org.apache.torque.util.functions.AggregateFunction
-
Set the function name to use, e.g.
- setFunction(String) - Method in class org.apache.torque.util.functions.Avg
-
This method cannot be called, an UnsupportedOperationException
will always be thrown.
- setFunction(String) - Method in class org.apache.torque.util.functions.Count
-
This method cannot be called, an UnsupportedOperationException
will always be thrown.
- setFunction(String) - Method in class org.apache.torque.util.functions.Max
-
This method cannot be called, an UnsupportedOperationException
will always be thrown.
- setFunction(String) - Method in class org.apache.torque.util.functions.Min
-
This method cannot be called, an UnsupportedOperationException
will always be thrown.
- setFunction(String) - Method in class org.apache.torque.util.functions.Sum
-
This method cannot be called, an UnsupportedOperationException
will always be thrown.
- setHaving(String) - Method in class org.apache.torque.sql.Query
-
Set the having clause.
- setHoldability(int) - Method in class org.apache.torque.util.TorqueConnectionImpl
-
- setIdTable(TableMap) - Method in class org.apache.torque.Database
-
Set the ID table for this database.
- setIdTable(String) - Method in class org.apache.torque.Database
-
Set the ID table for this database.
- setIdTable(TableMap) - Method in class org.apache.torque.map.DatabaseMap
-
Add a new TableMap to the database.
- setIgnoreCase(boolean) - Method in class org.apache.torque.criteria.Criteria
-
Sets whether case should be ignored in where clauses and order by
whenever String columns are encountered.
- setIgnoreCase(boolean) - Method in class org.apache.torque.criteria.Criterion
-
Sets ignore case.
- setInheritance(String) - Method in class org.apache.torque.map.ColumnMap
-
Sets the inheritance type.
- setInstance(TorqueInstance) - Static method in class org.apache.torque.Torque
-
- setInstance(ExceptionMapper) - Static method in class org.apache.torque.util.ExceptionMapper
-
Sets a new instance of an Exception mapper to use.
- setJavaName(String) - Method in class org.apache.torque.map.ColumnMap
-
Sets the Java Name for this column.
- setJavaName(String) - Method in class org.apache.torque.map.TableMap
-
Set the Java name of the table as defined by generator/XML.
- setJavaNamingMethod(String) - Method in class org.apache.torque.map.ColumnMap
-
Sets the java naming method for this column.
- setJavaType(String) - Method in class org.apache.torque.map.ColumnMap
-
Sets the java type of this column.
- setJdbcType(int) - Method in class org.apache.torque.util.JdbcTypedValue
-
Sets the JDBC type as in java.sql.Types
.
- setKey(String) - Method in class org.apache.torque.map.InheritanceMap
-
Sets the key by which this inheritanceMap is activated.
- setLimit(int) - Method in class org.apache.torque.criteria.Criteria
-
Set a limit for the query
- setLimit(String) - Method in class org.apache.torque.sql.Query
-
Set the limit number.
- setLValue(Object) - Method in class org.apache.torque.criteria.Criterion
-
Set the left hand side value of the comparison.
- setLValue(Object) - Method in class org.apache.torque.sql.WhereClauseExpression
-
Sets the value on the left hand side of the operator of the
expression.
- setManagerClass(Class<?>) - Method in class org.apache.torque.map.TableMap
-
Sets the manager class for this table.
- setMemoryPageLimit(int) - Method in class org.apache.torque.util.LargeSelect
-
Sets the multiplier that will be used to compute the memory limit when a
constructor with no memory page limit is used - the memory limit will be
this number multiplied by the page size.
- setModified(boolean) - Method in interface org.apache.torque.om.ObjectModel
-
Sets the modified state for the object.
- setNetworkTimeout(Executor, int) - Method in class org.apache.torque.util.TorqueConnectionImpl
-
- setNew(boolean) - Method in interface org.apache.torque.om.ObjectModel
-
Setter for the isNew attribute.
- setNotNull(boolean) - Method in class org.apache.torque.map.ColumnMap
-
Set if this column may be null.
- setObjectOrColumnPsPartBuilder(ObjectPsPartBuilder) - Static method in class org.apache.torque.sql.whereclausebuilder.AbstractWhereClausePsPartBuilder
-
Set the ObjectPsPartBuilder to use for single values or columns.
- setOffset(long) - Method in class org.apache.torque.criteria.Criteria
-
Set the offset.
- setOffset(String) - Method in class org.apache.torque.sql.Query
-
Set the offset number.
- setOMClass(Class<T>) - Method in class org.apache.torque.manager.AbstractBaseManager
-
Set the Class that will be instantiated by this manager
- setOMClass(Class<?>) - Method in class org.apache.torque.map.TableMap
-
Sets the OM root class for this table.
- setOperator(SqlEnum) - Method in class org.apache.torque.sql.WhereClauseExpression
-
Sets the value on the operator of the expression.
- setOption(String, String) - Method in class org.apache.torque.map.OptionSupport
-
Sets an option.
- setPageProgressTextPattern(String) - Method in class org.apache.torque.util.LargeSelect
-
Set the MessageFormat pattern for the page progress.
- setPartOperator(String) - Method in class org.apache.torque.sql.Query
-
Sets the operator connecting the query parts.
- setPeerClass(Class<?>) - Method in class org.apache.torque.map.TableMap
-
Sets the Peer class for this table.
- setPk(boolean) - Method in class org.apache.torque.map.ColumnMap
-
Sets whether this column is a primary key.
- setPosition(int) - Method in class org.apache.torque.map.ColumnMap
-
Sets the position (one based) of this column in the table.
- setPostLimit(String) - Method in class org.apache.torque.sql.Query
-
Set the Post limit String.
- setPrefix(String) - Method in class org.apache.torque.map.TableMap
-
Set table prefix name.
- setPreLimit(String) - Method in class org.apache.torque.sql.Query
-
Get the Pre limit String.
- setPrimaryKey(boolean) - Method in class org.apache.torque.map.ColumnMap
-
Set if this column is a primary key or not.
- setPrimaryKey(ObjectKey<?>) - Method in interface org.apache.torque.om.ObjectModel
-
Sets the PrimaryKey for the object.
- setPrimaryKey(String) - Method in interface org.apache.torque.om.ObjectModel
-
Sets the PrimaryKey for the object.
- setPrimaryKeyMethod(IDMethod) - Method in class org.apache.torque.map.TableMap
-
Sets the method used to generate a key for this table.
- setPrimaryKeyMethodInfo(Object) - Method in class org.apache.torque.map.TableMap
-
Sets the pk information needed to generate a key.
- setPrimaryKeyMethodInfo(IDMethod, Object) - Method in class org.apache.torque.map.TableMap
-
Sets the pk information needed to generate a key.
- setProperty(String, Configuration, Object) - Method in class org.apache.torque.dsfactory.AbstractDataSourceFactory
-
Encapsulates setting configuration properties on
DataSource
objects.
- setProtected(boolean) - Method in class org.apache.torque.map.ColumnMap
-
Sets whether getters and setters should be generated with the
access modifier "protected" rather than "public".
- setReadOnly(boolean) - Method in class org.apache.torque.util.TorqueConnectionImpl
-
- setRecordMapper(RecordMapper<T>) - Method in class org.apache.torque.util.BasePeerImpl
-
Set the record mapper for this instance.
- setRecordProgressTextPattern(String) - Method in class org.apache.torque.util.LargeSelect
-
Set the MessageFormat pattern for the record progress.
- setRegion(String) - Method in class org.apache.torque.manager.AbstractBaseManager
-
Set the cache region used for JCS.
- setRolledBack(boolean) - Method in interface org.apache.torque.util.TorqueConnection
-
Called by TransactionManagerImpl.rollback() to track state
- setRolledBack(boolean) - Method in class org.apache.torque.util.TorqueConnectionImpl
-
Called by TransactionManagerImpl.rollback() to track state
- setRowcount(String) - Method in class org.apache.torque.sql.Query
-
Set the rowcount number.
- setRValue(Object) - Method in class org.apache.torque.criteria.Criterion
-
Set the right hand side value of the comparison.
- setRValue(Object) - Method in class org.apache.torque.sql.WhereClauseExpression
-
Sets the value on the right hand side of the operator of the
expression.
- setSavepoint() - Method in class org.apache.torque.util.TorqueConnectionImpl
-
- setSavepoint(String) - Method in class org.apache.torque.util.TorqueConnectionImpl
-
- setScale(int) - Method in class org.apache.torque.map.ColumnMap
-
- setSchema(String, String) - Method in interface org.apache.torque.avalon.Torque
-
Sets the current schema for a database connection
- setSchema(String) - Method in class org.apache.torque.Database
-
Sets the schema for this database.
- setSchema(String, String) - Static method in class org.apache.torque.Torque
-
Sets the current schema for a database connection
- setSchema(String, String) - Method in class org.apache.torque.TorqueInstance
-
Sets the current schema for a database connection
- setSchema(String) - Method in class org.apache.torque.util.TorqueConnectionImpl
-
- setSearchParam(String, String) - Method in class org.apache.torque.util.LargeSelect
-
Set a search parameter.
- setSingleRecord(boolean) - Method in class org.apache.torque.criteria.Criteria
-
Switch the check on or off that a query returns exactly one record.
- setSize(int) - Method in class org.apache.torque.map.ColumnMap
-
Set the size of this column.
- setTableMap(TableMap) - Method in class org.apache.torque.util.BasePeerImpl
-
Set the default table map for this instance.
- setTorqueType(String) - Method in class org.apache.torque.map.ColumnMap
-
Set the Torque type of this column.
- setTransactionIsolation(int) - Method in class org.apache.torque.util.TorqueConnectionImpl
-
- setTransactionManager(TransactionManager) - Static method in class org.apache.torque.util.Transaction
-
Sets the transaction manager to use.
- setType(Object) - Method in class org.apache.torque.map.ColumnMap
-
Set the type of this column.
- setType(Query.Type) - Method in class org.apache.torque.sql.Query
-
Sets the type of this SQL statement.
- setTypeMap(Map<String, Class<?>>) - Method in class org.apache.torque.util.TorqueConnectionImpl
-
- setUseInheritance(boolean) - Method in class org.apache.torque.map.ColumnMap
-
Sets whether this column uses inheritance subclasses.
- setUseInheritance(boolean) - Method in class org.apache.torque.map.TableMap
-
Sets whether this table uses inheritance.
- setUseManager(boolean) - Method in class org.apache.torque.map.TableMap
-
Sets whether managers are used for this table.
- setUsePrimitive(boolean) - Method in class org.apache.torque.map.ColumnMap
-
Sets whether this column uses primitive values rather than objects.
- setValue(String) - Method in class org.apache.torque.om.BooleanKey
-
Sets the internal representation to a String.
- setValue(String) - Method in class org.apache.torque.om.ComboKey
-
Sets the internal representation using a String of the
form produced by the toString method.
- setValue(String) - Method in class org.apache.torque.om.DateKey
-
Sets the internal representation to a String
- setValue(String) - Method in class org.apache.torque.om.NumberKey
-
Sets the internal representation using a String representation
of a number.
- setValue(T) - Method in class org.apache.torque.om.ObjectKey
-
Sets the internal representation.
- setValue(O) - Method in class org.apache.torque.om.ObjectKey
-
Sets the internal representation to the same object used by key.
- setValue(Object) - Method in class org.apache.torque.util.JdbcTypedValue
-
Sets the value.
- SharedPool2DataSourceFactory - Class in org.apache.torque.dsfactory
-
A factory that looks up the DataSource using the DBCP2 pool methods.
- SharedPool2DataSourceFactory() - Constructor for class org.apache.torque.dsfactory.SharedPool2DataSourceFactory
-
- SharedPoolDataSourceFactory - Class in org.apache.torque.dsfactory
-
Deprecated.
- SharedPoolDataSourceFactory() - Constructor for class org.apache.torque.dsfactory.SharedPoolDataSourceFactory
-
Deprecated.
- shortValue() - Method in class org.apache.torque.om.NumberKey
-
Returns the value of this NumberKey as a short.
- shutdown() - Static method in class org.apache.torque.Torque
-
Shuts down the service.
- shutdown() - Method in class org.apache.torque.TorqueInstance
-
Shuts down Torque.
- SimpleKey<T> - Class in org.apache.torque.om
-
This empty class marks an ObjectKey as being capable of being
represented as a single column in a database.
- SimpleKey() - Constructor for class org.apache.torque.om.SimpleKey
-
- size() - Method in class org.apache.torque.util.ColumnValues
-
- SqlBuilder - Class in org.apache.torque.sql
-
Factored out code that is used to process SQL tables.
- SqlEnum - Class in org.apache.torque.criteria
-
A typesafe enum of SQL string fragments.
- SQLFunction - Interface in org.apache.torque.util.functions
-
Define the basic methods that classes that support SQL Functions
need to implement for Classes that use them.
- StandardBuilder - Class in org.apache.torque.sql.whereclausebuilder
-
Builds a PreparedStatementPart from a WhereClauseExpression which
RHS and LHS is a simple value.
- StandardBuilder() - Constructor for class org.apache.torque.sql.whereclausebuilder.StandardBuilder
-
- start() - Method in class org.apache.torque.oid.IDBroker
-
Starts the idBroker.
- STD_SEPARATOR_CHAR - Static variable in class org.apache.torque.map.DatabaseMap
-
The character used by most implementations as the separator
between name elements.
- stop() - Method in class org.apache.torque.oid.IDBroker
-
Shuts down the IDBroker thread.
- StringKey - Class in org.apache.torque.om
-
This class can be used as an ObjectKey to uniquely identify an
object within an application where the id consists
of a single entity such a GUID or the value of a db row's primary key.
- StringKey() - Constructor for class org.apache.torque.om.StringKey
-
Initializes the internal key value to null
.
- StringKey(String) - Constructor for class org.apache.torque.om.StringKey
-
Creates an StringKey and set its internal representation
- StringKey(StringKey) - Constructor for class org.apache.torque.om.StringKey
-
Creates a StringKey that is equivalent to key.
- StringMapper - Class in org.apache.torque.om.mapper
-
Maps a database record to a String.
- StringMapper() - Constructor for class org.apache.torque.om.mapper.StringMapper
-
Constructs a StringMapper with an offset of 0.
- StringMapper(int) - Constructor for class org.apache.torque.om.mapper.StringMapper
-
Constructs a StringMapper with the given offset.
- Sum - Class in org.apache.torque.util.functions
-
SQL99 Standard sum function.
- Sum(Column) - Constructor for class org.apache.torque.util.functions.Sum
-
Construct an SUM function class with the column to sum over.
- Sum(String) - Constructor for class org.apache.torque.util.functions.Sum
-
Construct an SUM function class with an SQL expression to sum over.
- Sum(Column, boolean) - Constructor for class org.apache.torque.util.functions.Sum
-
Construct an SUM function class with the column to sum over
and possibly a distinct modifier.
- summarize(Criteria) - Method in class org.apache.torque.util.SummaryHelper
-
Return a list of ListOrderedMapCI objects with the results of the summary
query.
- summarize(Criteria, List<Class<?>>) - Method in class org.apache.torque.util.SummaryHelper
-
Return a list of ListOrderedMapCI objects with the results of the summary
query.
- summarize(Criteria, Connection) - Method in class org.apache.torque.util.SummaryHelper
-
Return a list of OrderedMap objects with the results of the summary
query.
- summarize(Criteria, List<Class<?>>, Connection) - Method in class org.apache.torque.util.SummaryHelper
-
Return a list of ListOrderedMapCI objects with the results of the summary
query.
- SummaryHelper - Class in org.apache.torque.util
-
A utility to help produce aggregate summary information about a table.
- SummaryHelper() - Constructor for class org.apache.torque.util.SummaryHelper
-
- supportsNativeLimit() - Method in class org.apache.torque.adapter.AbstractAdapter
-
Returns whether the database can natively limit the size of the ResultSet
of a query.
- supportsNativeLimit() - Method in interface org.apache.torque.adapter.Adapter
-
This method is used to check whether the database natively
supports limiting the size of the resultset.
- supportsNativeLimit() - Method in class org.apache.torque.adapter.NoneAdapter
-
Returns whether the database can natively limit the size of the ResultSet
of a query.
- supportsNativeOffset() - Method in class org.apache.torque.adapter.AbstractAdapter
-
Returns whether the database natively supports returning results
starting at an offset position other than 0.
- supportsNativeOffset() - Method in interface org.apache.torque.adapter.Adapter
-
This method is used to check whether the database natively
supports returning results starting at an offset position other
than 0.
- supportsNativeOffset() - Method in class org.apache.torque.adapter.MssqlAdapter
-
Returns whether the database natively supports returning results
starting at an offset position other than 0.
- supportsNativeOffset() - Method in class org.apache.torque.adapter.NoneAdapter
-
Returns whether the database natively supports returning results
starting at an offset position other than 0.