< A B C D E F G H I J K L M N O P Q R S T U V W X

<

() - Static method in class org.apache.torque.engine.database.transform.XmlToData
 
() - Static method in class org.apache.torque.engine.database.transform.XmlToAppData
 

A

AbstractBaseManager - class org.apache.torque.manager.AbstractBaseManager.
This class contains common functionality of a Manager for instantiating OM's.
AbstractBaseManager() - Constructor for class org.apache.torque.manager.AbstractBaseManager
 
abstractValue - Variable in class org.apache.torque.engine.database.model.Table
 
acquireConstraintName(String, int) - Method in class org.apache.torque.engine.database.model.Table
Macro to a constraint name.
adapterPackage - Static variable in class org.apache.torque.adapter.DBFactory
The package name in which known adapters are stored.
adapters - Static variable in class org.apache.torque.adapter.DBFactory
A table of Class objects for registered adapters, keyed by the fully qualified class name of their associated JDBC driver.
add(Criteria.Criterion) - Method in class org.apache.torque.util.Criteria
This method adds a prepared Criterion object to the Criteria.
add(String, boolean) - Method in class org.apache.torque.util.Criteria
Convenience method to add a boolean to Criteria.
add(String, boolean, SqlEnum) - Method in class org.apache.torque.util.Criteria
Convenience method to add a boolean to Criteria.
add(String, double) - Method in class org.apache.torque.util.Criteria
Convenience method to add a double to Criteria.
add(String, double, SqlEnum) - Method in class org.apache.torque.util.Criteria
Convenience method to add a double to Criteria.
add(String, float) - Method in class org.apache.torque.util.Criteria
Convenience method to add a float to Criteria.
add(String, float, SqlEnum) - Method in class org.apache.torque.util.Criteria
Convenience method to add a float to Criteria.
add(String, int) - Method in class org.apache.torque.util.Criteria
Convenience method to add an int to Criteria.
add(String, int, SqlEnum) - Method in class org.apache.torque.util.Criteria
Convenience method to add an int to Criteria.
add(String, long) - Method in class org.apache.torque.util.Criteria
Convenience method to add a long to Criteria.
add(String, long, SqlEnum) - Method in class org.apache.torque.util.Criteria
Convenience method to add a long to Criteria.
add(String, Object) - Method in class org.apache.torque.util.Criteria
This method adds a new criterion to the list of criterias.
add(String, Object, SqlEnum) - Method in class org.apache.torque.util.Criteria
This method adds a new criterion to the list of criterias.
add(String, String, Object) - Method in class org.apache.torque.util.Criteria
This method adds a new criterion to the list of criterias.
add(String, String, Object, SqlEnum) - Method in class org.apache.torque.util.Criteria
This method adds a new criterion to the list of criterias.
addAlias(String, String) - Method in class org.apache.torque.util.Criteria
Allows one to specify an alias for a table that can be used in various parts of the SQL.
addAscendingOrderByColumn(String) - Method in class org.apache.torque.util.Criteria
Add order by column name, explicitly specifying ascending.
addAsColumn(String, String) - Method in class org.apache.torque.util.Criteria
Add an AS clause to the select columns.
addCacheListenerImpl(CacheListener) - Method in class org.apache.torque.manager.AbstractBaseManager
 
addColumn(Attributes) - Method in class org.apache.torque.engine.database.model.Index
Adds a new column to an index.
addColumn(Attributes) - Method in class org.apache.torque.engine.database.model.Table
A utility function to create a new column from attrib and add it to this table.
addColumn(Column) - Method in class org.apache.torque.engine.database.model.Table
Adds a new column to the column list and set the parent table of the column to the current table
addColumn(ColumnMap) - Method in class org.apache.torque.map.TableMap
Add a pre-created column to this table.
addColumn(String, Object) - Method in class org.apache.torque.map.TableMap
Add a column to this table of a certain type.
addColumn(String, Object, boolean, String, String, int) - Method in class org.apache.torque.map.TableMap
Add a column to the table.
addColumn(String, Object, int) - Method in class org.apache.torque.map.TableMap
Add a column to this table of a certain type and size.
addConnectionEventListener(ConnectionEventListener) - Method in class org.apache.torque.pool.DBConnection
Add an event listener.
addCriterionTable(Criteria.Criterion, StringStack) - Method in class org.apache.torque.util.Criteria.Criterion
method supporting recursion through all criterions to give us a StringStack of tables from each criterion
addDatabase(Attributes) - Method in class org.apache.torque.engine.database.model.AppData
An utility method to add a new database from an xml attribute.
addDatabase(Database) - Method in class org.apache.torque.engine.database.model.AppData
Add a database to the list and sets the AppData property to this AppData
addDate(String, int, int, int) - Method in class org.apache.torque.util.Criteria
Convenience method to add a Date object specified by year, month, and date into the Criteria.
addDate(String, int, int, int, SqlEnum) - Method in class org.apache.torque.util.Criteria
Convenience method to add a Date object specified by year, month, and date into the Criteria.
addDescendingOrderByColumn(String) - Method in class org.apache.torque.util.Criteria
Add order by column name, explicitly specifying descending.
addedObject(Persistent) - Method in interface org.apache.torque.manager.CacheListener
 
addFileset(FileSet) - Method in class org.apache.torque.task.TorqueDataModelTask
Adds a set of xml schema files (nested fileset attribute).
addForeignKey(Attributes) - Method in class org.apache.torque.engine.database.model.Table
A utility function to create a new foreign key from attrib and add it to this table.
addForeignKey(ForeignKey) - Method in class org.apache.torque.engine.database.model.Table
Adds a new FK to the FK list and set the parent table of the column to the current table
addForeignKey(String, Object, String, String) - Method in class org.apache.torque.map.TableMap
Add a foreign key column to the table.
addForeignKey(String, Object, String, String, int) - Method in class org.apache.torque.map.TableMap
Add a foreign key column to the table.
addForeignPrimaryKey(String, Object, String, String) - Method in class org.apache.torque.map.TableMap
Add a foreign primary key column to the table.
addForeignPrimaryKey(String, Object, String, String, int) - Method in class org.apache.torque.map.TableMap
Add a foreign primary key column to the table.
addGroupByColumn(String) - Method in class org.apache.torque.util.Criteria
Add group by column name.
addHaving(Criteria.Criterion) - Method in class org.apache.torque.util.Criteria
This method adds a prepared Criterion object to the Criteria as a having clause.
addIdGenerator(String, IdGenerator) - Method in class org.apache.torque.map.DatabaseMap
Add a type of id generator for access by a TableMap.
addIdMethodParameter(Attributes) - Method in class org.apache.torque.engine.database.model.Table
A utility function to create a new id method parameter from attrib and add it to this table.
addIdMethodParameter(IdMethodParameter) - Method in class org.apache.torque.engine.database.model.Table
Adds a new ID method parameter to the list and sets the parent table of the column associated with the supplied parameter to this table.
addIn(String, int[]) - Method in class org.apache.torque.util.Criteria
Adds an 'IN' clause with the criteria supplied as an int array.
addIn(String, List) - Method in class org.apache.torque.util.Criteria
Adds an 'IN' clause with the criteria supplied as a List.
addIn(String, Object[]) - Method in class org.apache.torque.util.Criteria
Adds an 'IN' clause with the criteria supplied as an Object array.
addIndex(Attributes) - Method in class org.apache.torque.engine.database.model.Table
A utility function to create a new index from attrib and add it to this table.
addIndex(Index) - Method in class org.apache.torque.engine.database.model.Table
Adds a new index to the index list and set the parent table of the column to the current table
addInheritance(Attributes) - Method in class org.apache.torque.engine.database.model.Column
A utility function to create a new column from attrib and add it to this table.
addInheritance(Inheritance) - Method in class org.apache.torque.engine.database.model.Column
Adds a new inheritance definition to the inheritance list and set the parent column of the inheritance to the current column
addJoin(String, String) - Method in class org.apache.torque.util.Criteria
This is the way that you should add a join of two tables.
addNotIn(String, int[]) - Method in class org.apache.torque.util.Criteria
Adds a 'NOT IN' clause with the criteria supplied as an int array.
addNotIn(String, List) - Method in class org.apache.torque.util.Criteria
Adds a 'NOT IN' clause with the criteria supplied as a List.
addNotIn(String, Object[]) - Method in class org.apache.torque.util.Criteria
Adds a 'NOT IN' clause with the criteria supplied as an Object array.
addOrderByColumn(String) - Method in class org.apache.torque.util.Criteria
Deprecated. Use addAscendingOrderByColumn() instead.
addPrimaryKey(String, Object) - Method in class org.apache.torque.map.TableMap
Add a primary key column to this Table.
addPrimaryKey(String, Object, int) - Method in class org.apache.torque.map.TableMap
Add a primary key column to this Table.
addReference(Attributes) - Method in class org.apache.torque.engine.database.model.ForeignKey
adds a new reference entry to the foreign key
addReference(String, String) - Method in class org.apache.torque.engine.database.model.ForeignKey
adds a new reference entry to the foreign key
addReferrer(ForeignKey) - Method in class org.apache.torque.engine.database.model.Column
Adds the foreign key from another table that refers to this column.
addReferrer(ForeignKey) - Method in class org.apache.torque.engine.database.model.Table
Adds the foreign key from another table that refers to this table.
addSelectColumn(String) - Method in class org.apache.torque.util.Criteria
Add select column.
addTable(Attributes) - Method in class org.apache.torque.engine.database.model.Database
An utility method to add a new table from an xml attribute.
addTable(String) - Method in class org.apache.torque.map.DatabaseMap
Add a new table to the database by name.
addTable(String, int) - Method in class org.apache.torque.map.DatabaseMap
Add a new table to the database by name.
addTable(Table) - Method in class org.apache.torque.engine.database.model.Database
Add a table to the list and sets the Database property to this Database
addTable(TableMap) - Method in class org.apache.torque.map.DatabaseMap
Add a new TableMap to the database.
addText(String) - Method in class org.apache.torque.task.TorqueSQLExec
Set the sql command to execute
addText(String) - Method in class org.apache.torque.task.TorqueSQLExec.Transaction
 
addTime(String, int, int, int) - Method in class org.apache.torque.util.Criteria
Deprecated. These methods were wrongly named and are misleading. Use addDate() instead.
addTime(String, int, int, int, SqlEnum) - Method in class org.apache.torque.util.Criteria
Deprecated. These methods were wrongly named and are misleading. Use addDate() instead.
addUnique(Attributes) - Method in class org.apache.torque.engine.database.model.Table
A utility function to create a new Unique from attrib and add it to this table.
addUnique(Unique) - Method in class org.apache.torque.engine.database.model.Table
Adds a new Unique to the Unique list and set the parent table of the column to the current table
alfa - Static variable in class org.apache.torque.engine.sql.SQLScanner
 
alfanum - Static variable in class org.apache.torque.engine.sql.SQLScanner
 
algorithms - Variable in class org.apache.torque.engine.database.model.NameFactory
The cache of NameGenerator algorithms in use for name generation, keyed by fully qualified class name.
alias - Variable in class org.apache.torque.engine.database.model.Table
 
aliases - Variable in class org.apache.torque.util.Criteria
 
ALL - Static variable in class org.apache.torque.util.Criteria
Comparison type.
ALL - Static variable in class org.apache.torque.util.SqlEnum
 
ALT_NOT_EQUAL - Static variable in class org.apache.torque.util.Criteria
Comparison type.
ALT_NOT_EQUAL - Static variable in class org.apache.torque.util.SqlEnum
 
ancestor - Variable in class org.apache.torque.engine.database.model.Inheritance
 
AND - Static variable in class org.apache.torque.util.Query
 
AND - Static variable in class org.apache.torque.util.Criteria.Criterion
 
and(Criteria.Criterion) - Method in class org.apache.torque.util.Criteria
This method adds a prepared Criterion object to the Criteria.
and(Criteria.Criterion) - Method in class org.apache.torque.util.Criteria.Criterion
Append an AND Criterion onto this Criterion's list.
and(String, boolean) - Method in class org.apache.torque.util.Criteria
Convenience method to add a boolean to Criteria.
and(String, boolean, SqlEnum) - Method in class org.apache.torque.util.Criteria
Convenience method to add a boolean to Criteria.
and(String, double) - Method in class org.apache.torque.util.Criteria
Convenience method to add a double to Criteria.
and(String, double, SqlEnum) - Method in class org.apache.torque.util.Criteria
Convenience method to add a double to Criteria.
and(String, float) - Method in class org.apache.torque.util.Criteria
Convenience method to add a float to Criteria.
and(String, float, SqlEnum) - Method in class org.apache.torque.util.Criteria
Convenience method to add a float to Criteria.
and(String, int) - Method in class org.apache.torque.util.Criteria
Convenience method to add an int to Criteria.
and(String, int, SqlEnum) - Method in class org.apache.torque.util.Criteria
Convenience method to add an int to Criteria.
and(String, long) - Method in class org.apache.torque.util.Criteria
Convenience method to add a long to Criteria.
and(String, long, SqlEnum) - Method in class org.apache.torque.util.Criteria
Convenience method to add a long to Criteria.
and(String, Object) - Method in class org.apache.torque.util.Criteria
This method adds a new criterion to the list of criterias.
and(String, Object, SqlEnum) - Method in class org.apache.torque.util.Criteria
This method adds a new criterion to the list of criterias.
and(String, String, Object) - Method in class org.apache.torque.util.Criteria
This method adds a new criterion to the list of criterias.
and(String, String, Object, SqlEnum) - Method in class org.apache.torque.util.Criteria
This method adds a new criterion to the list of criterias.
andDate(String, int, int, int) - Method in class org.apache.torque.util.Criteria
Convenience method to add a Date object specified by year, month, and date into the Criteria.
andDate(String, int, int, int, SqlEnum) - Method in class org.apache.torque.util.Criteria
Convenience method to add a Date object specified by year, month, and date into the Criteria.
andIn(String, int[]) - Method in class org.apache.torque.util.Criteria
Adds an 'IN' clause with the criteria supplied as an int array.
andIn(String, List) - Method in class org.apache.torque.util.Criteria
Adds an 'IN' clause with the criteria supplied as a List.
andIn(String, Object[]) - Method in class org.apache.torque.util.Criteria
Adds an 'IN' clause with the criteria supplied as an Object array.
andNotIn(String, int[]) - Method in class org.apache.torque.util.Criteria
Adds a 'NOT IN' clause with the criteria supplied as an int array.
andNotIn(String, List) - Method in class org.apache.torque.util.Criteria
Adds a 'NOT IN' clause with the criteria supplied as a List.
andNotIn(String, Object[]) - Method in class org.apache.torque.util.Criteria
Adds a 'NOT IN' clause with the criteria supplied as an Object array.
app - Variable in class org.apache.torque.engine.database.transform.XmlToAppData
 
appData - Variable in class org.apache.torque.engine.database.transform.SQLToAppData
 
appData - Variable in class org.apache.torque.task.TorqueJDBCTransformTask
 
AppData - class org.apache.torque.engine.database.model.AppData.
A class for holding application data structures.
AppData(String, String) - Constructor for class org.apache.torque.engine.database.model.AppData
Creates a new instance for the specified database type.
appDataDB - Variable in class org.apache.torque.engine.database.transform.SQLToAppData
 
appendPsTo(StringBuffer, List) - Method in class org.apache.torque.util.Criteria.Criterion
Appends a Prepared Statement representation of the Criterion onto the buffer.
appendTo(StringBuffer) - Method in class org.apache.torque.om.ObjectKey
Appends a String representation of the key to a buffer.
appendTo(StringBuffer) - Method in class org.apache.torque.om.ComboKey
 
appendTo(StringBuffer) - Method in class org.apache.torque.util.Criteria.Criterion
Appends a representation of the Criterion onto the buffer.
arg1 - Variable in class org.apache.torque.manager.MethodCacheKey
 
arg2 - Variable in class org.apache.torque.manager.MethodCacheKey
 
arg3 - Variable in class org.apache.torque.manager.MethodCacheKey
 
ASC - Static variable in class org.apache.torque.util.Criteria
"Order by" qualifier - ascending
ASC - Static variable in class org.apache.torque.util.SqlEnum
 
asColumns - Variable in class org.apache.torque.util.Criteria
 
AUTO_INCREMENT - Static variable in interface org.apache.torque.adapter.IDMethod
Key generation via auto-increment.
autocommit - Variable in class org.apache.torque.task.TorqueSQLExec
Autocommit flag.
AutoIncrementIdGenerator - class org.apache.torque.oid.AutoIncrementIdGenerator.
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(DB) - Constructor for class org.apache.torque.oid.AutoIncrementIdGenerator
Creates an IdGenerator which will work with the specified database.

B

BACKSLASH - Static variable in class org.apache.torque.util.SqlExpression
 
baseClass - Variable in class org.apache.torque.engine.database.model.Database
 
baseClass - Variable in class org.apache.torque.engine.database.model.Table
 
BaseObject - class org.apache.torque.om.BaseObject.
This class contains attributes and methods that are used by all business objects within the system.
BaseObject() - Constructor for class org.apache.torque.om.BaseObject
 
basePathToDbProps - Variable in class org.apache.torque.task.TorqueDataModelTask
The path to properties file containing db idiosyncrasies is constructed by appending the "getTargetDatabase()/db.props to this path.
basePeer - Variable in class org.apache.torque.engine.database.model.Database
 
basePeer - Variable in class org.apache.torque.engine.database.model.Table
 
BasePeer - class org.apache.torque.util.BasePeer.
This is the base class for all Peer classes in the system.
BasePeer() - Constructor for class org.apache.torque.util.BasePeer
 
basePropsFilePath - Variable in class org.apache.torque.engine.database.model.AppData
The base of the path to the properties file, including trailing slash.
basePropsFilePath - Variable in class org.apache.torque.engine.database.transform.SQLToAppData
 
beginTransaction(String) - Static method in class org.apache.torque.util.BasePeer
Begin a transaction.
BETWEEN - Static variable in class org.apache.torque.util.Query
 
BIGINT - Static variable in class org.apache.torque.engine.database.model.TypeMap
 
BIGINT_NATIVE_OBJECT_TYPE - Static variable in class org.apache.torque.engine.database.model.TypeMap
 
BIGINT_NATIVE_TYPE - Static variable in class org.apache.torque.engine.database.model.TypeMap
 
BIGINT_OBJECT_TYPE - Static variable in class org.apache.torque.engine.database.model.TypeMap
 
BIGINT_PP_METHOD - Static variable in class org.apache.torque.engine.database.model.TypeMap
 
BIGINT_VILLAGE_METHOD - Static variable in class org.apache.torque.engine.database.model.TypeMap
 
BIGINT_VILLAGE_OBJECT_METHOD - Static variable in class org.apache.torque.engine.database.model.TypeMap
 
BINARY - Static variable in class org.apache.torque.engine.database.model.TypeMap
 
BINARY_NATIVE_TYPE - Static variable in class org.apache.torque.engine.database.model.TypeMap
 
BINARY_OBJECT_TYPE - Static variable in class org.apache.torque.engine.database.model.TypeMap
 
BINARY_PP_METHOD - Static variable in class org.apache.torque.engine.database.model.TypeMap
 
BINARY_VILLAGE_METHOD - Static variable in class org.apache.torque.engine.database.model.TypeMap
 
BIT - Static variable in class org.apache.torque.engine.database.model.TypeMap
 
BIT_NATIVE_OBJECT_TYPE - Static variable in class org.apache.torque.engine.database.model.TypeMap
 
BIT_NATIVE_TYPE - Static variable in class org.apache.torque.engine.database.model.TypeMap
 
BIT_OBJECT_TYPE - Static variable in class org.apache.torque.engine.database.model.TypeMap
 
BIT_PP_METHOD - Static variable in class org.apache.torque.engine.database.model.TypeMap
 
BIT_VILLAGE_METHOD - Static variable in class org.apache.torque.engine.database.model.TypeMap
 
BIT_VILLAGE_OBJECT_METHOD - Static variable in class org.apache.torque.engine.database.model.TypeMap
 
BLOB - Static variable in class org.apache.torque.engine.database.model.TypeMap
 
BLOB_NATIVE_TYPE - Static variable in class org.apache.torque.engine.database.model.TypeMap
 
BLOB_OBJECT_TYPE - Static variable in class org.apache.torque.engine.database.model.TypeMap
 
BLOB_VILLAGE_METHOD - Static variable in class org.apache.torque.engine.database.model.TypeMap
 
blobFlag - Variable in class org.apache.torque.util.Criteria
 
blockBegin - Variable in class org.apache.torque.util.LargeSelect
 
blockEnd - Variable in class org.apache.torque.util.LargeSelect
 
BOOLEANCHAR - Static variable in class org.apache.torque.engine.database.model.TypeMap
 
BOOLEANCHAR_NATIVE_OBJECT_TYPE - Static variable in class org.apache.torque.engine.database.model.TypeMap
 
BOOLEANCHAR_NATIVE_TYPE - Static variable in class org.apache.torque.engine.database.model.TypeMap
 
BOOLEANCHAR_OBJECT_TYPE - Static variable in class org.apache.torque.engine.database.model.TypeMap
 
BOOLEANCHAR_PP_METHOD - Static variable in class org.apache.torque.engine.database.model.TypeMap
 
BOOLEANCHAR_VILLAGE_METHOD - Static variable in class org.apache.torque.engine.database.model.TypeMap
 
BOOLEANINT - Static variable in class org.apache.torque.engine.database.model.TypeMap
 
BOOLEANINT_NATIVE_OBJECT_TYPE - Static variable in class org.apache.torque.engine.database.model.TypeMap
 
BOOLEANINT_NATIVE_TYPE - Static variable in class org.apache.torque.engine.database.model.TypeMap
 
BOOLEANINT_OBJECT_TYPE - Static variable in class org.apache.torque.engine.database.model.TypeMap
 
BOOLEANINT_PP_METHOD - Static variable in class org.apache.torque.engine.database.model.TypeMap
 
BOOLEANINT_VILLAGE_METHOD - Static variable in class org.apache.torque.engine.database.model.TypeMap
 
BOOLEANINT_VILLAGE_OBJECT_METHOD - Static variable in class org.apache.torque.engine.database.model.TypeMap
 
build(String, Object, SqlEnum) - Static method in class org.apache.torque.util.SqlExpression
Builds a simple SQL expression.
build(String, Object, SqlEnum, boolean, DB) - Static method in class org.apache.torque.util.SqlExpression
Builds a simple SQL expression.
build(String, Object, SqlEnum, boolean, DB, StringBuffer) - Static method in class org.apache.torque.util.SqlExpression
Builds a simple SQL expression.
buildIn(String, Object, SqlEnum, boolean, DB) - Static method in class org.apache.torque.util.SqlExpression
Takes a columnName and criteria (which must be an array) and builds a SQL 'IN' expression taking into account the ignoreCase flag.
buildIn(String, Object, SqlEnum, boolean, DB, StringBuffer) - Static method in class org.apache.torque.util.SqlExpression
Takes a columnName and criteria (which must be an array) and builds a SQL 'IN' expression taking into account the ignoreCase flag.
buildInnerJoin(String, String) - Static method in class org.apache.torque.util.SqlExpression
Used to specify a join on two columns.
buildInnerJoin(String, String, boolean, DB) - Static method in class org.apache.torque.util.SqlExpression
Used to specify a join on two columns.
buildInnerJoin(String, String, boolean, DB, StringBuffer) - Static method in class org.apache.torque.util.SqlExpression
Used to specify a join on two columns.
buildLike(String, String, SqlEnum, boolean, DB) - Static method in class org.apache.torque.util.SqlExpression
Takes a columnName and criteria and builds an SQL phrase based on whether wildcards are present and the state of the ignoreCase flag.
buildLike(String, String, SqlEnum, boolean, DB, StringBuffer) - Static method in class org.apache.torque.util.SqlExpression
Takes a columnName and criteria and builds an SQL phrase based on whether wildcards are present and the state of the ignoreCase flag.

C

cache - Variable in class org.apache.torque.manager.AbstractBaseManager
used to cache the om objects.
cacheGet(ObjectKey) - Method in class org.apache.torque.manager.AbstractBaseManager
 
CacheListener - interface org.apache.torque.manager.CacheListener.
Listener for cache events
captureStackTrace() - Method in class org.apache.torque.TorqueRuntimeException
Captures the stack trace associated with this exception.
captureStackTrace(Throwable) - Method in class org.apache.torque.TorqueRuntimeException
Captures the stack trace associated with a Throwable object.
cascade - Variable in class org.apache.torque.util.Criteria
 
category - Static variable in class org.apache.torque.Torque
The logging category.
category - Static variable in class org.apache.torque.adapter.DBFactory
Log4j logging category used for logging.
category - Static variable in class org.apache.torque.manager.AbstractBaseManager
 
category - Variable in class org.apache.torque.oid.IDBroker
Category used for logging.
category - Variable in class org.apache.torque.pool.DBConnection
Log4j category used for logging.
category - Static variable in class org.apache.torque.util.Criteria
Log4j category used for logging.
category - Static variable in class org.apache.torque.util.BasePeer
 
CHAR - Static variable in class org.apache.torque.engine.database.model.TypeMap
 
CHAR_NATIVE_TYPE - Static variable in class org.apache.torque.engine.database.model.TypeMap
 
CHAR_OBJECT_TYPE - Static variable in class org.apache.torque.engine.database.model.TypeMap
 
CHAR_PP_METHOD - Static variable in class org.apache.torque.engine.database.model.TypeMap
 
CHAR_VILLAGE_METHOD - Static variable in class org.apache.torque.engine.database.model.TypeMap
 
checkTiming(String) - Method in class org.apache.torque.oid.IDBroker
Check the frequency of retrieving new ids from the database.
chr - Variable in class org.apache.torque.engine.sql.SQLScanner
 
className - Variable in class org.apache.torque.engine.database.model.Inheritance
 
className - Variable in class org.apache.torque.manager.AbstractBaseManager
 
CLASSNAME_SUFFIX - Static variable in class org.apache.torque.Torque
A Service property determining its implementing class name .
classpath - Variable in class org.apache.torque.task.TorqueSQLExec
 
clauses - Variable in class org.apache.torque.util.Criteria.Criterion
other connected criteria and their conjunctions.
cleanup() - Method in class org.apache.torque.task.TorqueDataDumpTask
Closes the db-connection, overriding the cleanup() hook method in TexenTask.
clear() - Method in class org.apache.torque.manager.MethodResultCache
 
clearImpl() - Method in class org.apache.torque.manager.AbstractBaseManager
 
CLOB - Static variable in class org.apache.torque.engine.database.model.TypeMap
 
CLOB_NATIVE_TYPE - Static variable in class org.apache.torque.engine.database.model.TypeMap
 
CLOB_OBJECT_TYPE - Static variable in class org.apache.torque.engine.database.model.TypeMap
 
CLOB_VILLAGE_METHOD - Static variable in class org.apache.torque.engine.database.model.TypeMap
 
close() - Method in class org.apache.torque.pool.DBConnection
Force the close of this database connection.
col - Variable in class org.apache.torque.engine.database.transform.XmlToData.ColumnValue
 
col - Variable in class org.apache.torque.engine.sql.SQLScanner
 
col - Variable in class org.apache.torque.engine.sql.Token
 
column - Variable in class org.apache.torque.util.Criteria.Criterion
Column name.
Column - class org.apache.torque.engine.database.model.Column.
A Class for holding data about a column used in an Application.
Column() - Constructor for class org.apache.torque.engine.database.model.Column
Creates a new instance with a null name.
Column(String) - Constructor for class org.apache.torque.engine.database.model.Column
Creates a new column and set the name
columnList - Variable in class org.apache.torque.engine.database.model.Table
 
ColumnMap - class org.apache.torque.map.ColumnMap.
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.
columnName - Variable in class org.apache.torque.map.ColumnMap
The name of the column.
columns - Variable in class org.apache.torque.map.TableMap
The columns in the table.
columnsByJavaName - Variable in class org.apache.torque.engine.database.model.Table
 
columnsByName - Variable in class org.apache.torque.engine.database.model.Table
 
columnTableMap - Variable in class org.apache.torque.task.TorqueJDBCTransformTask
Hashtable to track what table a column belongs to.
columnType - Variable in class org.apache.torque.engine.database.model.Column
 
columnValues - Variable in class org.apache.torque.engine.database.transform.XmlToData.DataRow
 
ComboKey - class org.apache.torque.om.ComboKey.
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
Creates an ComboKey whose internal representation will be set later, through a set method
ComboKey(SimpleKey[]) - Constructor for class org.apache.torque.om.ComboKey
Creates a ComboKey whose internal representation is an array of SimpleKeys.
ComboKey(String) - Constructor for class org.apache.torque.om.ComboKey
Sets the internal representation to a String array.
ComboKey(String[]) - Constructor for class org.apache.torque.om.ComboKey
Creates a compound ComboKey whose internal representation is a String array.
commentDash - Static variable in class org.apache.torque.engine.sql.SQLScanner
 
commentPound - Static variable in class org.apache.torque.engine.sql.SQLScanner
 
commentSlash - Static variable in class org.apache.torque.engine.sql.SQLScanner
 
commentStar - Static variable in class org.apache.torque.engine.sql.SQLScanner
 
commit() - Method in class org.apache.torque.pool.DBConnection
Commit the connection.
commitTransaction(DBConnection) - Static method in class org.apache.torque.util.BasePeer
Commit a transaction.
compareTo(Object) - Method in class org.apache.torque.om.ObjectKey
Implements the compareTo method.
comparison - Variable in class org.apache.torque.util.Criteria.Criterion
Comparison value.
configuration - Static variable in class org.apache.torque.Torque
Torque-specific configuration.
configuration - Variable in class org.apache.torque.oid.IDBroker
 
configure(Configuration) - Method in class org.apache.torque.Torque
configure torque
configureLogging() - Static method in class org.apache.torque.Torque
Configure the logging for this subsystem.
conjunctions - Variable in class org.apache.torque.util.Criteria.Criterion
 
conn - Variable in class org.apache.torque.task.TorqueDataDumpTask
The database connection used to retrieve the data to dump.
conn - Variable in class org.apache.torque.task.TorqueSQLExec
Database connection
connection - Variable in class org.apache.torque.pool.DBConnection
The JDBC database connection.
connectionAttemptsCounter - Variable in class org.apache.torque.pool.ConnectionPool
The number of times that an attempt to obtain a pooled connection has been made.
connectionClosed(ConnectionEvent) - Method in class org.apache.torque.pool.DBConnection
This will be called if the Connection returned by the getConnection method came from a PooledConnection, and the user calls the close() method of this connection object.
connectionErrorOccurred(ConnectionEvent) - Method in class org.apache.torque.pool.DBConnection
If a fatal error occurs, close the undelying physical connection so as not to be returned in the future
ConnectionPool - class org.apache.torque.pool.ConnectionPool.
This class implements a simple connection pooling scheme.
ConnectionPool() - Constructor for class org.apache.torque.pool.ConnectionPool
Required by proxy.
ConnectionPool(String, String, String, String, int, long, long, long) - Constructor for class org.apache.torque.pool.ConnectionPool
Creates a ConnectionPool with the default attributes.
connectionWaitTimeout - Variable in class org.apache.torque.pool.ConnectionPool
Amount of time a thread asking the pool for a cached connection will wait before timing out and throwing an error.
ConnectionWaitTimeoutException - exception org.apache.torque.pool.ConnectionWaitTimeoutException.
Thrown to indicate that
ConnectionWaitTimeoutException(String) - Constructor for class org.apache.torque.pool.ConnectionWaitTimeoutException
Creates an wait time out exception for the specified database URL.
CONSTRAINT_GENERATOR - Static variable in class org.apache.torque.engine.database.model.NameFactory
The fully qualified class name of the constraint name generator.
ConstraintNameGenerator - class org.apache.torque.engine.database.model.ConstraintNameGenerator.
A NameGenerator implementation for table-specific constraints.
ConstraintNameGenerator() - Constructor for class org.apache.torque.engine.database.model.ConstraintNameGenerator
 
containsColumn(Column) - Method in class org.apache.torque.engine.database.model.Table
Returns true if the table contains a specified column
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.engine.database.model.Table
Returns true if the table contains a specified column
containsColumn(String) - Method in class org.apache.torque.map.TableMap
Does this table contain the specified column?
containsForeignPK - Variable in class org.apache.torque.engine.database.model.Table
 
containsKey(String, String) - Method in class org.apache.torque.util.Criteria
Does this Criteria Object contain the specified key?
containsObjectColumn() - Method in class org.apache.torque.map.TableMap
Returns true if this tableMap contains a column with object data.
containsObjectColumn() - Method in class org.apache.torque.util.Criteria
Returns true if any of the tables in the criteria contain an Object column.
containsObjectColumn(String) - Method in class org.apache.torque.util.Criteria
Deprecated. not sure why anyone would need to use this outside of its use in BasePeer, but it was public, so its now deprecated. It was used to decide whether a transaction should be used, this can be done with the useTransaction() method.
containsTable(String) - Method in class org.apache.torque.map.DatabaseMap
Does this database contain this specific table?
containsTable(TableMap) - Method in class org.apache.torque.map.DatabaseMap
Does this database contain this specific table?
context - Variable in class org.apache.torque.task.TorqueDataModelTask
Velocity context which exposes our objects in the templates.
CONV_METHOD_JAVANAME - Static variable in interface org.apache.torque.engine.database.model.NameGenerator
Similar to NameGenerator.CONV_METHOD_UNDERSCORE except nothing is converted to lowercase.
CONV_METHOD_NOCHANGE - Static variable in interface org.apache.torque.engine.database.model.NameGenerator
Specifies no modification when converting from a schema column or table name to a java name.
CONV_METHOD_UNDERSCORE - Static variable in interface org.apache.torque.engine.database.model.NameGenerator
Traditional method for converting schema table and column names to java names.
count - Variable in class org.apache.torque.engine.database.transform.SQLToAppData
 
cpds - Variable in class org.apache.torque.pool.ConnectionPool
The ConnectionPoolDataSource if the driver is JDBC 2.0 compliant
Create_Table_Column_Data(Table) - Method in class org.apache.torque.engine.database.transform.SQLToAppData
Parse the data definition of the column statement.
Create_Table_Column_Foreign(Table) - Method in class org.apache.torque.engine.database.transform.SQLToAppData
Parses FOREIGN KEY (BAR) REFERENCES TABLE (BAR) statement
Create_Table_Column_Primary(Table) - Method in class org.apache.torque.engine.database.transform.SQLToAppData
Parses PRIMARY KEY (FOO,BAR) statement
Create_Table_Column_Unique(Table) - Method in class org.apache.torque.engine.database.transform.SQLToAppData
Parses UNIQUE (NAME,FOO,BAR) statement
Create_Table_Column(Table) - Method in class org.apache.torque.engine.database.transform.SQLToAppData
Parses column information between the braces of a CREATE TABLE () sql statement.
Create_Table() - Method in class org.apache.torque.engine.database.transform.SQLToAppData
Parses a CREATE TABLE sql command
Create() - Method in class org.apache.torque.engine.database.transform.SQLToAppData
Parses a CREATE TABLE FOO command.
create(DB) - Static method in class org.apache.torque.oid.IDGeneratorFactory
Factory method which instantiates IdGenerator implementations based on the return value of the provided adapter's DB.getIDMethodType() method.
create(String) - Static method in class org.apache.torque.adapter.DBFactory
Creates a new instance of the Turbine database adapter associated with the specified JDBC driver.
createClasspath() - Method in class org.apache.torque.task.TorqueSQLExec
Create the classpath for loading the driver.
createName() - Method in class org.apache.torque.engine.database.model.Index
 
createPreparedStatement(Criteria, StringBuffer, List) - Static method in class org.apache.torque.util.BasePeer
Create a new PreparedStatement.
createQueryString(Criteria) - Static method in class org.apache.torque.util.BasePeer
Method to create an SQL query based on values in a Criteria.
createSqlDbMap() - Method in class org.apache.torque.task.TorqueSQLTask
create the sql -> database map.
createStatement() - Method in class org.apache.torque.pool.DBConnection
Create a Java SQL statement for this connection.
createSubsetList(String) - Method in class org.apache.torque.manager.AbstractBaseManager
 
Criteria - class org.apache.torque.util.Criteria.
This is a utility class that is used for retrieving different types of values from a hashtable based on a simple name string.
Criteria.Criterion - class org.apache.torque.util.Criteria.Criterion.
This is an inner class that describes an object in the criteria.
Criteria.Criterion(Criteria, Object, SqlEnum) - Constructor for class org.apache.torque.util.Criteria.Criterion
Creates a new instance, initializing a couple members.
Criteria.Criterion(Criteria, String, Object) - Constructor for class org.apache.torque.util.Criteria.Criterion
Create a new instance.
Criteria.Criterion(Criteria, String, Object, SqlEnum) - Constructor for class org.apache.torque.util.Criteria.Criterion
Create a new instance.
Criteria.Criterion(Criteria, String, String, Object) - Constructor for class org.apache.torque.util.Criteria.Criterion
Create a new instance.
Criteria.Criterion(Criteria, String, String, Object, SqlEnum) - Constructor for class org.apache.torque.util.Criteria.Criterion
Create a new instance.
Criteria() - Constructor for class org.apache.torque.util.Criteria
Creates a new instance with the default capacity.
Criteria(int) - Constructor for class org.apache.torque.util.Criteria
Creates a new instance with the specified capacity.
Criteria(String) - Constructor for class org.apache.torque.util.Criteria
Creates a new instance with the default capacity which corresponds to the specified database.
Criteria(String, int) - Constructor for class org.apache.torque.util.Criteria
Creates a new instance with the specified capacity which corresponds to the specified database.
curColumn - Variable in class org.apache.torque.engine.database.model.Database
 
curIndex - Variable in class org.apache.torque.task.TorqueDataDumpTask.TableTool
 
currColumn - Variable in class org.apache.torque.engine.database.transform.XmlToAppData
 
currDB - Variable in class org.apache.torque.engine.database.transform.XmlToAppData
 
curRec - Variable in class org.apache.torque.task.TorqueDataDumpTask.TableTool
 
currentlyFilledTo - Variable in class org.apache.torque.util.LargeSelect
 
currFK - Variable in class org.apache.torque.engine.database.transform.XmlToAppData
 
currIndex - Variable in class org.apache.torque.engine.database.transform.XmlToAppData
 
currTable - Variable in class org.apache.torque.engine.database.transform.XmlToAppData
 
currUnique - Variable in class org.apache.torque.engine.database.transform.XmlToAppData
 
CUSTOM - Static variable in class org.apache.torque.util.Criteria
Comparison type.
CUSTOM - Static variable in class org.apache.torque.util.SqlEnum
 

D

data - Variable in class org.apache.torque.engine.database.transform.XmlToData
 
database - Variable in class org.apache.torque.engine.database.transform.XmlToData
 
database - Variable in class org.apache.torque.task.TorqueSQLTask
 
database - Variable in class org.apache.torque.task.TorqueJDBCTransformTask
 
Database - class org.apache.torque.engine.database.model.Database.
A class for holding application data structures.
DATABASE_DEFAULT - Static variable in class org.apache.torque.Torque
Name of property that specifies the default map builder and map.
DATABASE_POOL - Variable in class org.apache.torque.adapter.DBWeblogic
 
Database() - Constructor for class org.apache.torque.engine.database.model.Database
Creates a new instance with unset attributes.
databaseDriver - Variable in class org.apache.torque.task.TorqueDataDumpTask
Database driver used for JDBC connection.
databaseDTD - Variable in class org.apache.torque.engine.database.transform.DTDResolver
InputSource for database.dtd.
DatabaseMap - class org.apache.torque.map.DatabaseMap.
DatabaseMap is used to model a database.
DatabaseMap() - Constructor for class org.apache.torque.map.DatabaseMap
Required by proxy.
DatabaseMap(String) - Constructor for class org.apache.torque.map.DatabaseMap
Constructor.
DatabaseMap(String, int) - Constructor for class org.apache.torque.map.DatabaseMap
Constructor.
databaseName - Variable in class org.apache.torque.task.TorqueDataDumpTask
Database name.
databaseNames - Variable in class org.apache.torque.task.TorqueDataModelTask
Hashtable containing the names of all the databases in our collection of schemas.
databasePassword - Variable in class org.apache.torque.task.TorqueDataDumpTask
Database password used for JDBC connection.
databaseType - Variable in class org.apache.torque.engine.database.model.AppData
The type for our databases.
databaseType - Variable in class org.apache.torque.engine.database.model.Database
 
databaseType - Variable in class org.apache.torque.engine.database.transform.SQLToAppData
 
databaseUrl - Variable in class org.apache.torque.task.TorqueDataDumpTask
Database URL used for JDBC connection.
databaseUser - Variable in class org.apache.torque.task.TorqueDataDumpTask
Database user used for JDBC connection.
dataDTD - Variable in class org.apache.torque.engine.database.transform.XmlToData
 
dataDTD - Variable in class org.apache.torque.task.TorqueDataSQLTask
 
dataModelDbMap - Variable in class org.apache.torque.task.TorqueDataModelTask
Map of data model name to database name.
dataModels - Variable in class org.apache.torque.task.TorqueDataModelTask
Data models that we collect.
dataXmlFile - Variable in class org.apache.torque.task.TorqueDataSQLTask
 
DATE - Static variable in class org.apache.torque.engine.database.model.TypeMap
 
DATE_FORMAT - Static variable in class org.apache.torque.adapter.DBMM
 
DATE_NATIVE_TYPE - Static variable in class org.apache.torque.engine.database.model.TypeMap
 
DATE_OBJECT_TYPE - Static variable in class org.apache.torque.engine.database.model.TypeMap
 
DATE_PP_METHOD - Static variable in class org.apache.torque.engine.database.model.TypeMap
 
DATE_VILLAGE_METHOD - Static variable in class org.apache.torque.engine.database.model.TypeMap
 
DateKey - class org.apache.torque.om.DateKey.
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
Creates an DateKey whose internal representation will be set later, through a set method
DateKey(Date) - Constructor for class org.apache.torque.om.DateKey
Creates a DateKey
DateKey(DateKey) - Constructor for class org.apache.torque.om.DateKey
Creates a DateKey that is equivalent to key.
DateKey(String) - Constructor for class org.apache.torque.om.DateKey
Creates a DateKey whose internal representation is a Date given by the long number given by the String
db - Variable in class org.apache.torque.pool.ConnectionPool
The class containing the database specific info for connections in this pool (i.e.
db - Variable in class org.apache.torque.util.LargeSelect
 
db - Variable in class org.apache.torque.util.Criteria.Criterion
The DB adaptor which might be used to get db specific variations of sql.
DB - class org.apache.torque.adapter.DB.
DB defines the interface for a Turbine database adapter.
DB_CONNECTION - Variable in class org.apache.torque.adapter.DB
The database name.
DB_IDBROKER_CLEVERQUANTITY - Static variable in class org.apache.torque.oid.IDBroker
 
DB_IDBROKER_PREFETCH - Static variable in class org.apache.torque.oid.IDBroker
 
DB_IDBROKER_USENEWCONNECTION - Static variable in class org.apache.torque.oid.IDBroker
 
DB_PASS - Variable in class org.apache.torque.adapter.DB
The database password.
DB_USER - Variable in class org.apache.torque.adapter.DB
The database user name.
DB() - Constructor for class org.apache.torque.adapter.DB
Empty constructor.
dbAdapter - Variable in class org.apache.torque.oid.AutoIncrementIdGenerator
 
dbAdapter - Variable in class org.apache.torque.oid.SequenceIdGenerator
 
dbCheckFrequency - Variable in class org.apache.torque.pool.ConnectionPool
Thread sleep time between checks for database connectivity problems.
DBCloudscape - class org.apache.torque.adapter.DBCloudscape.
This is used to connect to Cloudscape SQL databases.
DBCloudscape() - Constructor for class org.apache.torque.adapter.DBCloudscape
Constructor.
DBConnection - class org.apache.torque.pool.DBConnection.
This class wraps the JDBC Connection class, providing built-in exception logging to stderr and a timestamp which indicates how old the Connection is.
DBConnection() - Constructor for class org.apache.torque.pool.DBConnection
Required by proxy.
DBConnection(Connection) - Constructor for class org.apache.torque.pool.DBConnection
Creates a Turbine DBConnection specifying nothing but a single database Connection.
DBConnection(Connection, String) - Constructor for class org.apache.torque.pool.DBConnection
Creates a Turbine DBConnection with the specified attributes.
DBConnection(Connection, String, String) - Constructor for class org.apache.torque.pool.DBConnection
Creates a Turbine DBConnection with the specified attributes.
DBConnection(Connection, String, String, ConnectionPool) - Constructor for class org.apache.torque.pool.DBConnection
Creates a Turbine DBConnection that is part of a pool.
DBConnection(PooledConnection, String, String, ConnectionPool) - Constructor for class org.apache.torque.pool.DBConnection
Creates a Turbine DBConnection that is part of a pool.
DBDB2400 - class org.apache.torque.adapter.DBDB2400.
Turbine Database Adapter for DB2/400 on the IBM AS400 platform.
DBDB2400() - Constructor for class org.apache.torque.adapter.DBDB2400
DBDB2400 constructor.
DBDB2App - class org.apache.torque.adapter.DBDB2App.
This is used to connect via the Application-Driver to DB2 databases.
DBDB2App() - Constructor for class org.apache.torque.adapter.DBDB2App
Empty constructor.
DBDB2Net - class org.apache.torque.adapter.DBDB2Net.
This is used to connect via the NET-Driver to DB2 databases.
DBDB2Net() - Constructor for class org.apache.torque.adapter.DBDB2Net
Empty constructor.
dbDriver - Variable in class org.apache.torque.task.TorqueJDBCTransformTask
JDBC driver.
DBFactory - class org.apache.torque.adapter.DBFactory.
This class creates different DB objects based on specified JDBC driver name.
DBFactory() - Constructor for class org.apache.torque.adapter.DBFactory
 
DBHypersonicSQL - class org.apache.torque.adapter.DBHypersonicSQL.
This is used to connect to Hypersonic SQL databases.
DBHypersonicSQL() - Constructor for class org.apache.torque.adapter.DBHypersonicSQL
Constructor.
DBInformix - class org.apache.torque.adapter.DBInformix.
This code should be used for an Informix database pool.
DBInformix() - Constructor for class org.apache.torque.adapter.DBInformix
Empty constructor.
DBInstantDB - class org.apache.torque.adapter.DBInstantDB.
This is used to connect to InstantDB databases.
DBInstantDB() - Constructor for class org.apache.torque.adapter.DBInstantDB
Empty constructor.
DBInterbase - class org.apache.torque.adapter.DBInterbase.
This code should be used for an Interbase database pool.
DBInterbase() - Constructor for class org.apache.torque.adapter.DBInterbase
 
dbList - Variable in class org.apache.torque.engine.database.model.AppData
The list of databases for this application.
dbMap - Variable in class org.apache.torque.map.TableMap
The database this table belongs to.
dbMaps - Static variable in class org.apache.torque.Torque
The global cache of database maps
DBMM - class org.apache.torque.adapter.DBMM.
This is used in order to connect to a MySQL database using the MM drivers.
DBMM() - Constructor for class org.apache.torque.adapter.DBMM
Empty constructor.
DBMSSQL - class org.apache.torque.adapter.DBMSSQL.
This is used to connect to a MSSQL database.
DBMSSQL() - Constructor for class org.apache.torque.adapter.DBMSSQL
Empty constructor.
dbName - Variable in class org.apache.torque.util.LargeSelect
 
dbName - Variable in class org.apache.torque.util.Criteria
The name of the database.
DBNone - class org.apache.torque.adapter.DBNone.
This DatabaseHandler is used when you do not have a database installed.
DBNone() - Constructor for class org.apache.torque.adapter.DBNone
Empty constructor.
DBOdbc - class org.apache.torque.adapter.DBOdbc.
This is used to connect to ODBC Bridged databases on Win32 Platforms.
DBOdbc() - Constructor for class org.apache.torque.adapter.DBOdbc
Empty constructor.
DBOracle - class org.apache.torque.adapter.DBOracle.
This code should be used for an Oracle database pool.
DBOracle() - Constructor for class org.apache.torque.adapter.DBOracle
Empty constructor.
dbParent - Variable in class org.apache.torque.engine.database.model.Database
 
dbPassword - Variable in class org.apache.torque.task.TorqueJDBCTransformTask
JDBC password.
DBPostgres - class org.apache.torque.adapter.DBPostgres.
This is used to connect to PostgresQL databases.
DBPostgres() - Constructor for class org.apache.torque.adapter.DBPostgres
Empty constructor.
DBSapDB - class org.apache.torque.adapter.DBSapDB.
This is used to connect to SapDB databases.
DBSapDB() - Constructor for class org.apache.torque.adapter.DBSapDB
Empty constructor.
dbSchema - Variable in class org.apache.torque.task.TorqueJDBCTransformTask
DB schema to use.
DBSybase - class org.apache.torque.adapter.DBSybase.
This is used to connect to a Sybase database using Sybase's JConnect JDBC driver.
DBSybase() - Constructor for class org.apache.torque.adapter.DBSybase
Empty constructor.
dbUrl - Variable in class org.apache.torque.task.TorqueJDBCTransformTask
JDBC URL.
dbUser - Variable in class org.apache.torque.task.TorqueJDBCTransformTask
JDBC user name.
DBWeblogic - class org.apache.torque.adapter.DBWeblogic.
This code should be used for a Weblogic database pool.
DBWeblogic() - Constructor for class org.apache.torque.adapter.DBWeblogic
Empty constructor.
DEBUG - Static variable in class org.apache.torque.engine.database.model.Index
 
DEBUG - Static variable in class org.apache.torque.engine.database.model.ConstraintNameGenerator
Conditional compilation flag.
DEBUG - Static variable in class org.apache.torque.engine.database.model.Table
enables debug output
DEBUG - Static variable in class org.apache.torque.engine.database.transform.XmlToAppData
enables debug output
DECIMAL - Static variable in class org.apache.torque.engine.database.model.TypeMap
 
DECIMAL_NATIVE_TYPE - Static variable in class org.apache.torque.engine.database.model.TypeMap
 
DECIMAL_OBJECT_TYPE - Static variable in class org.apache.torque.engine.database.model.TypeMap
 
DECIMAL_PP_METHOD - Static variable in class org.apache.torque.engine.database.model.TypeMap
 
DECIMAL_VILLAGE_METHOD - Static variable in class org.apache.torque.engine.database.model.TypeMap
 
decrementConnections() - Method in class org.apache.torque.pool.ConnectionPool
Decreases the count of connections in the pool and also calls notify().
DEFAULT_CAPACITY - Static variable in class org.apache.torque.util.Criteria
 
DEFAULT_MAP_BUILDER - Static variable in class org.apache.torque.util.BasePeer
The Turbine default MapBuilder.
DEFAULT_NAME - Static variable in class org.apache.torque.Torque
A constant for default.
DEFAULT_NAME - Static variable in class org.apache.torque.util.LargeSelect
Key which may be used to store and retrieve the LargeSelect from the session.
DEFAULT_SIZE - Static variable in class org.apache.torque.oid.IDBroker
The default size of the per-table meta data Hashtable objects.
defaultDBName - Static variable in class org.apache.torque.Torque
The db name that is specified as the default in the property file
defaultIdMethod - Variable in class org.apache.torque.engine.database.model.Database
 
defaultJavaNamingMethod - Variable in class org.apache.torque.engine.database.model.Database
 
defaultJavaType - Variable in class org.apache.torque.engine.database.model.Database
 
defaultValue - Variable in class org.apache.torque.engine.database.model.Column
 
deleteAll(DBConnection, String, String, int) - Static method in class org.apache.torque.util.BasePeer
Convenience method that uses straight JDBC to delete multiple rows.
deleteAll(String, String, int) - Static method in class org.apache.torque.util.BasePeer
Convenience method that uses straight JDBC to delete multiple rows.
delimiter - Variable in class org.apache.torque.task.TorqueSQLExec
SQL Statement delimiter
delimiterType - Variable in class org.apache.torque.task.TorqueSQLExec
The delimiter type indicating whether the delimiter will only be recognized on a line by itself
DESC - Static variable in class org.apache.torque.util.Criteria
"Order by" qualifier - descending
DESC - Static variable in class org.apache.torque.util.SqlEnum
 
description - Variable in class org.apache.torque.engine.database.model.Column
 
description - Variable in class org.apache.torque.engine.database.model.Table
 
DISTINCT - Static variable in class org.apache.torque.util.Criteria
Comparison type.
DISTINCT - Static variable in class org.apache.torque.util.SqlEnum
 
doBuild() - Method in interface org.apache.torque.map.MapBuilder
Build up the database mapping.
doc - Variable in class org.apache.torque.task.TorqueJDBCTransformTask
DOM document produced.
doDelete(Criteria) - Static method in class org.apache.torque.util.BasePeer
Method to perform deletes based on values and keys in a Criteria.
doDelete(Criteria, DBConnection) - Static method in class org.apache.torque.util.BasePeer
Method to perform deletes based on values and keys in a Criteria.
doHeavyIndexing() - Method in class org.apache.torque.engine.database.model.Table
Adds extra indices for multi-part primary key columns.
doInsert(Criteria) - Static method in class org.apache.torque.util.BasePeer
Method to perform inserts based on values and keys in a Criteria.
doInsert(Criteria, DBConnection) - Static method in class org.apache.torque.util.BasePeer
Method to perform inserts based on values and keys in a Criteria.
doNaming() - Method in class org.apache.torque.engine.database.model.Table
Names composing objects which haven't yet been named.
doPSSelect(Criteria) - Static method in class org.apache.torque.util.BasePeer
Do a Prepared Statement select according to the given criteria
doPSSelect(Criteria, DBConnection) - Static method in class org.apache.torque.util.BasePeer
Performs a SQL select using a PreparedStatement.
doSelect(Criteria) - Static method in class org.apache.torque.util.BasePeer
Returns all results.
doSelect(Criteria, DBConnection) - Static method in class org.apache.torque.util.BasePeer
Returns all results.
DOUBLE - Static variable in class org.apache.torque.engine.database.model.TypeMap
 
DOUBLE_NATIVE_OBJECT_TYPE - Static variable in class org.apache.torque.engine.database.model.TypeMap
 
DOUBLE_NATIVE_TYPE - Static variable in class org.apache.torque.engine.database.model.TypeMap
 
DOUBLE_OBJECT_TYPE - Static variable in class org.apache.torque.engine.database.model.TypeMap
 
DOUBLE_PP_METHOD - Static variable in class org.apache.torque.engine.database.model.TypeMap
 
DOUBLE_VILLAGE_METHOD - Static variable in class org.apache.torque.engine.database.model.TypeMap
 
DOUBLE_VILLAGE_OBJECT_METHOD - Static variable in class org.apache.torque.engine.database.model.TypeMap
 
doUpdate(Criteria) - Static method in class org.apache.torque.util.BasePeer
Convenience method used to update rows in the DB.
doUpdate(Criteria, Criteria) - Static method in class org.apache.torque.util.BasePeer
Method used to update rows in the DB.
doUpdate(Criteria, Criteria, DBConnection) - Static method in class org.apache.torque.util.BasePeer
Method used to update rows in the DB.
doUpdate(Criteria, DBConnection) - Static method in class org.apache.torque.util.BasePeer
Convenience method used to update rows in the DB.
driver - Variable in class org.apache.torque.pool.ConnectionPool
The driver type for this pool.
driver - Variable in class org.apache.torque.task.TorqueSQLExec
DB driver.
driverToAdapterMap - Static variable in class org.apache.torque.adapter.DBFactory
JDBC driver to Torque Adapter map.
dtdFile - Variable in class org.apache.torque.engine.database.transform.XmlToData
 
dtdFileName - Variable in class org.apache.torque.engine.database.transform.XmlToData
 
DTDResolver - class org.apache.torque.engine.database.transform.DTDResolver.
A resolver to get the database.dtd file for the XML parser from the jar.
DTDResolver() - Constructor for class org.apache.torque.engine.database.transform.DTDResolver
constructor

E

encoding - Variable in class org.apache.torque.task.TorqueSQLExec
Encoding to use when reading SQL statements from a file
endElement(String, String, String) - Method in class org.apache.torque.engine.database.transform.XmlToAppData
Handles closing elements of the xml file.
enterface - Variable in class org.apache.torque.engine.database.model.Table
 
EQUAL - Static variable in class org.apache.torque.util.Criteria
Comparison type.
EQUAL - Static variable in class org.apache.torque.util.SqlEnum
 
equals(BaseObject) - Method in class org.apache.torque.om.BaseObject
Compares the primary key of this instance with the key of another.
equals(Object) - Method in class org.apache.torque.manager.MethodCacheKey
 
equals(Object) - Method in class org.apache.torque.om.StringKey
keyObj is equal to this StringKey if keyObj is a StringKey or String that contains the same information this key contains.
equals(Object) - Method in class org.apache.torque.om.DateKey
keyObj is equal to this DateKey if keyObj is a DateKey or String that contains the same information this key contains.
equals(Object) - Method in class org.apache.torque.om.ComboKey
This method will return true if the conditions for a looseEquals are met and in addition no parts of the keys are null.
equals(Object) - Method in class org.apache.torque.om.BaseObject
Compares this with another BaseObject instance.
equals(Object) - Method in class org.apache.torque.om.NumberKey
keyObj is equal to this NumberKey if keyObj is a NumberKey or String that contains the same information this key contains.
equals(Object) - Method in class org.apache.torque.util.Criteria
This method checks another Criteria to see if they contain the same attributes and hashtable entries.
equals(Object) - Method in class org.apache.torque.util.Criteria.Criterion
This method checks another Criteria to see if they contain the same attributes and hashtable entries.
err(String) - Method in class org.apache.torque.engine.database.transform.SQLToAppData
Creates an error condition and adds the line and column number of the current token to the error message.
ERROR_MSG - Static variable in class org.apache.torque.om.ComboKey
 
error(SAXParseException) - Method in class org.apache.torque.engine.database.transform.XmlToData
Error callback.
error(SAXParseException) - Method in class org.apache.torque.engine.database.transform.XmlToAppData
Error callback.
errorMessage - Variable in class org.apache.torque.engine.database.transform.XmlToData
 
errorMessage - Variable in class org.apache.torque.engine.database.transform.XmlToAppData
 
escapeText() - Method in class org.apache.torque.adapter.DB
This method is for the SqlExpression.quoteAndEscape rules.
escapeText() - Method in class org.apache.torque.adapter.DBOracle
This method is for the SqlExpression.quoteAndEscape rules.
escapeText() - Method in class org.apache.torque.adapter.DBSapDB
This method is for the SqlExpression.quoteAndEscape rules.
eventListeners - Variable in class org.apache.torque.pool.DBConnection
ConnectionEventListeners
execSQL(String, PrintStream) - Method in class org.apache.torque.task.TorqueSQLExec
Exec the sql statement.
execute() - Method in class org.apache.torque.engine.database.transform.SQLToAppData
Execute the parser.
execute() - Method in class org.apache.torque.task.TorqueSQLExec
Load the sql file and then execute it
execute() - Method in class org.apache.torque.task.TorqueJDBCTransformTask
Default constructor.
execute() - Method in class org.apache.torque.task.TorqueSQLTransformTask
Execute the task.
executeQuery(String) - Static method in class org.apache.torque.util.BasePeer
Utility method which executes a given sql statement.
executeQuery(String, boolean, DBConnection) - Static method in class org.apache.torque.util.BasePeer
Method for performing a SELECT.
executeQuery(String, int, int, boolean, DBConnection) - Static method in class org.apache.torque.util.BasePeer
Method for performing a SELECT.
executeQuery(String, int, int, String, boolean) - Static method in class org.apache.torque.util.BasePeer
Method for performing a SELECT.
executeQuery(String, String) - Static method in class org.apache.torque.util.BasePeer
Utility method which executes a given sql statement.
executeQuery(String, String, boolean) - Static method in class org.apache.torque.util.BasePeer
Method for performing a SELECT.
executeStatement(String) - Static method in class org.apache.torque.util.BasePeer
Utility method which executes a given sql statement.
executeStatement(String, DBConnection) - Static method in class org.apache.torque.util.BasePeer
Utility method which executes a given sql statement.
executeStatement(String, String) - Static method in class org.apache.torque.util.BasePeer
Utility method which executes a given sql statement.
exists(String) - Method in class org.apache.torque.oid.IDBroker
Describe exists method here.
expiryTime - Variable in class org.apache.torque.pool.ConnectionPool
The amount of time in milliseconds that a connection will be pooled.

F

fatalError(SAXParseException) - Method in class org.apache.torque.engine.database.transform.XmlToData
Fatal error callback.
fatalError(SAXParseException) - Method in class org.apache.torque.engine.database.transform.XmlToAppData
Fatal error callback.
fetch(String) - Method in class org.apache.torque.task.TorqueDataDumpTask.TableTool
Fetches an Iterator for the data in the named table.
filesets - Variable in class org.apache.torque.task.TorqueDataModelTask
Fileset of XML schemas which represent our data models.
finalize() - Method in class org.apache.torque.pool.DBConnection
The finalizer helps prevent ConnectionPool leakage.
finalize() - Method in class org.apache.torque.pool.ConnectionPool
Close any open connections when this object is garbage collected.
firstLetterCaps(String) - Method in class org.apache.torque.map.TableMap
Makes the first letter caps and the rest lowercase.
firstPass - Variable in class org.apache.torque.engine.database.transform.XmlToAppData
 
FLOAT - Static variable in class org.apache.torque.engine.database.model.TypeMap
 
FLOAT_NATIVE_OBJECT_TYPE - Static variable in class org.apache.torque.engine.database.model.TypeMap
 
FLOAT_NATIVE_TYPE - Static variable in class org.apache.torque.engine.database.model.TypeMap
 
FLOAT_OBJECT_TYPE - Static variable in class org.apache.torque.engine.database.model.TypeMap
 
FLOAT_PP_METHOD - Static variable in class org.apache.torque.engine.database.model.TypeMap
 
FLOAT_VILLAGE_METHOD - Static variable in class org.apache.torque.engine.database.model.TypeMap
 
FLOAT_VILLAGE_OBJECT_METHOD - Static variable in class org.apache.torque.engine.database.model.TypeMap
 
foreignColumns - Variable in class org.apache.torque.engine.database.model.ForeignKey
 
ForeignKey - class org.apache.torque.engine.database.model.ForeignKey.
A Class for information about foreign keys of a table.
ForeignKey() - Constructor for class org.apache.torque.engine.database.model.ForeignKey
Default Constructor
foreignKeys - Variable in class org.apache.torque.engine.database.model.Table
 
foreignTable - Variable in class org.apache.torque.engine.database.transform.XmlToAppData
 
foreignTableName - Variable in class org.apache.torque.engine.database.model.ForeignKey
 
foreignTableNames - Variable in class org.apache.torque.engine.database.model.Table
 
formatCase(String) - Method in class org.apache.torque.adapter.DBDB2400
Convenience method for String-formatting upper/ignore case statements.
FROM - Static variable in class org.apache.torque.util.Query
 
fromTables - Variable in class org.apache.torque.util.Query
 

G

generateName(List) - Method in class org.apache.torque.engine.database.model.JavaNameGenerator
inputs should consist of two elements, the original name of the database element and the method for generating the name.
generateName(List) - Method in class org.apache.torque.engine.database.model.ConstraintNameGenerator
First element of inputs should be of type Database, second should be a table name, third is the type identifier (spared if trimming is necessary due to database type length constraints), and the fourth is a Integer indicating the number of this contraint.
generateName(List) - Method in interface org.apache.torque.engine.database.model.NameGenerator
Given a list of String objects, implements an algorithm which produces a name.
generateName(String, List) - Static method in class org.apache.torque.engine.database.model.NameFactory
Given a list of String objects, implements an algorithm which produces a name.
generateXML() - Method in class org.apache.torque.task.TorqueJDBCTransformTask
Generates an XML database schema from JDBC metadata.
get(Object) - Method in class org.apache.torque.util.Criteria
Overrides Hashtable get, so that the value placed in the Criterion is returned instead of the Criterion.
get(Serializable[]) - Method in class org.apache.torque.manager.MethodResultCache
 
get(Serializable, String) - Method in class org.apache.torque.manager.MethodResultCache
 
get(Serializable, String, Serializable) - Method in class org.apache.torque.manager.MethodResultCache
 
get(Serializable, String, Serializable, Serializable) - Method in class org.apache.torque.manager.MethodResultCache
 
get(Serializable, String, Serializable, Serializable, Serializable) - Method in class org.apache.torque.manager.MethodResultCache
 
get(String) - Method in class org.apache.torque.task.TorqueDataDumpTask.TableTool
Returns the value for the column
getAlgorithm(String) - Method in class org.apache.torque.engine.database.model.NameFactory
Factory method which retrieves an instance of the named generator.
getAlias() - Method in class org.apache.torque.engine.database.model.Table
JavaName of om object this entry references.
getAllTables() - Method in class org.apache.torque.util.Criteria.Criterion
get all tables from nested criterion objects
getAncestor() - Method in class org.apache.torque.engine.database.model.Inheritance
Get the value of ancestor.
getAppData() - Method in class org.apache.torque.engine.database.model.Database
Get the parent of the table
getAsColumns() - Method in class org.apache.torque.util.Criteria
Get the column aliases.
getAttachedCriterion() - Method in class org.apache.torque.util.Criteria.Criterion
get an array of all criterion attached to this recursing through all sub criterion
getBaseClass() - Method in class org.apache.torque.engine.database.model.Database
Get the value of baseClass.
getBaseClass() - Method in class org.apache.torque.engine.database.model.Table
Gets the value of base class for classes produced from this table.
getBasePathToDbProps() - Method in class org.apache.torque.task.TorqueDataModelTask
The path to properties file containing db idiosyncrasies is constructed by appending the "getTargetDatabase()/db.props to this path.
getBasePeer() - Method in class org.apache.torque.engine.database.model.Database
Get the value of basePeer.
getBasePeer() - Method in class org.apache.torque.engine.database.model.Table
Get the value of basePeer.
getBigDecimal() - Method in class org.apache.torque.om.NumberKey
Access the underlying BigDecimal object.
getBigDecimal(String) - Method in class org.apache.torque.util.Criteria
Convenience method to return a BigDecimal.
getBigDecimal(String, String) - Method in class org.apache.torque.util.Criteria
Convenience method to return a BigDecimal.
getBoolean(String) - Method in class org.apache.torque.util.Criteria
Convenience method to return value as a boolean.
getBoolean(String, String) - Method in class org.apache.torque.util.Criteria
Convenience method to return value as a boolean.
getByName(String) - Method in class org.apache.torque.om.BaseObject
Retrieves a field from the object by name.
getByPeerName(String) - Method in class org.apache.torque.om.BaseObject
Retrieves a field from the object by name passed in as a String.
getByPosition(int) - Method in class org.apache.torque.om.BaseObject
Retrieves a field from the object by position as specified in a database schema for example.
getCategory() - Method in class org.apache.torque.om.BaseObject
Deprecated. use log()
getChildren() - Method in class org.apache.torque.engine.database.model.Column
Get the inheritance definitions.
getChildrenColumn() - Method in class org.apache.torque.engine.database.model.Table
Gets the column that subclasses of the class representing this table can be produced from.
getChildrenNames() - Method in class org.apache.torque.engine.database.model.Table
Get the objects that can be created from this table.
getClassName() - Method in class org.apache.torque.engine.database.model.Inheritance
Get the value of className.
getClassName() - Method in class org.apache.torque.manager.AbstractBaseManager
Get the classname to instantiate for getInstance()
getClauses() - Method in class org.apache.torque.util.Criteria.Criterion
get the list of clauses in this Criterion
getCol() - Method in class org.apache.torque.engine.sql.Token
Get the column number of this token.
getColumn() - Method in class org.apache.torque.engine.database.model.Inheritance
Get the value of parent.
getColumn() - Method in class org.apache.torque.engine.database.transform.XmlToData.ColumnValue
 
getColumn() - Method in class org.apache.torque.util.Criteria.Criterion
Get the column name.
getColumn(String) - Method in class org.apache.torque.engine.database.model.Table
Returns a specified column.
getColumn(String) - Method in class org.apache.torque.map.TableMap
Get a ColumnMap for the named table.
getColumnByJavaName(String) - Method in class org.apache.torque.engine.database.model.Table
Returns a specified column.
getColumnList() - Method in class org.apache.torque.engine.database.model.Index
Return a comma delimited string of the columns which compose this index.
getColumnName() - Method in class org.apache.torque.map.ColumnMap
Get the name of a column.
getColumnName(String) - Method in class org.apache.torque.util.Criteria
Method to return a String table name.
getColumnNames() - Method in class org.apache.torque.engine.database.model.Index
Returns the list of names of the columns referenced by this index.
getColumns() - Method in class org.apache.torque.engine.database.model.Index
Return the list of local columns.
getColumns() - Method in class org.apache.torque.engine.database.model.Table
Returns an Array containing all the columns in the table
getColumns() - Method in class org.apache.torque.map.TableMap
Get a ColumnMap[] of the columns in this table.
getColumns(DatabaseMetaData, String) - Method in class org.apache.torque.task.TorqueJDBCTransformTask
Retrieves all the column names and types for a given table from JDBC metadata.
getColumnValues() - Method in class org.apache.torque.engine.database.transform.XmlToData.DataRow
 
getComparison() - Method in class org.apache.torque.util.Criteria.Criterion
Get the comparison.
getComparison(String) - Method in class org.apache.torque.util.Criteria
Method to return a comparison String.
getComparison(String, String) - Method in class org.apache.torque.util.Criteria
Method to return a comparison String.
getConfiguration() - Static method in class org.apache.torque.Torque
Get the configuration for this component.
getConjunctions() - Method in class org.apache.torque.util.Criteria.Criterion
get the list of conjunctions in this Criterion
getConnection() - Static method in class org.apache.torque.Torque
This method returns a DBConnection from the default pool.
getConnection() - Method in class org.apache.torque.adapter.DB
Returns a JDBC Connection from the DriverManager.
getConnection() - Method in class org.apache.torque.adapter.DBCloudscape
Returns a JDBC Connection from the DriverManager.
getConnection() - Method in class org.apache.torque.adapter.DBInstantDB
Returns a JDBC Connection from the DriverManager.
getConnection() - Method in class org.apache.torque.adapter.DBHypersonicSQL
Returns a JDBC Connection from the DriverManager.
getConnection() - Method in class org.apache.torque.adapter.DBWeblogic
Returns a JDBC Connection from the DriverManager.
getConnection() - Method in class org.apache.torque.adapter.DBNone
Returns a JDBC Connection from the DriverManager.
getConnection() - Method in class org.apache.torque.pool.DBConnection
Returns a JDBC connection.
getConnection() - Method in class org.apache.torque.pool.ConnectionPool
Returns a connection that maintains a link to the pool it came from.
getConnection(String) - Static method in class org.apache.torque.Torque
This method returns a DBConnection from the pool with the specified name.
getConnection(String, String, String, String) - Static method in class org.apache.torque.Torque
Deprecated. Database parameters should not be specified each time a DBConnection is fetched from the service.
getConnection(String, String, String, String) - Method in class org.apache.torque.pool.ConnectionPool
Deprecated. Database parameters should not be specified each time a DBConnection is fetched from the pool.
getConnectionPoolDataSource() - Method in class org.apache.torque.adapter.DB
Returns a new JDBC PooledConnection.
getConnectionPoolDataSource() - Method in class org.apache.torque.adapter.DBOracle
 
getContainsForeignPK() - Method in class org.apache.torque.engine.database.model.Table
Determine if this table contains a foreign PK
getCriterion(String) - Method in class org.apache.torque.util.Criteria
Method to return criteria related to columns in a table.
getCriterion(String, String) - Method in class org.apache.torque.util.Criteria
Method to return criteria related to a column in a table.
getDatabase() - Method in class org.apache.torque.engine.database.model.AppData
Get database object.
getDatabase() - Method in class org.apache.torque.engine.database.model.Table
Get the parent of the table
getDatabase() - Method in class org.apache.torque.task.TorqueSQLTask
 
getDatabase(String) - Method in class org.apache.torque.engine.database.model.AppData
Return the database with the specified name.
getDatabaseDriver() - Method in class org.apache.torque.task.TorqueDataDumpTask
Get the database driver name
getDatabaseMap() - Static method in class org.apache.torque.Torque
Returns the default database map information.
getDatabaseMap() - Method in class org.apache.torque.map.TableMap
Get the DatabaseMap containing this TableMap.
getDatabaseMap() - Method in interface org.apache.torque.map.MapBuilder
Gets the database mapping this map builder built.
getDatabaseMap(String) - Static method in class org.apache.torque.Torque
Returns the database map information.
getDatabaseName() - Method in class org.apache.torque.task.TorqueDataDumpTask
Get the database name to dump
getDatabasePassword() - Method in class org.apache.torque.task.TorqueDataDumpTask
Get the database password
getDatabaseProperty(String, String) - Static method in class org.apache.torque.Torque
Returns the specified property of the given database, or the empty string if no value is set for the property.
getDatabases() - Method in class org.apache.torque.engine.database.model.AppData
Return an array of all databases
getDatabaseType() - Method in class org.apache.torque.engine.database.model.Database
 
getDatabaseUrl() - Method in class org.apache.torque.task.TorqueDataDumpTask
Get the database url
getDatabaseUser() - Method in class org.apache.torque.task.TorqueDataDumpTask
Get the database user
getDataDTD() - Method in class org.apache.torque.task.TorqueDataSQLTask
Gets the DataDTD attribute of the TorqueDataSQLTask object
getDataModelDbMap() - Method in class org.apache.torque.task.TorqueDataModelTask
Return the data model to database name map.
getDataModels() - Method in class org.apache.torque.task.TorqueDataModelTask
Return the data models that have been processed.
getDataXmlFile() - Method in class org.apache.torque.task.TorqueDataSQLTask
Gets the DataXmlFile attribute of the TorqueDataSQLTask object
getDate() - Method in class org.apache.torque.om.DateKey
Access the underlying Date object.
getDate(String) - Method in class org.apache.torque.util.Criteria
Convenience method to return a Date.
getDate(String, String) - Method in class org.apache.torque.util.Criteria
Convenience method to return a Date.
getDateString(Date) - Method in class org.apache.torque.adapter.DB
This method is used to format any date string.
getDateString(Date) - Method in class org.apache.torque.adapter.DBMM
This method overrides the JDBC escapes used to format dates using a DateFormat.
getDateString(String) - Method in class org.apache.torque.adapter.DB
Deprecated. use getDateString(java.util.Date)
getDb() - Method in class org.apache.torque.util.Criteria.Criterion
Get the value of db.
getDB() - Static method in class org.apache.torque.Torque
Returns the database adapter for the default connection pool.
getDB() - Method in class org.apache.torque.pool.ConnectionPool
Returns an instance of the database adapter associated with this pool.
getDB(String) - Static method in class org.apache.torque.Torque
Returns database adapter for a specific connection pool.
getDbName() - Method in class org.apache.torque.util.Criteria
Get the Database(Map) name.
getDbSchema() - Method in class org.apache.torque.task.TorqueJDBCTransformTask
 
getDefaultDB() - Static method in class org.apache.torque.Torque
Returns the name of the default database.
getDefaultIdMethod() - Method in class org.apache.torque.engine.database.model.Database
Get the value of defaultIdMethod.
getDefaultJavaNamingMethod() - Method in class org.apache.torque.engine.database.model.Database
Get the value of defaultJavaNamingMethod which specifies the method for converting schema names for table and column to Java names.
getDefaultJavaType() - Method in class org.apache.torque.engine.database.model.Database
Get type to use in Java sources (primitive || object)
getDefaultMap() - Static method in class org.apache.torque.Torque
Deprecated. Use getDefaultDB() instead.
getDefaultSetting() - Method in class org.apache.torque.engine.database.model.Column
Return a string that will give this column a default value.
getDefaultValue() - Method in class org.apache.torque.engine.database.model.Column
Get a string that will give this column a default value.
getDescription() - Method in class org.apache.torque.engine.database.model.Column
Get the description for the Table
getDescription() - Method in class org.apache.torque.engine.database.model.Table
Get the description for the Table
getDouble(String) - Method in class org.apache.torque.util.Criteria
Convenience method to return a double.
getDouble(String, String) - Method in class org.apache.torque.util.Criteria
Convenience method to return a double.
getFloat(String) - Method in class org.apache.torque.util.Criteria
Convenience method to return a float.
getFloat(String, String) - Method in class org.apache.torque.util.Criteria
Convenience method to return a float.
getForeignColumnNames() - Method in class org.apache.torque.engine.database.model.ForeignKey
Return a comma delimited string of foreign column names
getForeignColumns() - Method in class org.apache.torque.engine.database.model.ForeignKey
Return the list of local columns.
getForeignKey() - Method in class org.apache.torque.engine.database.model.Column
get the foreign key object for this column if it is a foreign key or part of a foreign key
getForeignKey(String) - Method in class org.apache.torque.engine.database.model.Table
Return the first foreign key that includes col in it's list of local columns.
getForeignKeys() - Method in class org.apache.torque.engine.database.model.Table
Returns an Array containing all the FKs in the table
getForeignKeys(DatabaseMetaData, String) - Method in class org.apache.torque.task.TorqueJDBCTransformTask
Retrieves a list of foreign key columns for a given table.
getForeignLocalMapping() - Method in class org.apache.torque.engine.database.model.ForeignKey
Utility method to get local column to foreign column mapping for this foreign key.
getForeignTableName() - Method in class org.apache.torque.engine.database.model.ForeignKey
Get the foreignTableName of the FK
getForeignTableNames() - Method in class org.apache.torque.engine.database.model.Table
A list of tables referenced by foreign keys in this table
getFromClause() - Method in class org.apache.torque.util.Query
Retrieve the from buffer in order to specify which tables are involved in this query.
getFullyQualifiedName() - Method in class org.apache.torque.engine.database.model.Column
Returns table.column
getFullyQualifiedName() - Method in class org.apache.torque.map.ColumnMap
Get the table name + column name.
getGroupByClause() - Method in class org.apache.torque.util.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.util.Criteria
Get group by columns.
getGroupKey() - Method in class org.apache.torque.manager.MethodCacheKey
 
getHaving() - Method in class org.apache.torque.util.Query
Get the having clause.
getHaving() - Method in class org.apache.torque.util.Criteria
Get Having Criterion.
getIdAsBigDecimal(Connection, Object) - Method in interface org.apache.torque.oid.IdGenerator
Returns an id as a BigDecimal.
getIdAsBigDecimal(Connection, Object) - Method in class org.apache.torque.oid.IDBroker
Returns an id as a BigDecimal.
getIdAsBigDecimal(Connection, Object) - Method in class org.apache.torque.oid.AutoIncrementIdGenerator
Returns the last ID used by this connection.
getIdAsBigDecimal(Connection, Object) - Method in class org.apache.torque.oid.SequenceIdGenerator
Retrieves an id as a BigDecimal.
getIdAsInt(Connection, Object) - Method in interface org.apache.torque.oid.IdGenerator
Returns an id as a primitive int.
getIdAsInt(Connection, Object) - Method in class org.apache.torque.oid.IDBroker
Returns an id as a primitive int.
getIdAsInt(Connection, Object) - Method in class org.apache.torque.oid.AutoIncrementIdGenerator
Returns the last ID used by this connection.
getIdAsInt(Connection, Object) - Method in class org.apache.torque.oid.SequenceIdGenerator
Retrieves an id as an int.
getIdAsLong(Connection, Object) - Method in interface org.apache.torque.oid.IdGenerator
Returns an id as a primitive long.
getIdAsLong(Connection, Object) - Method in class org.apache.torque.oid.IDBroker
Returns an id as a primitive long.
getIdAsLong(Connection, Object) - Method in class org.apache.torque.oid.AutoIncrementIdGenerator
Returns the last ID used by this connection.
getIdAsLong(Connection, Object) - Method in class org.apache.torque.oid.SequenceIdGenerator
Retrieves an id as an long.
getIdAsString(Connection, Object) - Method in interface org.apache.torque.oid.IdGenerator
Returns an id as a String.
getIdAsString(Connection, Object) - Method in class org.apache.torque.oid.IDBroker
Returns an id as a String.
getIdAsString(Connection, Object) - Method in class org.apache.torque.oid.AutoIncrementIdGenerator
Returns the last ID used by this connection.
getIdAsString(Connection, Object) - Method in class org.apache.torque.oid.SequenceIdGenerator
Retrieves an id as an String.
getIdAsVillageValue(Connection, Object) - Method in class org.apache.torque.oid.AutoIncrementIdGenerator
Returns the last ID used by this connection.
getIdAsVillageValue(Connection, Object) - Method in class org.apache.torque.oid.SequenceIdGenerator
Retrieves an id as a Village Value.
getIDBroker() - Method in class org.apache.torque.map.DatabaseMap
Get the IDBroker for this database.
getIdGenerator() - Method in class org.apache.torque.map.TableMap
Get the value of idGenerator.
getIdGenerator(String) - Method in class org.apache.torque.map.DatabaseMap
Get a type of id generator.
getIdiosyncrasies(String) - Method in class org.apache.torque.engine.database.model.AppData
Each database has its own list of idiosyncrasies which can be configured by editting its db.props file.
getIdMethod() - Method in class org.apache.torque.engine.database.model.Table
Get the method for generating pk's
getIdMethodParameters() - Method in class org.apache.torque.engine.database.model.Table
Returns a Collection of parameters relevant for the chosen id generation method.
getIDMethodSQL(Object) - Method in class org.apache.torque.adapter.DB
Returns SQL used to get the most recently inserted primary key.
getIDMethodSQL(Object) - Method in class org.apache.torque.adapter.DBInformix
 
getIDMethodSQL(Object) - Method in class org.apache.torque.adapter.DBPostgres
 
getIDMethodSQL(Object) - Method in class org.apache.torque.adapter.DBCloudscape
 
getIDMethodSQL(Object) - Method in class org.apache.torque.adapter.DBInstantDB
 
getIDMethodSQL(Object) - Method in class org.apache.torque.adapter.DBOracle
Returns the next key from a sequence.
getIDMethodSQL(Object) - Method in class org.apache.torque.adapter.DBMM
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.DBSapDB
Returns the next key from a sequence.
getIDMethodSQL(Object) - Method in class org.apache.torque.adapter.DBSybase
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.DBDB2App
 
getIDMethodSQL(Object) - Method in class org.apache.torque.adapter.DBInterbase
 
getIDMethodSQL(Object) - Method in class org.apache.torque.adapter.DBHypersonicSQL
 
getIDMethodSQL(Object) - Method in class org.apache.torque.adapter.DBWeblogic
 
getIDMethodSQL(Object) - Method in class org.apache.torque.adapter.DBNone
 
getIDMethodSQL(Object) - Method in class org.apache.torque.adapter.DBDB2Net
 
getIDMethodSQL(Object) - Method in class org.apache.torque.adapter.DBOdbc
 
getIDMethodType() - Method in class org.apache.torque.adapter.DB
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.DBInformix
 
getIDMethodType() - Method in class org.apache.torque.adapter.DBPostgres
 
getIDMethodType() - Method in class org.apache.torque.adapter.DBCloudscape
 
getIDMethodType() - Method in class org.apache.torque.adapter.DBInstantDB
 
getIDMethodType() - Method in class org.apache.torque.adapter.DBOracle
 
getIDMethodType() - Method in class org.apache.torque.adapter.DBMM
 
getIDMethodType() - Method in class org.apache.torque.adapter.DBSapDB
 
getIDMethodType() - Method in class org.apache.torque.adapter.DBSybase
 
getIDMethodType() - Method in class org.apache.torque.adapter.DBDB2App
 
getIDMethodType() - Method in class org.apache.torque.adapter.DBInterbase
 
getIDMethodType() - Method in class org.apache.torque.adapter.DBHypersonicSQL
 
getIDMethodType() - Method in class org.apache.torque.adapter.DBWeblogic
 
getIDMethodType() - Method in class org.apache.torque.adapter.DBNone
 
getIDMethodType() - Method in class org.apache.torque.adapter.DBDB2Net
 
getIDMethodType() - Method in class org.apache.torque.adapter.DBOdbc
 
getIdSqlForAutoIncrement(Object) - Method in class org.apache.torque.adapter.DB
Deprecated. Use getIDMethodSQL(Object) instead.
getIdTable() - Method in class org.apache.torque.map.DatabaseMap
Get the ID table for this database.
getIdTableXMLFile() - Method in class org.apache.torque.task.TorqueSQLTask
Gets the id-table xml schema file path.
getImpl(MethodCacheKey) - Method in class org.apache.torque.manager.MethodResultCache
 
getIndexColumnList() - Method in class org.apache.torque.engine.database.model.Index
Deprecated. Use getColumnList() instead.
getIndexColumns() - Method in class org.apache.torque.engine.database.model.Index
Deprecated. Use getColumns() instead.
getIndexName() - Method in class org.apache.torque.engine.database.model.Index
Deprecated. Use getName() instead.
getIndices() - Method in class org.apache.torque.engine.database.model.Table
Returns an Array containing all the FKs in the table
getInputFile() - Method in class org.apache.torque.task.TorqueSQLTransformTask
Get the current input file
getInputSource(String) - Method in class org.apache.torque.engine.database.transform.XmlToData
get an InputSource for an URL String
getInputSource(String) - Method in class org.apache.torque.engine.database.transform.DTDResolver
Retrieves a XML input source for the specified URL.
getInputValidator() - Method in class org.apache.torque.engine.database.model.Column
Returns the class name to do input validation
getInt(String) - Method in class org.apache.torque.util.Criteria
Convenience method to return an int.
getInt(String, String) - Method in class org.apache.torque.util.Criteria
Convenience method to return an int.
getInteger(String) - Method in class org.apache.torque.util.Criteria
Convenience method to return an Integer.
getInteger(String, String) - Method in class org.apache.torque.util.Criteria
Convenience method to return an Integer.
getInterestedFields() - Method in interface org.apache.torque.manager.CacheListener
 
getInterface() - Method in class org.apache.torque.engine.database.model.Table
Interface which objects for this table will implement
getInternalPooledConnection() - Method in class org.apache.torque.pool.ConnectionPool
Gets a pooled database connection.
getIsUnique() - Method in class org.apache.torque.engine.database.model.Index
Deprecated. Use isUnique() instead.
getJavaName() - Method in class org.apache.torque.engine.database.model.Column
Get name to use in Java sources
getJavaName() - Method in class org.apache.torque.engine.database.model.Table
Get name to use in Java sources
getJavaNative() - Method in class org.apache.torque.engine.database.model.Column
Return a string representation of the native java type which corresponds to the JDBC type of this column.
getJavaNative(String) - Static method in class org.apache.torque.engine.database.model.TypeMap
Return native java type which corresponds to the JDBC type provided.
getJavaNativeObject(String) - Static method in class org.apache.torque.engine.database.model.TypeMap
Return native java type which corresponds to the JDBC type provided.
getJavaObject() - Method in class org.apache.torque.engine.database.model.Column
Return a string representation of the Java object which corresponds to the JDBC type of this column.
getJavaObject(String) - Static method in class org.apache.torque.engine.database.model.TypeMap
Return a Java object which corresponds to the JDBC type provided.
getJavaPrimitive() - Method in class org.apache.torque.engine.database.model.Column
Return a string representation of the primitive java type which corresponds to the JDBC type of this column.
getJavaType() - Method in class org.apache.torque.engine.database.model.Column
Get type to use in Java sources
getJDBCDriver() - Method in class org.apache.torque.adapter.DB
Gets the JDBC driver used by this adapter.
getJdbcType(String) - Static method in class org.apache.torque.engine.database.model.TypeMap
Returns the correct jdbc type for torque added types
getJoinL() - Method in class org.apache.torque.util.Criteria
get one side of the set of possible joins.
getJoinR() - Method in class org.apache.torque.util.Criteria
get one side of the set of possible joins.
getKey() - Method in class org.apache.torque.engine.database.model.Inheritance
Get the value of key.
getLimit() - Method in class org.apache.torque.util.Query
Get the limit number.
getLimit() - Method in class org.apache.torque.util.Criteria
Get limit.
getLimitStyle() - Method in class org.apache.torque.adapter.DB
This method is used to chek whether the database supports limiting the size of the resultset.
getLimitStyle() - Method in class org.apache.torque.adapter.DBPostgres
This method is used to chek whether the database supports limiting the size of the resultset.
getLimitStyle() - Method in class org.apache.torque.adapter.DBOracle
This method is used to check whether the database supports limiting the size of the resultset.
getLimitStyle() - Method in class org.apache.torque.adapter.DBMM
This method is used to chek whether the database supports limiting the size of the resultset.
getLimitStyle() - Method in class org.apache.torque.adapter.DBSybase
This method is used to chek whether the database supports limiting the size of the resultset.
getLine() - Method in class org.apache.torque.engine.sql.Token
Get the line number of this token.
getList(String) - Method in class org.apache.torque.util.Criteria
Convenience method to return a List.
getList(String, String) - Method in class org.apache.torque.util.Criteria
Convenience method to return a List.
getLocalColumnNames() - Method in class org.apache.torque.engine.database.model.ForeignKey
Return a comma delimited string of local column names
getLocalColumns() - Method in class org.apache.torque.engine.database.model.ForeignKey
Return the list of local columns.
getLocalForeignMapping() - Method in class org.apache.torque.engine.database.model.ForeignKey
Utility method to get local column to foreign column mapping for this foreign key.
getLoginTimeout() - Method in class org.apache.torque.pool.ConnectionPool
 
getLogWriter() - Method in class org.apache.torque.pool.ConnectionPool
The log writer is a character output stream to which all logging and tracing messages for this data source object instance will be printed.
getLong(String) - Method in class org.apache.torque.util.Criteria
Convenience method to return a long.
getLong(String, String) - Method in class org.apache.torque.util.Criteria
Convenience method to return a long.
getManager(String) - Static method in class org.apache.torque.Torque
This method returns a Manager for the given name.
getMapBuilder() - Static method in class org.apache.torque.util.BasePeer
This method returns the MapBuilder specified in the TurbineResources.properties file.
getMapBuilder(String) - Static method in class org.apache.torque.util.BasePeer
This method returns the MapBuilder specified in the name parameter.
getMethodResultCache() - Method in class org.apache.torque.manager.AbstractBaseManager
 
getMultipleDatabases() - Method in class org.apache.torque.engine.database.model.AppData
Returns whether this application has multiple databases.
getName() - Method in class org.apache.torque.engine.database.model.IdMethodParameter
Get the parameter name
getName() - Method in class org.apache.torque.engine.database.model.Index
Gets the name of this index.
getName() - Method in class org.apache.torque.engine.database.model.Column
Get the name of the column
getName() - Method in class org.apache.torque.engine.database.model.AppData
Get the name of the database.
getName() - Method in class org.apache.torque.engine.database.model.Database
Get the name of the Database
getName() - Method in class org.apache.torque.engine.database.model.ForeignKey
Returns the name attribute.
getName() - Method in class org.apache.torque.engine.database.model.Table
Get the name of the Table
getName() - Method in class org.apache.torque.map.TableMap
Get the name of the Table.
getName() - Method in class org.apache.torque.map.DatabaseMap
Get the name of this database.
getNbrAvailable() - Method in class org.apache.torque.pool.ConnectionPool
Returns the available connections in the pool
getNbrCheckedOut() - Method in class org.apache.torque.pool.ConnectionPool
Returns the checked out connections in the pool
getNewConnection() - Method in class org.apache.torque.pool.ConnectionPool
Returns a fresh connection to the database.
getNewCriterion(String, Object, SqlEnum) - Method in class org.apache.torque.util.Criteria
Method to return criterion that is not added automatically to this Criteria.
getNewCriterion(String, String, Object, SqlEnum) - Method in class org.apache.torque.util.Criteria
Method to return criterion that is not added automatically to this Criteria.
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 block of rows.
getNumColumns() - Method in class org.apache.torque.engine.database.model.Table
Utility method to get the number of columns in this table
getObjectKey(String) - Method in class org.apache.torque.util.Criteria
Convenience method to return an ObjectKey.
getObjectKey(String, String) - Method in class org.apache.torque.util.Criteria
Convenience method to return an ObjectKey.
getOffset() - Method in class org.apache.torque.util.Criteria
Get offset.
getOMClass() - Method in class org.apache.torque.manager.AbstractBaseManager
Get the Class instance
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(List) - Method in class org.apache.torque.manager.AbstractBaseManager
Gets a list of om's based on id's.
getOMs(List, boolean) - Method in class org.apache.torque.manager.AbstractBaseManager
Gets a list of om's based on id's.
getOMs(ObjectKey[]) - Method in class org.apache.torque.manager.AbstractBaseManager
Gets a list of om's based on id's.
getOnDelete() - Method in class org.apache.torque.engine.database.model.ForeignKey
returns the onDelete attribute
getOnUpdate() - Method in class org.apache.torque.engine.database.model.ForeignKey
returns the onUpdate attribute
getOrderByClause() - Method in class org.apache.torque.util.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.util.Criteria
Get order by columns.
getOutputFile() - Method in class org.apache.torque.task.TorqueSQLTransformTask
Get the current output file.
getOutputFormat() - Method in class org.apache.torque.task.TorqueDocumentationTask
Get the current output format.
getPackage() - Method in class org.apache.torque.engine.database.model.Database
Get the value of package.
getParameterParserMethod() - Method in class org.apache.torque.engine.database.model.Column
Return ParameterParser getX() method which corresponds to the JDBC type which represents this column.
getPool() - Static method in class org.apache.torque.Torque
This method returns the default pool.
getPool() - Method in class org.apache.torque.pool.DBConnection
Returns the pool this DBConnection came from, or null if it is not linked to any pool
getPool(String) - Static method in class org.apache.torque.Torque
This method returns a pool with the specified name.
getPooledConnection() - Method in class org.apache.torque.pool.ConnectionPool
Attempt to establish a database connection.
getPooledConnection(String, String) - Method in class org.apache.torque.pool.ConnectionPool
Attempt to establish a database connection.
getPosition() - Method in class org.apache.torque.engine.database.model.Column
Get the location of this column within the table (one-based).
getPPMethod(String) - Static method in class org.apache.torque.engine.database.model.TypeMap
Return ParameterParser getX() method which corresponds to the JDBC type provided.
getPrefix() - Method in class org.apache.torque.map.TableMap
Get table prefix name.
getPreviousResults() - Method in class org.apache.torque.util.LargeSelect
Gets a block of rows which have previously been retrieved.
getPrimaryKey() - Method in class org.apache.torque.engine.database.model.Table
Returns the collection of Columns which make up the single primary key for this table.
getPrimaryKey() - Method in class org.apache.torque.om.BaseObject
getter for the object primaryKey.
getPrimaryKey() - Method in interface org.apache.torque.om.Persistent
getter for the object primaryKey.
getPrimaryKey(Criteria) - Static method in class org.apache.torque.util.BasePeer
Helper method which returns the primary key contained in the given Criteria object.
getPrimaryKeyAsBigDecimal() - Method in class org.apache.torque.om.BaseObject
Deprecated. Use getPrimaryKey() instead. Refer to ObjectKey for more information on type conversion.
getPrimaryKeyAsInt() - Method in class org.apache.torque.om.BaseObject
Deprecated. Use getPrimaryKey() instead. Refer to ObjectKey for more information on type conversion.
getPrimaryKeyAsLong() - Method in class org.apache.torque.om.BaseObject
Deprecated. Use getPrimaryKey() instead. Refer to ObjectKey for more information on type conversion.
getPrimaryKeyAsString() - Method in class org.apache.torque.om.BaseObject
Deprecated. Use getPrimaryKey() instead. Refer to ObjectKey for more information on type conversion.
getPrimaryKeyMethod() - Method in class org.apache.torque.map.TableMap
Get the method used to generate primary keys for this table.
getPrimaryKeyMethodInfo() - Method in class org.apache.torque.map.TableMap
Get the information used to generate a primary key
getPrimaryKeys() - Method in class org.apache.torque.engine.database.model.Table
Deprecated. Use getPrimaryKey() instead.
getPrimaryKeys(DatabaseMetaData, String) - Method in class org.apache.torque.task.TorqueJDBCTransformTask
Retrieves a list of the columns composing the primary key for a given table.
getProperty(String) - Method in class org.apache.torque.engine.database.model.Database
Returns the value of the named property from this database's db.props file.
getProperty(String, String) - Static method in class org.apache.torque.Torque
Returns the string for the specified property of the given database.
getQuantity(String, Connection) - Method in class org.apache.torque.oid.IDBroker
This method allows you to get the number of ids that are to be cached in memory.
getReferrers() - Method in class org.apache.torque.engine.database.model.Column
Get list of references to this column.
getReferrers() - Method in class org.apache.torque.engine.database.model.Table
Get list of references to this table.
getRegion() - Method in class org.apache.torque.manager.AbstractBaseManager
Get the value of region.
getRelatedColumnName() - Method in class org.apache.torque.engine.database.model.Column
Utility method to get the related column of this local column if this column is a foreign key or part of a foreign key.
getRelatedColumnName() - Method in class org.apache.torque.map.ColumnMap
Get the column name that this column is related to.
getRelatedName() - Method in class org.apache.torque.map.ColumnMap
Get the table.column that this column is related to.
getRelatedTableName() - Method in class org.apache.torque.engine.database.model.Column
Utility method to get the related table of this column if it is a foreign key or part of a foreign key
getRelatedTableName() - Method in class org.apache.torque.map.ColumnMap
Get the table name that this column is related to.
getResults(int) - Method in class org.apache.torque.util.LargeSelect
Gets a block of rows starting at a specified row.
getResults(int, int) - Method in class org.apache.torque.util.LargeSelect
Gets a block of rows starting at a specified row and containing a specified number of rows.
getRowcount() - Method in class org.apache.torque.util.Query
Get the rowcount number.
getSelectClause() - Method in class org.apache.torque.util.Query
Retrieve the columns buffer in order to specify which columns are returned in this query.
getSelectColumns() - Method in class org.apache.torque.util.Criteria
Get select columns.
getSelectModifiers() - Method in class org.apache.torque.util.Query
Retrieve the modifier buffer in order to add modifiers to this query.
getSelectModifiers() - Method in class org.apache.torque.util.Criteria
Get select modifiers.
getSelectResults(QueryDataSet) - Static method in class org.apache.torque.util.BasePeer
Returns all records in a QueryDataSet as a List of Record objects.
getSelectResults(QueryDataSet, boolean) - Static method in class org.apache.torque.util.BasePeer
Returns all records in a QueryDataSet as a List of Record objects.
getSelectResults(QueryDataSet, int, boolean) - Static method in class org.apache.torque.util.BasePeer
Returns numberOfResults records in a QueryDataSet as a List of Record objects.
getSelectResults(QueryDataSet, int, int, boolean) - Static method in class org.apache.torque.util.BasePeer
Returns numberOfResults records in a QueryDataSet as a List of Record objects.
getSequenceInfo() - Method in class org.apache.torque.map.TableMap
Deprecated. Use getPrimaryKeyMethodInfo
getSequenceName() - Method in class org.apache.torque.engine.database.model.Table
A name to use for creating a sequence if one is not specified.
getSequenceSql(Object) - Method in class org.apache.torque.adapter.DB
Deprecated. Use getIDMethodSQL(Object) instead.
getSequenceSql(Object) - Method in class org.apache.torque.adapter.DBPostgres
Returns the last auto-increment key.
getShortName() - Method in class org.apache.torque.engine.database.model.AppData
Get the short name of the database (without the '-schema' postfix).
getSize() - Method in class org.apache.torque.engine.database.model.Column
Returns the size of the column
getSize() - Method in class org.apache.torque.map.ColumnMap
Get the size of this column.
getSqlDbMap() - Method in class org.apache.torque.task.TorqueDataModelTask
Get the sqldbmap.
getSqlDbMap() - Method in class org.apache.torque.task.TorqueSQLExec
Get the sqldbmap properties file.
getSqlFile() - Method in class org.apache.torque.engine.database.transform.SQLToAppData
Get the current input sql file
getSrcDir() - Method in class org.apache.torque.task.TorqueSQLExec
Get the src directory for the sql files listed in the sqldbmap file.
getStr() - Method in class org.apache.torque.engine.sql.Token
Returns the string representation of this token.
getString() - Method in class org.apache.torque.om.StringKey
Access the underlying String object.
getString(String) - Method in class org.apache.torque.util.Criteria
Convenience method to return a String.
getString(String, String) - Method in class org.apache.torque.util.Criteria
Convenience method to return a String.
getStringDelimiter() - Method in class org.apache.torque.adapter.DB
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 class org.apache.torque.adapter.DBInterbase
Gets the string delimiter (usually '\'').
getSuffix() - Method in class org.apache.torque.task.TorqueSQLTask
 
getTable() - Method in class org.apache.torque.engine.database.model.IdMethodParameter
Get the parent Table of the id method
getTable() - Method in class org.apache.torque.engine.database.model.Index
Get the parent Table of the index
getTable() - Method in class org.apache.torque.engine.database.model.Column
Get the parent Table of the column
getTable() - Method in class org.apache.torque.engine.database.model.ForeignKey
Get the parent Table of the foreign key
getTable() - Method in class org.apache.torque.engine.database.transform.XmlToData.DataRow
 
getTable() - Method in class org.apache.torque.util.Criteria.Criterion
Get the table name.
getTable(String) - Method in class org.apache.torque.engine.database.model.Database
Return the table with the specified name.
getTable(String) - Method in class org.apache.torque.map.DatabaseMap
Get a TableMap for the table by name.
getTableByJavaName(String) - Method in class org.apache.torque.engine.database.model.Database
Return the table with the specified javaName.
getTableForAlias(String) - Method in class org.apache.torque.util.Criteria
Returns the table name associated with an alias.
getTableName() - Method in class org.apache.torque.engine.database.model.IdMethodParameter
Returns the Name of the table the id method is in
getTableName() - Method in class org.apache.torque.engine.database.model.Index
Returns the Name of the table the index is in
getTableName() - Method in class org.apache.torque.engine.database.model.Column
Returns the Name of the table the column is in
getTableName() - Method in class org.apache.torque.engine.database.model.ForeignKey
Returns the Name of the table the foreign key is in
getTableName() - Method in class org.apache.torque.map.ColumnMap
Get the name of the table this column is in.
getTableName(String) - Method in class org.apache.torque.util.Criteria
Method to return a String table name.
getTableNames(DatabaseMetaData) - Method in class org.apache.torque.task.TorqueJDBCTransformTask
Get all the table names in the current database that are not system tables.
getTables() - Method in class org.apache.torque.engine.database.model.Database
Return an array of all tables
getTables() - Method in class org.apache.torque.map.DatabaseMap
Get a TableMap[] of all of the tables in the database.
getTargetDatabase() - Method in class org.apache.torque.task.TorqueDataModelTask
Get the current target database.
getTargetDatabase() - Method in class org.apache.torque.task.TorqueDataSQLTask
Get the current target database.
getTargetPackage() - Method in class org.apache.torque.task.TorqueDataModelTask
Get the current target package.
getTimestamp() - Method in class org.apache.torque.pool.DBConnection
Returns a long representing the time this connection was created.
getTorqueType() - Method in class org.apache.torque.engine.database.model.Column
Returns the column type as given in the schema as an object
getTorqueType(Integer) - Static method in class org.apache.torque.engine.database.model.TypeMap
Returns Torque type constant corresponding to JDBC type code.
getTotalCount() - Method in class org.apache.torque.pool.ConnectionPool
Returns the Total connections in the pool
getType() - Method in class org.apache.torque.engine.database.model.Column
Returns the column jdbc type as an object
getType() - Method in class org.apache.torque.map.ColumnMap
Get the type of this column.
getUnices() - Method in class org.apache.torque.engine.database.model.Table
Returns an Array containing all the UKs in the table
getUrl() - Method in class org.apache.torque.pool.DBConnection
Returns the connection URL.
getUsername() - Method in class org.apache.torque.pool.DBConnection
Returns the connection user name.
getValue() - Method in class org.apache.torque.engine.database.model.IdMethodParameter
Get the parameter value
getValue() - Method in class org.apache.torque.engine.database.transform.XmlToData.ColumnValue
 
getValue() - Method in class org.apache.torque.om.ObjectKey
Get the underlying object.
getValue() - Method in class org.apache.torque.om.ComboKey
Get the underlying object.
getValue() - Method in class org.apache.torque.util.Criteria.Criterion
Get the value.
getValue(String) - Method in class org.apache.torque.util.Criteria
Method to return the value that was added to Criteria.
getValue(String, String) - Method in class org.apache.torque.util.Criteria
Method to return the value that was added to Criteria.
getValues() - Method in class org.apache.torque.task.TorqueSQLExec.DelimiterType
 
getValues() - Method in class org.apache.torque.task.TorqueSQLExec.OnError
 
getVillageMethod() - Method in class org.apache.torque.engine.database.model.Column
Return Village asX() method which corresponds to the JDBC type which represents this column.
getVillageMethod(String) - Static method in class org.apache.torque.engine.database.model.TypeMap
Return Village asX() method which corresponds to the JDBC type provided.
getVillageObjectMethod(String) - Static method in class org.apache.torque.engine.database.model.TypeMap
Return Village asX() method which corresponds to the JDBC type provided.
getWhereClause() - Method in class org.apache.torque.util.Query
Retrieve the where buffer in order to specify the selection criteria E.g.
getXmlFile() - Method in class org.apache.torque.task.TorqueDataModelTask
Get the xml schema describing the application model.
goodSql - Variable in class org.apache.torque.task.TorqueSQLExec
 
GREATER_EQUAL - Static variable in class org.apache.torque.util.Criteria
Comparison type.
GREATER_EQUAL - Static variable in class org.apache.torque.util.SqlEnum
 
GREATER_THAN - Static variable in class org.apache.torque.util.Criteria
Comparison type.
GREATER_THAN - Static variable in class org.apache.torque.util.SqlEnum
 
grokName(String) - Method in class org.apache.torque.task.TorqueDataModelTask
Gets a name to use for the application's data model.
GROUP_BY - Static variable in class org.apache.torque.util.Query
 
groupByColumns - Variable in class org.apache.torque.util.Query
 
groupByColumns - Variable in class org.apache.torque.util.Criteria
 
groupKey - Variable in class org.apache.torque.manager.MethodCacheKey
 
groups - Variable in class org.apache.torque.manager.MethodResultCache
 

H

handleMultiple(DataSet) - Static method in class org.apache.torque.util.BasePeer
Deprecated. Use the better-named handleMultipleRecords() instead.
handleMultipleRecords(DataSet) - Static method in class org.apache.torque.util.BasePeer
If the user specified that (s)he only wants to retrieve a single record and multiple records are retrieved, this method is called to handle the situation.
hashCode() - Method in class org.apache.torque.manager.MethodCacheKey
 
hashCode() - Method in class org.apache.torque.om.ObjectKey
Returns the hashcode of the underlying value (key), if key is not null.
hashCode() - Method in class org.apache.torque.om.ComboKey
if the underlying key array is not null and the first element is not null this method returns the hashcode of the first element in the key.
hashCode() - Method in class org.apache.torque.om.BaseObject
If the primary key is not null, return the hashcode of the primary key.
hashCode() - Method in class org.apache.torque.util.Criteria.Criterion
Returns a hash code value for the object.
hashtableToByteArray(Hashtable) - Static method in class org.apache.torque.util.BasePeer
Converts a hashtable to a byte array for storage/serialization.
hasNext() - Method in class org.apache.torque.task.TorqueDataDumpTask.TableTool
check if there are more records in the QueryDataSet
hasOnDelete() - Method in class org.apache.torque.engine.database.model.ForeignKey
returns whether or not the onDelete attribute is set
hasOnUpdate() - Method in class org.apache.torque.engine.database.model.ForeignKey
returns whether or not the onUpdate attribute is set
hasPrefix(String) - Method in class org.apache.torque.map.TableMap
Tell me if i have PREFIX in my string.
hasPrimaryKey() - Method in class org.apache.torque.engine.database.model.Table
Determine whether this table has a primary key.
hasTokens() - Method in class org.apache.torque.engine.database.transform.SQLToAppData
Check if there is more tokens available for parsing.
having - Variable in class org.apache.torque.util.Query
 
having - Variable in class org.apache.torque.util.Criteria
 
HAVING - Static variable in class org.apache.torque.util.Query
 
heavyIndexing - Variable in class org.apache.torque.engine.database.model.Database
 
heavyIndexing - Variable in class org.apache.torque.engine.database.model.Table
 
houseKeeperThread - Variable in class org.apache.torque.oid.IDBroker
The houseKeeperThread thread

I

ID_BROKER - Static variable in interface org.apache.torque.adapter.IDMethod
Key generation via the IDBroker table.
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 - Variable in class org.apache.torque.map.DatabaseMap
The IDBroker that goes with the idTable.
IDBroker - class org.apache.torque.oid.IDBroker.
This method of ID generation is used to ensure that code is more database independent.
IDBroker(TableMap) - Constructor for class org.apache.torque.oid.IDBroker
Creates an IDBroker for the ID table.
idGenerator - Variable in class org.apache.torque.map.TableMap
IdGenerator for this tableMap
IdGenerator - interface org.apache.torque.oid.IdGenerator.
Interface to be implemented by id generators.
IDGeneratorFactory - class org.apache.torque.oid.IDGeneratorFactory.
A factory which instantiates IdGenerator implementations.
IDGeneratorFactory() - Constructor for class org.apache.torque.oid.IDGeneratorFactory
 
idGenerators - Variable in class org.apache.torque.map.DatabaseMap
The IdGenerators, keyed by type of idMethod.
idiosyncrasyTable - Variable in class org.apache.torque.engine.database.model.AppData
The table of idiosyncrasies for various database types.
idMethod - Variable in class org.apache.torque.engine.database.model.Table
 
IDMethod - interface org.apache.torque.adapter.IDMethod.
Interface for various ID retrieval method types (i.e.
IdMethodParameter - class org.apache.torque.engine.database.model.IdMethodParameter.
Information related to an ID method.
IdMethodParameter() - Constructor for class org.apache.torque.engine.database.model.IdMethodParameter
 
idMethodParameters - Variable in class org.apache.torque.engine.database.model.Table
 
ids - Variable in class org.apache.torque.oid.IDBroker
The cached IDs for each table.
idTable - Variable in class org.apache.torque.map.DatabaseMap
A special table used to generate primary keys for the other tables.
idTableXMLFile - Variable in class org.apache.torque.task.TorqueSQLTask
 
IGNORE_CASE - Static variable in class org.apache.torque.util.BasePeer
Constant criteria key to remove Case Information from search/ordering criteria.
ignoreCase - Variable in class org.apache.torque.util.Criteria
 
ignoreCase(String) - Method in class org.apache.torque.adapter.DB
This method is used to ignore case.
ignoreCase(String) - Method in class org.apache.torque.adapter.DBInformix
This method is used to ignore case.
ignoreCase(String) - Method in class org.apache.torque.adapter.DBPostgres
This method is used to ignore case.
ignoreCase(String) - Method in class org.apache.torque.adapter.DBCloudscape
This method is used to ignore case.
ignoreCase(String) - Method in class org.apache.torque.adapter.DBInstantDB
This method is used to ignore case.
ignoreCase(String) - Method in class org.apache.torque.adapter.DBOracle
This method is used to ignore case.
ignoreCase(String) - Method in class org.apache.torque.adapter.DBMM
This method is used to ignore case.
ignoreCase(String) - Method in class org.apache.torque.adapter.DBSapDB
This method is used to ignore case.
ignoreCase(String) - Method in class org.apache.torque.adapter.DBSybase
This method is used to ignore case.
ignoreCase(String) - Method in class org.apache.torque.adapter.DBDB2App
This method is used to ignore case.
ignoreCase(String) - Method in class org.apache.torque.adapter.DBDB2400
This method is used to ignore case.
ignoreCase(String) - Method in class org.apache.torque.adapter.DBInterbase
This method is used to ignore case.
ignoreCase(String) - Method in class org.apache.torque.adapter.DBHypersonicSQL
This method is used to ignore case.
ignoreCase(String) - Method in class org.apache.torque.adapter.DBWeblogic
This method is used to ignore case.
ignoreCase(String) - Method in class org.apache.torque.adapter.DBNone
This method is used to ignore case.
ignoreCase(String) - Method in class org.apache.torque.adapter.DBDB2Net
This method is used to ignore case.
ignoreCase(String) - Method in class org.apache.torque.adapter.DBOdbc
This method is used to ignore case.
ignoreCaseInOrderBy(String) - Method in class org.apache.torque.adapter.DB
This method is used to ignore case in an ORDER BY clause.
ignoreCaseInOrderBy(String) - Method in class org.apache.torque.adapter.DBInterbase
This method is used to ignore case in an ORDER BY clause.
ignoreStringCase - Variable in class org.apache.torque.util.Criteria.Criterion
flag to ignore case in comparision
in - Variable in class org.apache.torque.engine.sql.SQLScanner
 
IN - Static variable in class org.apache.torque.util.Query
 
IN - Static variable in class org.apache.torque.util.Criteria
Comparison type.
IN - Static variable in class org.apache.torque.util.SqlEnum
 
Index - class org.apache.torque.engine.database.model.Index.
Information about indices of a table.
Index() - Constructor for class org.apache.torque.engine.database.model.Index
Creates a new instance with default characteristics (no name or parent table, small column list size allocation, non-unique).
Index(Table, List) - Constructor for class org.apache.torque.engine.database.model.Index
Creates a new instance for the list of columns composing an index.
indexColumns - Variable in class org.apache.torque.engine.database.model.Index
 
indexName - Variable in class org.apache.torque.engine.database.model.Index
 
indices - Variable in class org.apache.torque.engine.database.model.Table
 
inGet - Variable in class org.apache.torque.manager.AbstractBaseManager
 
inGet - Variable in class org.apache.torque.manager.MethodResultCache
 
Inheritance - class org.apache.torque.engine.database.model.Inheritance.
A Class for information regarding possible objects representing a table
Inheritance() - Constructor for class org.apache.torque.engine.database.model.Inheritance
Default Constructor
inheritanceColumn - Variable in class org.apache.torque.engine.database.model.Table
 
inheritanceList - Variable in class org.apache.torque.engine.database.model.Column
 
inheritanceType - Variable in class org.apache.torque.engine.database.model.Column
 
init(Configuration) - Static method in class org.apache.torque.Torque
Initialization of Torque with a properties file.
init(Configuration) - Static method in class org.apache.torque.adapter.DBFactory
This static code creates the list of possible adapters and adds the "NO DATABASE" adapter to this list.
init(Serializable[]) - Method in class org.apache.torque.manager.MethodCacheKey
Initialize key for method with more than two arguments.
init(Serializable, String) - Method in class org.apache.torque.manager.MethodCacheKey
Initialize key for method with no arguments.
init(Serializable, String, Serializable) - Method in class org.apache.torque.manager.MethodCacheKey
Initialize key for method with one argument.
init(Serializable, String, Serializable, Serializable) - Method in class org.apache.torque.manager.MethodCacheKey
Initialize key for method with two arguments.
init(Serializable, String, Serializable, Serializable, Serializable) - Method in class org.apache.torque.manager.MethodCacheKey
Initialize key for method with two arguments.
init(String) - Static method in class org.apache.torque.Torque
Initialization of Torque with a properties file.
init(String, Criteria, int) - Method in class org.apache.torque.util.LargeSelect
Called by the constructors to start the query.
init(String, String, String) - Method in class org.apache.torque.adapter.DB
Performs basic initialization.
init(String, String, String) - Method in class org.apache.torque.adapter.DBCloudscape
Performs basic initialization.
init(String, String, String) - Method in class org.apache.torque.adapter.DBInstantDB
Performs basic initialization.
init(String, String, String) - Method in class org.apache.torque.adapter.DBHypersonicSQL
Performs basic initialization.
init(String, String, String) - Method in class org.apache.torque.adapter.DBWeblogic
Performs basic initialization.
init(String, String, String) - Method in class org.apache.torque.adapter.DBNone
Performs basic initialization.
initColumnNames(Column[]) - Static method in class org.apache.torque.util.BasePeer
Convenience method to create a String array of column names.
initControlContext() - Method in class org.apache.torque.task.TorqueDataModelTask
Set up the initial context for generating the SQL from the XML schema.
initControlContext() - Method in class org.apache.torque.task.TorqueSQLTask
Place our target database and target platform values into the context for use in the templates.
initControlContext() - Method in class org.apache.torque.task.TorqueDataDumpTask
Initializes initial context
initControlContext() - Method in class org.apache.torque.task.TorqueDataSQLTask
Set up the initialial context for generating the SQL from the XML schema.
initControlContext() - Method in class org.apache.torque.task.TorqueDocumentationTask
Place our target package value into the context for use in the templates.
initCriteriaKeys(String, String[]) - Static method in class org.apache.torque.util.BasePeer
Convenience method to create a String array of criteria keys.
initDatabaseMap(String) - Static method in class org.apache.torque.Torque
Creates and initializes the mape for the named database.
initialize() - Method in class org.apache.torque.Torque
initialize Torque
initialize() - Static method in class org.apache.torque.engine.database.model.TypeMap
Initializes the SQL to Java map so that it can be used by client code.
initializeDriverToAdapterMap() - Static method in class org.apache.torque.adapter.DBFactory
Initialize the JDBC driver to Torque Adapter map.
initManager(String, String) - Static method in class org.apache.torque.Torque
Initialize a manager
initManagerMappings(Configuration) - Static method in class org.apache.torque.Torque
Creates a mapping between Manager names and class names.
initTableColumns(Schema) - Static method in class org.apache.torque.util.BasePeer
Creates a Column array for a table based on its Schema.
initTableSchema(String) - Static method in class org.apache.torque.util.BasePeer
Sets up a Schema for a table.
initTableSchema(String, String) - Static method in class org.apache.torque.util.BasePeer
Sets up a Schema for a table.
inputFile - Variable in class org.apache.torque.task.TorqueSQLTransformTask
SQL input file.
inputValidator - Variable in class org.apache.torque.engine.database.model.Column
class name to do input validation on this column
insertDatabaseSqlFiles(String, String, List) - Method in class org.apache.torque.task.TorqueSQLExec
Take the base url, the target database and insert a set of SQL files into the target database.
insertOrUpdateRecord(Record, String, Criteria) - Static method in class org.apache.torque.util.BasePeer
Grouping of code used in both doInsert() and doUpdate() methods.
instance - Static variable in class org.apache.torque.engine.database.model.NameFactory
The single instance of this class.
instanceOrClass - Variable in class org.apache.torque.manager.MethodCacheKey
 
INTEGER - Static variable in class org.apache.torque.engine.database.model.TypeMap
 
INTEGER_NATIVE_OBJECT_TYPE - Static variable in class org.apache.torque.engine.database.model.TypeMap
 
INTEGER_NATIVE_TYPE - Static variable in class org.apache.torque.engine.database.model.TypeMap
 
INTEGER_OBJECT_TYPE - Static variable in class org.apache.torque.engine.database.model.TypeMap
 
INTEGER_PP_METHOD - Static variable in class org.apache.torque.engine.database.model.TypeMap
 
INTEGER_VILLAGE_METHOD - Static variable in class org.apache.torque.engine.database.model.TypeMap
 
INTEGER_VILLAGE_OBJECT_METHOD - Static variable in class org.apache.torque.engine.database.model.TypeMap
 
is_new - Variable in class org.apache.torque.om.BaseObject
attribute to determine if this object has previously been saved.
isAbstract() - Method in class org.apache.torque.engine.database.model.Table
When a table is abstract, it marks the business object class that is generated as being abstract.
isAlias() - Method in class org.apache.torque.engine.database.model.Table
Is this table specified in the schema or is there just a foreign key reference to it.
isAutoIncrement - Variable in class org.apache.torque.engine.database.model.Column
 
isAutoIncrement() - Method in class org.apache.torque.engine.database.model.Column
Return auto increment/sequence string for the target database.
isBooleanChar() - Method in class org.apache.torque.engine.database.model.Column
Returns true if the column type is boolean in the java object and a String ("Y" or "N") in the db.
isBooleanChar(String) - Static method in class org.apache.torque.engine.database.model.TypeMap
Returns true if the type is boolean in the java object and a String "Y" or "N" in the db.
isBooleanInt() - Method in class org.apache.torque.engine.database.model.Column
Returns true if the column type is boolean in the java object and a numeric (1 or 0) in the db.
isBooleanInt(String) - Static method in class org.apache.torque.engine.database.model.TypeMap
Returns true if the type is boolean in the java object and a numeric (1 or 0) in the db.
isBuilt() - Method in interface org.apache.torque.map.MapBuilder
Tells us if the database mapping is built so that we can avoid re-building it repeatedly.
isCascade() - Method in class org.apache.torque.util.Criteria
Is cascade set?
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.IDBroker
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.SequenceIdGenerator
A flag to determine whether a Connection is required to generate an id.
isEmpty - Variable in class org.apache.torque.task.TorqueDataDumpTask.TableTool
 
isEnumeratedClasses - Variable in class org.apache.torque.engine.database.model.Column
 
isEnumeratedClasses() - Method in class org.apache.torque.engine.database.model.Column
Determine if possible classes have been enumerated in the xml file.
isExpired(DBConnection) - Method in class org.apache.torque.pool.ConnectionPool
Helper method which determines whether a connection has expired.
isForeignKey() - Method in class org.apache.torque.engine.database.model.Column
Utility method to determine if this column is a foreign key.
isForeignKey() - Method in class org.apache.torque.map.ColumnMap
Is this column a foreign key?
isHeavyIndexing() - Method in class org.apache.torque.engine.database.model.Database
Get the value of heavyIndexing.
isIgnoreCase() - Method in class org.apache.torque.util.Criteria
Is ignore case on or off?
isIgnoreCase() - Method in class org.apache.torque.util.Criteria.Criterion
Is ignore case on or off?
isInheritance - Variable in class org.apache.torque.engine.database.model.Column
 
isInheritance() - Method in class org.apache.torque.engine.database.model.Column
Determine if this column is a normal property or specifies a the classes that are represented in the table containing this column.
isInit - Static variable in class org.apache.torque.Torque
flag to set to true once this class has been initialized
isInit() - Static method in class org.apache.torque.Torque
Determine whether Torque has already been initialized.
isInitialized - Static variable in class org.apache.torque.engine.database.model.TypeMap
 
isInitialized() - Static method in class org.apache.torque.engine.database.model.TypeMap
Report whether this object has been initialized.
isLoggingConfigured() - Static method in class org.apache.torque.Torque
Determine whether log4j has already been configured.
isModified() - Method in class org.apache.torque.om.BaseObject
Returns whether the object has been modified.
isModified() - Method in interface org.apache.torque.om.Persistent
Returns whether the object has been modified, since it was last retrieved from storage.
isMultipleFK() - Method in class org.apache.torque.engine.database.model.Column
Determine if this column is a foreign key that refers to the same table as another foreign key column in this table.
isNew - Variable in class org.apache.torque.manager.AbstractBaseManager
 
isNew() - Method in class org.apache.torque.om.BaseObject
Returns whether the object has ever been saved.
isNew() - Method in interface org.apache.torque.om.Persistent
Returns whether the object has ever been saved.
isNotNull - Variable in class org.apache.torque.engine.database.model.Column
 
ISNOTNULL - Static variable in class org.apache.torque.util.Criteria
"IS NOT NULL" null comparison
ISNOTNULL - Static variable in class org.apache.torque.util.SqlEnum
 
isNotNull() - Method in class org.apache.torque.engine.database.model.Column
Return the isNotNull property of the column
isNotNull() - Method in class org.apache.torque.map.ColumnMap
Is null value allowed ?
ISNULL - Static variable in class org.apache.torque.util.Criteria
"IS NULL" null comparison
ISNULL - Static variable in class org.apache.torque.util.SqlEnum
 
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.IDBroker
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.SequenceIdGenerator
A flag to determine the timing of the id generation
isPrimaryKey - Variable in class org.apache.torque.engine.database.model.Column
 
isPrimaryKey() - Method in class org.apache.torque.engine.database.model.Column
Return true if the column is a primary key
isPrimaryKey() - Method in class org.apache.torque.map.ColumnMap
Is this column a primary key?
isPrimitive() - Method in class org.apache.torque.engine.database.model.Column
returns true, if the columns java native type is an boolean, byte, short, int, long, float, double, char
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.IDBroker
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.SequenceIdGenerator
A flag to determine the timing of the id generation
isSameJavaName() - Method in class org.apache.torque.task.TorqueJDBCTransformTask
 
isSingleRecord() - Method in class org.apache.torque.util.Criteria
Is single record?
isSkipSql() - Method in class org.apache.torque.engine.database.model.Table
Skip generating sql for this table (in the event it should not be created from scratch).
isString() - Method in class org.apache.torque.engine.database.model.Column
Utility method to see if the column is a string
isTextType(String) - Static method in class org.apache.torque.engine.database.model.TypeMap
Returns true if values for the type need to be quoted.
isUnique - Variable in class org.apache.torque.engine.database.model.Column
 
isUnique() - Method in class org.apache.torque.engine.database.model.Index
Returns the uniqueness of this index.
isUnique() - Method in class org.apache.torque.engine.database.model.Unique
Returns true.
isUnique() - Method in class org.apache.torque.engine.database.model.Column
Get the UNIQUE property
isUsePrimitive() - Method in class org.apache.torque.engine.database.model.Column
 
isUseTransaction() - Method in class org.apache.torque.util.Criteria
called by BasePeer to determine whether the sql command specified by this criteria must be wrapped in a transaction.
isValid(DBConnection) - Method in class org.apache.torque.pool.ConnectionPool
Determines if a connection is still both connected and non-expired.
isValidRdbms(Connection) - Method in class org.apache.torque.task.TorqueSQLExec
Verify if connected to the correct RDBMS

J

JAVA_GENERATOR - Static variable in class org.apache.torque.engine.database.model.NameFactory
The fully qualified class name of the Java name generator.
javaName - Variable in class org.apache.torque.engine.database.model.Column
 
javaName - Variable in class org.apache.torque.engine.database.model.Table
 
JavaNameGenerator - class org.apache.torque.engine.database.model.JavaNameGenerator.
A NameGenerator implementation for Java-esque names.
JavaNameGenerator() - Constructor for class org.apache.torque.engine.database.model.JavaNameGenerator
 
javanameMethod(String) - Method in class org.apache.torque.engine.database.model.JavaNameGenerator
Converts a database schema name to java object name.
javaNamingMethod - Variable in class org.apache.torque.engine.database.model.Column
 
javaNamingMethod - Variable in class org.apache.torque.engine.database.model.Table
 
javaType - Variable in class org.apache.torque.engine.database.model.Column
 
jcsCache - Variable in class org.apache.torque.manager.MethodResultCache
 
JDBCDriver - Variable in class org.apache.torque.adapter.DB
The JDBC driver.
jdbcToJavaNativeMap - Static variable in class org.apache.torque.engine.database.model.TypeMap
 
jdbcToJavaNativeObjectMap - Static variable in class org.apache.torque.engine.database.model.TypeMap
 
jdbcToJavaObjectMap - Static variable in class org.apache.torque.engine.database.model.TypeMap
 
jdbcToPPMethodMap - Static variable in class org.apache.torque.engine.database.model.TypeMap
 
jdbcToTorqueTypeMap - Static variable in class org.apache.torque.engine.database.model.TypeMap
 
jdbcToVillageMethodMap - Static variable in class org.apache.torque.engine.database.model.TypeMap
 
jdbcToVillageObjectMethodMap - Static variable in class org.apache.torque.engine.database.model.TypeMap
 
JOIN - Static variable in class org.apache.torque.util.Criteria
Comparison type.
JOIN - Static variable in class org.apache.torque.util.SqlEnum
 
joinL - Variable in class org.apache.torque.util.Criteria
 
joinR - Variable in class org.apache.torque.util.Criteria
 

K

key - Variable in class org.apache.torque.engine.database.model.Inheritance
 
key - Variable in class org.apache.torque.om.ObjectKey
The underlying key value.
key - Variable in class org.apache.torque.om.ComboKey
 
keyClassName - Static variable in class org.apache.torque.manager.MethodResultCache
 
keys - Variable in class org.apache.torque.manager.MethodResultCache
 
killThread - Variable in class org.apache.torque.util.LargeSelect
 

L

LargeSelect - class org.apache.torque.util.LargeSelect.
This class can be used to retrieve a large result set from a database query.
LargeSelect(Criteria, int) - Constructor for class org.apache.torque.util.LargeSelect
Creates a LargeSelect whose results are broken up into smaller chunks of approximately 1/100 the maximum number allowed in memory or 100, whichever is smaller.
LargeSelect(Criteria, int, int) - Constructor for class org.apache.torque.util.LargeSelect
Creates a LargeSelect whose results are returned a page at a time.
LargeSelect(String, Criteria, int) - Constructor for class org.apache.torque.util.LargeSelect
Creates a LargeSelect whose results are broken up into smaller chunks of approximately 1/100 the maximum number allowed in memory or 100, whichever is smaller.
LargeSelect(String, Criteria, int, int) - Constructor for class org.apache.torque.util.LargeSelect
Creates a LargeSelect whose results are returned a page at a time.
lastQueryTime - Variable in class org.apache.torque.oid.IDBroker
The last time this IDBroker queried the database for ids.
LESS_EQUAL - Static variable in class org.apache.torque.util.Criteria
Comparison type.
LESS_EQUAL - Static variable in class org.apache.torque.util.SqlEnum
 
LESS_THAN - Static variable in class org.apache.torque.util.Criteria
Comparison type.
LESS_THAN - Static variable in class org.apache.torque.util.SqlEnum
 
LIKE - Static variable in class org.apache.torque.util.Criteria
Comparison type.
LIKE - Static variable in class org.apache.torque.util.SqlEnum
 
limit - Variable in class org.apache.torque.util.Query
 
limit - Variable in class org.apache.torque.util.Criteria
To limit the number of rows to return.
LIMIT - Static variable in class org.apache.torque.util.Query
 
LIMIT_STYLE_MYSQL - Static variable in class org.apache.torque.adapter.DB
SELECT ...
LIMIT_STYLE_NONE - Static variable in class org.apache.torque.adapter.DB
Database does not support limiting result sets.
LIMIT_STYLE_ORACLE - Static variable in class org.apache.torque.adapter.DB
LIMIT_STYLE_POSTGRES - Static variable in class org.apache.torque.adapter.DB
SELECT ...
LIMIT_STYLE_SYBASE - Static variable in class org.apache.torque.adapter.DB
SET ROWCOUNT <offset> SELECT ...
line - Variable in class org.apache.torque.engine.sql.SQLScanner
 
line - Variable in class org.apache.torque.engine.sql.Token
 
link(ConnectionPool) - Method in class org.apache.torque.pool.DBConnection
Links this DBConnection with a ConnectionPool.
listenersMap - Variable in class org.apache.torque.manager.AbstractBaseManager
 
loadedFromXML() - Method in class org.apache.torque.engine.database.model.Table
A hook for the SAX XML parser to call when this table has been fully loaded from the XML, and all nested elements have been processed.
loader - Variable in class org.apache.torque.task.TorqueSQLExec
 
loadFromXML(Attributes) - Method in class org.apache.torque.engine.database.model.IdMethodParameter
Imports foreign key from an XML specification
loadFromXML(Attributes) - Method in class org.apache.torque.engine.database.model.Inheritance
Imports foreign key from an XML specification
loadFromXML(Attributes) - Method in class org.apache.torque.engine.database.model.Index
Imports index from an XML specification
loadFromXML(Attributes) - Method in class org.apache.torque.engine.database.model.Column
Imports a column from an XML specification
loadFromXML(Attributes) - Method in class org.apache.torque.engine.database.model.Database
Load the database object from an xml tag.
loadFromXML(Attributes) - Method in class org.apache.torque.engine.database.model.ForeignKey
Imports foreign key from an XML specification
loadFromXML(Attributes, String) - Method in class org.apache.torque.engine.database.model.Table
Load the table object from an xml tag.
loadIdBrokerModel() - Method in class org.apache.torque.task.TorqueSQLTask
Create the database model necessary for the IDBroker tables.
localColumns - Variable in class org.apache.torque.engine.database.model.ForeignKey
 
lockCache - Variable in class org.apache.torque.manager.AbstractBaseManager
 
lockCache - Variable in class org.apache.torque.manager.MethodResultCache
 
lockTable(Connection, String) - Method in class org.apache.torque.adapter.DB
Locks the specified table.
lockTable(Connection, String) - Method in class org.apache.torque.adapter.DBInformix
The method is used to lock a table.
lockTable(Connection, String) - Method in class org.apache.torque.adapter.DBPostgres
Locks the specified table.
lockTable(Connection, String) - Method in class org.apache.torque.adapter.DBCloudscape
Locks the specified table.
lockTable(Connection, String) - Method in class org.apache.torque.adapter.DBInstantDB
Locks the specified table.
lockTable(Connection, String) - Method in class org.apache.torque.adapter.DBOracle
Locks the specified table.
lockTable(Connection, String) - Method in class org.apache.torque.adapter.DBMM
Locks the specified table.
lockTable(Connection, String) - Method in class org.apache.torque.adapter.DBSapDB
Locks the specified table.
lockTable(Connection, String) - Method in class org.apache.torque.adapter.DBSybase
Locks the specified table.
lockTable(Connection, String) - Method in class org.apache.torque.adapter.DBDB2App
Locks the specified table.
lockTable(Connection, String) - Method in class org.apache.torque.adapter.DBInterbase
Locks the specified table.
lockTable(Connection, String) - Method in class org.apache.torque.adapter.DBHypersonicSQL
Locks the specified table.
lockTable(Connection, String) - Method in class org.apache.torque.adapter.DBWeblogic
Locks the specified table.
lockTable(Connection, String) - Method in class org.apache.torque.adapter.DBNone
Locks the specified table.
lockTable(Connection, String) - Method in class org.apache.torque.adapter.DBDB2Net
Locks the specified table.
lockTable(Connection, String) - Method in class org.apache.torque.adapter.DBOdbc
Locks the specified table.
log - Static variable in class org.apache.torque.manager.MethodResultCache
 
log - Variable in class org.apache.torque.om.BaseObject
Cache the logger to avoid looking it up every time its needed.
log() - Method in class org.apache.torque.om.BaseObject
gets a log4j Category based on class name.
LONGVARBINARY - Static variable in class org.apache.torque.engine.database.model.TypeMap
 
LONGVARBINARY_NATIVE_TYPE - Static variable in class org.apache.torque.engine.database.model.TypeMap
 
LONGVARBINARY_OBJECT_TYPE - Static variable in class org.apache.torque.engine.database.model.TypeMap
 
LONGVARBINARY_PP_METHOD - Static variable in class org.apache.torque.engine.database.model.TypeMap
 
LONGVARBINARY_VILLAGE_METHOD - Static variable in class org.apache.torque.engine.database.model.TypeMap
 
LONGVARCHAR - Static variable in class org.apache.torque.engine.database.model.TypeMap
 
LONGVARCHAR_NATIVE_TYPE - Static variable in class org.apache.torque.engine.database.model.TypeMap
 
LONGVARCHAR_OBJECT_TYPE - Static variable in class org.apache.torque.engine.database.model.TypeMap
 
LONGVARCHAR_PP_METHOD - Static variable in class org.apache.torque.engine.database.model.TypeMap
 
LONGVARCHAR_VILLAGE_METHOD - Static variable in class org.apache.torque.engine.database.model.TypeMap
 
looseEquals(Object) - Method in class org.apache.torque.om.ComboKey
keyObj is equal to this ComboKey if keyObj is a ComboKey, String, ObjectKey[], or String[] that contains the same information this key contains.

M

main(String[]) - Static method in class org.apache.torque.engine.database.transform.SQLToAppData
Just 4 testing.
makeList(List) - Static method in class org.apache.torque.engine.database.model.Column
Return a comma delimited string listing the specified columns.
makeObject() - Method in class org.apache.torque.manager.MethodCacheKey.Factory
Creates an instance that can be returned by the pool.
MANAGER_PREFIX - Static variable in class org.apache.torque.Torque
A prefix for Manager properties in TurbineResource.properties.
managers - Static variable in class org.apache.torque.Torque
A repository of Manager instances.
MapBuilder - interface org.apache.torque.map.MapBuilder.
MapBuilders are wrappers around DatabaseMaps.
mapBuilders - Static variable in class org.apache.torque.Torque
Store mapbuilder classnames for peers that have been referenced prior to Torque being initialized.
mapBuilders - Static variable in class org.apache.torque.util.BasePeer
Hashtable that contains the cached mapBuilders.
maxConnectionAttempts - Variable in class org.apache.torque.pool.ConnectionPool
The number of times to attempt to obtain a pooled connection before giving up.
maxConnections - Variable in class org.apache.torque.pool.ConnectionPool
The maximum number of database connections that can be created.
memoryLimit - Variable in class org.apache.torque.util.LargeSelect
 
method - Variable in class org.apache.torque.manager.MethodCacheKey
 
MethodCacheKey - class org.apache.torque.manager.MethodCacheKey.
 
MethodCacheKey.Factory - class org.apache.torque.manager.MethodCacheKey.Factory.
 
MethodCacheKey.Factory() - Constructor for class org.apache.torque.manager.MethodCacheKey.Factory
 
MethodCacheKey() - Constructor for class org.apache.torque.manager.MethodCacheKey
 
MethodCacheKey(Serializable[]) - Constructor for class org.apache.torque.manager.MethodCacheKey
 
MethodCacheKey(Serializable, String) - Constructor for class org.apache.torque.manager.MethodCacheKey
 
MethodCacheKey(Serializable, String, Serializable) - Constructor for class org.apache.torque.manager.MethodCacheKey
 
MethodCacheKey(Serializable, String, Serializable, Serializable) - Constructor for class org.apache.torque.manager.MethodCacheKey
 
MethodCacheKey(Serializable, String, Serializable, Serializable, Serializable) - Constructor for class org.apache.torque.manager.MethodCacheKey
 
MethodResultCache - class org.apache.torque.manager.MethodResultCache.
This class provides a cache for convenient storage of method results
MethodResultCache(GroupCacheAccess) - Constructor for class org.apache.torque.manager.MethodResultCache
 
miniblock - Variable in class org.apache.torque.util.LargeSelect
 
modified - Variable in class org.apache.torque.om.BaseObject
A flag that indicates an object has been modified since it was last retrieved from the persistence mechanism.
monitor - Static variable in class org.apache.torque.Torque
The connection pool monitor.
moreThanThree - Variable in class org.apache.torque.manager.MethodCacheKey
 
mrCache - Variable in class org.apache.torque.manager.AbstractBaseManager
method results cache

N

n - Variable in class org.apache.torque.manager.MethodCacheKey
 
name - Variable in class org.apache.torque.engine.database.model.IdMethodParameter
 
name - Variable in class org.apache.torque.engine.database.model.Column
 
name - Variable in class org.apache.torque.engine.database.model.AppData
Name of the database.
name - Variable in class org.apache.torque.engine.database.model.Database
 
name - Variable in class org.apache.torque.engine.database.model.ForeignKey
 
name - Variable in class org.apache.torque.engine.database.model.Table
 
name - Variable in class org.apache.torque.map.DatabaseMap
Name of the database.
name - Variable in class org.apache.torque.util.LargeSelect
 
NameFactory - class org.apache.torque.engine.database.model.NameFactory.
A name generation factory.
NameFactory() - Constructor for class org.apache.torque.engine.database.model.NameFactory
Creates a new instance with storage for algorithm implementations.
NameGenerator - interface org.apache.torque.engine.database.model.NameGenerator.
The generic interface to a name generation algorithm.
NATIVE - Static variable in interface org.apache.torque.adapter.IDMethod
Key generation via database-specific ID method (i.e.
needsTransactionInPostgres - Variable in class org.apache.torque.engine.database.model.Column
 
needsTransactionInPostgres - Variable in class org.apache.torque.engine.database.model.Table
 
nested - Variable in class org.apache.torque.TorqueRuntimeException
Holds the reference to the exception or error that caused this exception to be thrown.
NEW_ID - Static variable in class org.apache.torque.om.BaseObject
The constant denoting an unset numeric database identifier.
NEXT_ID - Static variable in class org.apache.torque.oid.IDBroker
Fully qualified Next_ID column name
next() - Method in class org.apache.torque.engine.database.transform.SQLToAppData
Move to the next token.
next() - Method in class org.apache.torque.task.TorqueDataDumpTask.TableTool
load the next record from the QueryDataSet
NO_ID_METHOD - Static variable in interface org.apache.torque.adapter.IDMethod
No RDBMS key generation (keys may be generated by the application).
nochangeMethod(String) - Method in class org.apache.torque.engine.database.model.JavaNameGenerator
Converts a database schema name to java object name.
NONE - Variable in class org.apache.torque.engine.database.model.ForeignKey
 
NORMAL - Static variable in class org.apache.torque.task.TorqueSQLExec.DelimiterType
 
normalizeFKey(String) - Method in class org.apache.torque.engine.database.model.ForeignKey
normalizes the input of onDelete, onUpdate attributes
NOT_EQUAL - Static variable in class org.apache.torque.util.Criteria
Comparison type.
NOT_EQUAL - Static variable in class org.apache.torque.util.SqlEnum
 
NOT_IMPLEMENTED - Static variable in class org.apache.torque.om.BaseObject
Shared portion of the error message thrown for methods which are not implemented.
NOT_IN - Static variable in class org.apache.torque.util.Criteria
Comparison type.
NOT_IN - Static variable in class org.apache.torque.util.SqlEnum
 
NOT_LIKE - Static variable in class org.apache.torque.util.Criteria
Comparison type.
NOT_LIKE - Static variable in class org.apache.torque.util.SqlEnum
 
notifyListeners(List, Persistent, Persistent) - Method in class org.apache.torque.manager.AbstractBaseManager
 
notNull - Variable in class org.apache.torque.map.ColumnMap
Is null value allowed ?
NumberKey - class org.apache.torque.om.NumberKey.
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.
NumberKey() - Constructor for class org.apache.torque.om.NumberKey
Creates a NumberKey whose internal representation will be set later, through a set method
NumberKey(BigDecimal) - Constructor for class org.apache.torque.om.NumberKey
Creates a NumberKey equivalent to key.
NumberKey(int) - Constructor for class org.apache.torque.om.NumberKey
Creates a NumberKey equivalent to key.
NumberKey(long) - Constructor for class org.apache.torque.om.NumberKey
Creates a NumberKey equivalent to key.
NumberKey(NumberKey) - Constructor for class org.apache.torque.om.NumberKey
Creates a NumberKey equivalent to key.
NumberKey(String) - Constructor for class org.apache.torque.om.NumberKey
Creates a NumberKey equivalent to key.
numer - Static variable in class org.apache.torque.engine.sql.SQLScanner
 
NUMERIC - Static variable in class org.apache.torque.engine.database.model.TypeMap
 
NUMERIC_NATIVE_TYPE - Static variable in class org.apache.torque.engine.database.model.TypeMap
 
NUMERIC_OBJECT_TYPE - Static variable in class org.apache.torque.engine.database.model.TypeMap
 
NUMERIC_PP_METHOD - Static variable in class org.apache.torque.engine.database.model.TypeMap
 
NUMERIC_VILLAGE_METHOD - Static variable in class org.apache.torque.engine.database.model.TypeMap
 

O

objectDataNeedsTrans() - Method in class org.apache.torque.adapter.DB
Deprecated. The hack involving an oid mapping for VARBINARY which necessitated use of this method for Postgres has been obviated by use of the Postgres bytea data type.
ObjectKey - class org.apache.torque.om.ObjectKey.
This class can be used to uniquely identify an object within an application.
ObjectKey() - Constructor for class org.apache.torque.om.ObjectKey
Initializes the internal key value to null.
offset - Variable in class org.apache.torque.util.Criteria
To start the results at a row other than the first one.
omClass - Variable in class org.apache.torque.manager.AbstractBaseManager
the class that the service will instantiate
onDelete - Variable in class org.apache.torque.engine.database.model.ForeignKey
 
ONE - Static variable in class org.apache.torque.oid.IDBroker
The value of ONE!
onError - Variable in class org.apache.torque.task.TorqueSQLExec
Action to perform if an error is found
onUpdate - Variable in class org.apache.torque.engine.database.model.ForeignKey
 
OR - Static variable in class org.apache.torque.util.Query
 
OR - Static variable in class org.apache.torque.util.Criteria.Criterion
 
or(Criteria.Criterion) - Method in class org.apache.torque.util.Criteria
This method adds a prepared Criterion object to the Criteria.
or(Criteria.Criterion) - Method in class org.apache.torque.util.Criteria.Criterion
Append an OR Criterion onto this Criterion's list.
or(String, boolean) - Method in class org.apache.torque.util.Criteria
Convenience method to add a boolean to Criteria.
or(String, boolean, SqlEnum) - Method in class org.apache.torque.util.Criteria
Convenience method to add a boolean to Criteria.
or(String, double) - Method in class org.apache.torque.util.Criteria
Convenience method to add a double to Criteria.
or(String, double, SqlEnum) - Method in class org.apache.torque.util.Criteria
Convenience method to add a double to Criteria.
or(String, float) - Method in class org.apache.torque.util.Criteria
Convenience method to add a float to Criteria.
or(String, float, SqlEnum) - Method in class org.apache.torque.util.Criteria
Convenience method to add a float to Criteria.
or(String, int) - Method in class org.apache.torque.util.Criteria
Convenience method to add an int to Criteria.
or(String, int, SqlEnum) - Method in class org.apache.torque.util.Criteria
Convenience method to add an int to Criteria.
or(String, long) - Method in class org.apache.torque.util.Criteria
Convenience method to add a long to Criteria.
or(String, long, SqlEnum) - Method in class org.apache.torque.util.Criteria
Convenience method to add a long to Criteria.
or(String, Object) - Method in class org.apache.torque.util.Criteria
This method adds a new criterion to the list of criterias.
or(String, Object, SqlEnum) - Method in class org.apache.torque.util.Criteria
This method adds a new criterion to the list of criterias.
or(String, String, Object) - Method in class org.apache.torque.util.Criteria
This method adds a new criterion to the list of criterias.
or(String, String, Object, SqlEnum) - Method in class org.apache.torque.util.Criteria
This method adds a new criterion to the list of criterias.
orDate(String, int, int, int) - Method in class org.apache.torque.util.Criteria
Convenience method to add a Date object specified by year, month, and date into the Criteria.
orDate(String, int, int, int, SqlEnum) - Method in class org.apache.torque.util.Criteria
Convenience method to add a Date object specified by year, month, and date into the Criteria.
ORDER_BY - Static variable in class org.apache.torque.util.Query
 
ORDER_BY - Static variable in class org.apache.torque.util.BasePeer
Constant criteria key to reference ORDER BY columns.
orderByColumns - Variable in class org.apache.torque.util.Query
 
orderByColumns - Variable in class org.apache.torque.util.Criteria
 
org.apache.torque - package org.apache.torque
 
org.apache.torque.adapter - package org.apache.torque.adapter
database adapters.
org.apache.torque.engine.database.model - package org.apache.torque.engine.database.model
 
org.apache.torque.engine.database.transform - package org.apache.torque.engine.database.transform
 
org.apache.torque.engine.sql - package org.apache.torque.engine.sql
 
org.apache.torque.manager - package org.apache.torque.manager
 
org.apache.torque.map - package org.apache.torque.map
 
org.apache.torque.oid - package org.apache.torque.oid
 
org.apache.torque.om - package org.apache.torque.om
 
org.apache.torque.pool - package org.apache.torque.pool
connection pool.
org.apache.torque.task - package org.apache.torque.task
tasks to generate code, sql, docs, ..
org.apache.torque.util - package org.apache.torque.util
 
orIn(String, int[]) - Method in class org.apache.torque.util.Criteria
Adds an 'IN' clause with the criteria supplied as an int array.
orIn(String, List) - Method in class org.apache.torque.util.Criteria
Adds an 'IN' clause with the criteria supplied as a List.
orIn(String, Object[]) - Method in class org.apache.torque.util.Criteria
Adds an 'IN' clause with the criteria supplied as an Object array.
orNotIn(String, int[]) - Method in class org.apache.torque.util.Criteria
Adds a 'NOT IN' clause with the criteria supplied as an int array.
orNotIn(String, List) - Method in class org.apache.torque.util.Criteria
Adds a 'NOT IN' clause with the criteria supplied as a List.
orNotIn(String, Object[]) - Method in class org.apache.torque.util.Criteria
Adds a 'NOT IN' clause with the criteria supplied as an Object array.
output - Variable in class org.apache.torque.task.TorqueSQLExec
Results Output file.
outputFile - Variable in class org.apache.torque.task.TorqueSQLTransformTask
XML descriptor output file.
outputFormat - Variable in class org.apache.torque.task.TorqueDocumentationTask
output format for the generated docs

P

parent - Variable in class org.apache.torque.engine.database.model.Inheritance
 
parentTable - Variable in class org.apache.torque.engine.database.model.IdMethodParameter
 
parentTable - Variable in class org.apache.torque.engine.database.model.Index
 
parentTable - Variable in class org.apache.torque.engine.database.model.Column
 
parentTable - Variable in class org.apache.torque.engine.database.model.ForeignKey
 
ParseException - exception org.apache.torque.engine.sql.ParseException.
An Exception for parsing SQLToAppData.
ParseException(String) - Constructor for class org.apache.torque.engine.sql.ParseException
 
parseFile(String) - Method in class org.apache.torque.engine.database.transform.XmlToData
 
parseFile(String) - Method in class org.apache.torque.engine.database.transform.XmlToAppData
Parses a XML input file and returns a newly created and populated AppData structure.
passivateObject(Object) - Method in class org.apache.torque.manager.MethodCacheKey.Factory
Uninitialize an instance to be returned to the pool.
password - Variable in class org.apache.torque.adapter.DBCloudscape
 
password - Variable in class org.apache.torque.adapter.DBHypersonicSQL
 
password - Variable in class org.apache.torque.pool.ConnectionPool
The password for this pool.
password - Variable in class org.apache.torque.task.TorqueSQLExec
Password
Persistent - interface org.apache.torque.om.Persistent.
This interface defines methods related to saving an object
pk - Variable in class org.apache.torque.map.ColumnMap
Is it a primary key?
pkg - Variable in class org.apache.torque.engine.database.model.Database
 
pkInfo - Variable in class org.apache.torque.map.TableMap
Object to store information that is needed if the for generating primary keys.
pool - Variable in class org.apache.torque.manager.MethodResultCache
 
pool - Variable in class org.apache.torque.pool.DBConnection
The ConnectionPool that this DBConnection came from.
pool - Variable in class org.apache.torque.pool.ConnectionPool
Pool containing database connections.
pooledConnection - Variable in class org.apache.torque.pool.DBConnection
The JDBC PooledConnection (if supported by the JDBC driver).
pools - Static variable in class org.apache.torque.Torque
The various connection pools this broker contains.
popConnection() - Method in class org.apache.torque.pool.ConnectionPool
Helper function that attempts to pop a connection off the pool's stack, handling the case where the popped connection has become invalid by creating a new connection.
position - Variable in class org.apache.torque.engine.database.model.Column
 
position - Variable in class org.apache.torque.util.LargeSelect
 
prefix - Variable in class org.apache.torque.map.TableMap
The prefix on the table name.
prepareStatement(String) - Method in class org.apache.torque.pool.DBConnection
Create a prepared Java SQL statement for this connection.
primaryKey - Variable in class org.apache.torque.om.BaseObject
The unique id for the object which can be used for persistence.
primaryKeyMethod - Variable in class org.apache.torque.map.TableMap
The primary key generation method.
primaryKeys - Variable in class org.apache.torque.task.TorqueJDBCTransformTask
Hashtable of columns that have primary keys.
print - Variable in class org.apache.torque.task.TorqueSQLExec
Print SQL results.
printList(List) - Method in class org.apache.torque.engine.database.model.Table
Returns the elements of the list, separated by commas.
printParseError(String, SAXParseException) - Method in class org.apache.torque.engine.database.transform.XmlToAppData
 
printPrimaryKey() - Method in class org.apache.torque.engine.database.model.Table
Returns all parts of the primary key, separated by commas.
printPrimaryKeys() - Method in class org.apache.torque.engine.database.model.Table
Deprecated. Use printPrimaryKey() instead.
printResults(PrintStream) - Method in class org.apache.torque.task.TorqueSQLExec
print any results in the statement.
printSize() - Method in class org.apache.torque.engine.database.model.Column
Return the size in brackets for use in an sql schema if the type is String.
printStackTrace() - Method in class org.apache.torque.TorqueRuntimeException
Prints the stack trace of this exception the the standar error stream.
printStackTrace(PrintStream) - Method in class org.apache.torque.TorqueRuntimeException
Prints the stack trace of this exception to the specified print stream.
printStackTrace(PrintWriter) - Method in class org.apache.torque.TorqueRuntimeException
Prints the stack trace of this exception to the specified print writer.
printStackTrace(PrintWriter, int) - Method in class org.apache.torque.TorqueRuntimeException
Prints the stack trace of this exception skiping a specified number of stack frames.
processInValue(Object, boolean, DB) - Static method in class org.apache.torque.util.SqlExpression
Creates an appropriate string for an 'IN' clause from an object.
put(Object, Object) - Method in class org.apache.torque.util.Criteria
Overrides Hashtable put, so that this object is returned instead of the value previously in the Criteria object.
put(Object, Serializable[]) - Method in class org.apache.torque.manager.MethodResultCache
 
put(Object, Serializable, String) - Method in class org.apache.torque.manager.MethodResultCache
 
put(Object, Serializable, String, Serializable) - Method in class org.apache.torque.manager.MethodResultCache
 
put(Object, Serializable, String, Serializable, Serializable) - Method in class org.apache.torque.manager.MethodResultCache
 
put(Object, Serializable, String, Serializable, Serializable, Serializable) - Method in class org.apache.torque.manager.MethodResultCache
 
putAll(Map) - Method in class org.apache.torque.util.Criteria
Copies all of the mappings from the specified Map to this Criteria These mappings will replace any mappings that this Criteria had for any of the keys currently in the specified Map.
putImpl(MethodCacheKey, Object) - Method in class org.apache.torque.manager.MethodResultCache
 
putInstanceImpl(Persistent) - Method in class org.apache.torque.manager.AbstractBaseManager
 

Q

qds - Variable in class org.apache.torque.task.TorqueDataDumpTask.TableTool
 
qds - Variable in class org.apache.torque.util.LargeSelect
 
QUALIFIER - Static variable in class org.apache.torque.adapter.DBCloudscape
 
QUANTITY - Static variable in class org.apache.torque.oid.IDBroker
Fully qualified Quantity column name
quantityStore - Variable in class org.apache.torque.oid.IDBroker
The quantity of ids to grab for each table.
query - Variable in class org.apache.torque.util.LargeSelect
 
Query - class org.apache.torque.util.Query.
Used to assemble an SQL SELECT query.
Query() - Constructor for class org.apache.torque.util.Query
 
quoteAndEscapeText(String) - Static method in class org.apache.torque.util.SqlExpression
Deprecated. Use quoteAndEscapeText(String rawText, DB db) instead. the quoteAndEscapeText rules depend on the database.
quoteAndEscapeText(String, DB) - Static method in class org.apache.torque.util.SqlExpression
Quotes and escapes raw text for placement in a SQL expression.

R

rdbms - Variable in class org.apache.torque.task.TorqueSQLExec
RDBMS Product needed for this SQL.
readChar() - Method in class org.apache.torque.engine.sql.SQLScanner
Reads the next character and increments the line and column counters.
readObject(ObjectInputStream) - Method in class org.apache.torque.manager.AbstractBaseManager
 
REAL - Static variable in class org.apache.torque.engine.database.model.TypeMap
 
REAL_NATIVE_OBJECT_TYPE - Static variable in class org.apache.torque.engine.database.model.TypeMap
 
REAL_NATIVE_TYPE - Static variable in class org.apache.torque.engine.database.model.TypeMap
 
REAL_OBJECT_TYPE - Static variable in class org.apache.torque.engine.database.model.TypeMap
 
REAL_PP_METHOD - Static variable in class org.apache.torque.engine.database.model.TypeMap
 
REAL_VILLAGE_METHOD - Static variable in class org.apache.torque.engine.database.model.TypeMap
 
REAL_VILLAGE_OBJECT_METHOD - Static variable in class org.apache.torque.engine.database.model.TypeMap
 
referrers - Variable in class org.apache.torque.engine.database.model.Column
 
referrers - Variable in class org.apache.torque.engine.database.model.Table
 
refreshedObject(Persistent) - Method in interface org.apache.torque.manager.CacheListener
 
region - Variable in class org.apache.torque.manager.AbstractBaseManager
 
registerAdapter(String, Class) - Static method in class org.apache.torque.adapter.DBFactory
Registers the Class of a database adapter at the factory.
registerAsListener() - Method in class org.apache.torque.manager.AbstractBaseManager
NoOp version.
registerMapBuilder(String) - Static method in class org.apache.torque.Torque
 
registerPool(String, String, String, String, String) - Static method in class org.apache.torque.Torque
This method registers a new pool using the given parameters.
registerPool(String, String, String, String, String, int, long, long, long) - Static method in class org.apache.torque.Torque
This thread-safe method registers a new pool using the given parameters.
relatedColumnName - Variable in class org.apache.torque.map.ColumnMap
Name of the column that this column is related to.
relatedTableName - Variable in class org.apache.torque.map.ColumnMap
Name of the table that this column is related to.
releaseConnection(DBConnection) - Static method in class org.apache.torque.Torque
Release a connection back to the database pool.
releaseConnection(DBConnection) - Method in class org.apache.torque.pool.ConnectionPool
This method returns a connection to the pool, and must be called by the requestor when finished with the connection.
remove() - Method in class org.apache.torque.task.TorqueDataDumpTask.TableTool
unsupported! always throws Exception
remove(Serializable[]) - Method in class org.apache.torque.manager.MethodResultCache
 
remove(Serializable, String) - Method in class org.apache.torque.manager.MethodResultCache
 
remove(Serializable, String, Serializable) - Method in class org.apache.torque.manager.MethodResultCache
 
remove(Serializable, String, Serializable, Serializable) - Method in class org.apache.torque.manager.MethodResultCache
 
remove(Serializable, String, Serializable, Serializable, Serializable) - Method in class org.apache.torque.manager.MethodResultCache
 
remove(String) - Method in class org.apache.torque.util.Criteria
Remove an object from the criteria.
removeAll(Serializable, String) - Method in class org.apache.torque.manager.MethodResultCache
 
removeConnectionEventListener(ConnectionEventListener) - Method in class org.apache.torque.pool.DBConnection
Remove an event listener.
removeImpl(MethodCacheKey) - Method in class org.apache.torque.manager.MethodResultCache
 
removeInstanceImpl(ObjectKey) - Method in class org.apache.torque.manager.AbstractBaseManager
 
removePrefix(String) - Method in class org.apache.torque.map.TableMap
Removes the PREFIX.
removeUnderScores(String) - Method in class org.apache.torque.map.TableMap
Removes the PREFIX, removes the underscores and makes first letter caps.
requiresIdTable() - Method in class org.apache.torque.engine.database.model.Database
Determines if this database will be using the IDMethod.ID_BROKER to create ids for torque OM objects.
requiresTransactionInPostgres() - Method in class org.apache.torque.engine.database.model.Column
Return true if the column requires a transaction in Postgres
requiresTransactionInPostgres() - Method in class org.apache.torque.engine.database.model.Table
Return true if the column requires a transaction in Postgres
resetModified() - Method in class org.apache.torque.om.BaseObject
Sets the modified state for the object to be false.
resolveEntity(String, String) - Method in class org.apache.torque.engine.database.transform.XmlToData
called by the XML parser
resolveEntity(String, String) - Method in class org.apache.torque.engine.database.transform.DTDResolver
called by the XML parser
resolveEntity(String, String) - Method in class org.apache.torque.engine.database.transform.XmlToAppData
EntityResolver implementation.
results - Variable in class org.apache.torque.util.LargeSelect
 
retrieveStoredOM(ObjectKey) - Method in class org.apache.torque.manager.AbstractBaseManager
 
retrieveStoredOMs(List) - Method in class org.apache.torque.manager.AbstractBaseManager
 
rollback() - Method in class org.apache.torque.pool.DBConnection
Roll back the connection.
rollBackTransaction(DBConnection) - Static method in class org.apache.torque.util.BasePeer
Roll back a transaction in databases that support transactions.
ROW - Static variable in class org.apache.torque.task.TorqueSQLExec.DelimiterType
 
rowcount - Variable in class org.apache.torque.util.Query
 
ROWCOUNT - Static variable in class org.apache.torque.util.Query
 
run() - Method in class org.apache.torque.Torque.Monitor
 
run() - Method in class org.apache.torque.oid.IDBroker
A background thread that tries to ensure that when someone asks for ids, that there are already some loaded and that the database is not accessed.
run() - Method in class org.apache.torque.util.LargeSelect
A background thread that retrieves the rows.
runStatements(Reader, PrintStream) - Method in class org.apache.torque.task.TorqueSQLExec
 
runTransaction(PrintStream) - Method in class org.apache.torque.task.TorqueSQLExec.Transaction
 

S

s - Variable in class org.apache.torque.util.SqlEnum
 
safetyMargin - Static variable in class org.apache.torque.oid.IDBroker
The safety Margin
sameJavaName - Variable in class org.apache.torque.task.TorqueJDBCTransformTask
 
save() - Method in class org.apache.torque.om.BaseObject
 
save() - Method in interface org.apache.torque.om.Persistent
Saves the object.
save(DBConnection) - Method in class org.apache.torque.om.BaseObject
 
save(DBConnection) - Method in interface org.apache.torque.om.Persistent
Stores the object in the database.
save(String) - Method in class org.apache.torque.om.BaseObject
 
save(String) - Method in interface org.apache.torque.om.Persistent
Stores the object in the database.
saxFactory - Static variable in class org.apache.torque.engine.database.transform.XmlToData
 
saxFactory - Static variable in class org.apache.torque.engine.database.transform.XmlToAppData
 
sbuf - Variable in class org.apache.torque.om.ComboKey
 
scan() - Method in class org.apache.torque.engine.sql.SQLScanner
Scan the input Reader and returns a list of tokens.
scanIdentifier() - Method in class org.apache.torque.engine.sql.SQLScanner
Scans an identifier.
SELECT - Static variable in class org.apache.torque.util.Query
 
selectColumns - Variable in class org.apache.torque.util.Query
 
selectColumns - Variable in class org.apache.torque.util.Criteria
 
selectModifiers - Variable in class org.apache.torque.util.Query
 
selectModifiers - Variable in class org.apache.torque.util.Criteria
 
selectRow(Connection, String) - Method in class org.apache.torque.oid.IDBroker
Helper method to select a row in the ID_TABLE.
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.
SEQUENCE - Static variable in interface org.apache.torque.adapter.IDMethod
Key generation via sequences.
SequenceIdGenerator - class org.apache.torque.oid.SequenceIdGenerator.
This generator works with databases that have an sql syntax for getting an id prior to inserting a row into the database.
SequenceIdGenerator(DB) - Constructor for class org.apache.torque.oid.SequenceIdGenerator
Creates an IdGenerator which will work with the specified database.
setAbstract(boolean) - Method in class org.apache.torque.engine.database.model.Table
When a table is abstract, it marks the business object class that is generated as being abstract.
setAlias(String) - Method in class org.apache.torque.engine.database.model.Table
Set whether this table specified in the schema or is there just a foreign key reference to it.
setAll() - Method in class org.apache.torque.util.Criteria
Adds "ALL " to the SQL statement.
setAncestor(String) - Method in class org.apache.torque.engine.database.model.Inheritance
Set the value of ancestor.
setAppData(AppData) - Method in class org.apache.torque.engine.database.model.Database
Set the parent of the database
setAutocommit(boolean) - Method in class org.apache.torque.task.TorqueSQLExec
Set the autocommit flag for the DB connection.
setAutoCommit(boolean) - Method in class org.apache.torque.pool.DBConnection
Set the autocommit flag for the connection.
setAutoIncrement(boolean) - Method in class org.apache.torque.engine.database.model.Column
Set the auto increment value.
setBaseClass(String) - Method in class org.apache.torque.engine.database.model.Database
Set the value of baseClass.
setBaseClass(String) - Method in class org.apache.torque.engine.database.model.Table
Set the value of baseClass.
setBasePathToDbProps(String) - Method in class org.apache.torque.task.TorqueDataModelTask
The path to properties file containing db idiosyncrasies is constructed by appending the "getTargetDatabase()/db.props to this path.
setBasePeer(String) - Method in class org.apache.torque.engine.database.model.Database
Set the value of basePeer.
setBasePeer(String) - Method in class org.apache.torque.engine.database.model.Table
Set the value of basePeer.
setBlobFlag() - Method in class org.apache.torque.util.Criteria
Deprecated. Use @see #setBlobFlag(boolean)
setBlobFlag(boolean) - Method in class org.apache.torque.util.Criteria
Peers can set this flag to notify BasePeer that the table(s) involved in the Criteria contain Blobs, so that the operation can be placed in a transaction if the db requires it.
setCascade(boolean) - Method in class org.apache.torque.util.Criteria
Set cascade.
setClassName(String) - Method in class org.apache.torque.engine.database.model.Inheritance
Set the value of className.
setClassName(String) - Method in class org.apache.torque.manager.AbstractBaseManager
Set the classname to instantiate for getInstance()
setClasspath(Path) - Method in class org.apache.torque.task.TorqueSQLExec
Set the classpath for loading the driver.
setClasspathRef(Reference) - Method in class org.apache.torque.task.TorqueSQLExec
Set the classpath for loading the driver using the classpath reference.
setColumn(Column) - Method in class org.apache.torque.engine.database.model.Inheritance
Set the value of parent.
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.oid.IDBroker
 
setContainsForeignPK(boolean) - Method in class org.apache.torque.engine.database.model.Table
Set whether this table contains a foreign PK
setDatabase(Database) - Method in class org.apache.torque.engine.database.model.Table
Set the parent of the table
setDatabase(String) - Method in class org.apache.torque.task.TorqueSQLTask
 
setDatabaseDriver(String) - Method in class org.apache.torque.task.TorqueDataDumpTask
Set the database driver name
setDatabaseName(String) - Method in class org.apache.torque.task.TorqueDataDumpTask
Set the database name
setDatabasePassword(String) - Method in class org.apache.torque.task.TorqueDataDumpTask
Set the database password
setDatabaseType(String) - Method in class org.apache.torque.engine.database.model.Database
 
setDatabaseUrl(String) - Method in class org.apache.torque.task.TorqueDataDumpTask
Set the database url
setDatabaseUser(String) - Method in class org.apache.torque.task.TorqueDataDumpTask
Set the database user
setDataDTD(String) - Method in class org.apache.torque.task.TorqueDataSQLTask
Sets the DataDTD attribute of the TorqueDataSQLTask object
setDataXmlFile(String) - Method in class org.apache.torque.task.TorqueDataSQLTask
Sets the DataXmlFile attribute of the TorqueDataSQLTask object
setDB(DB) - Method in class org.apache.torque.util.Criteria.Criterion
Set the value of db.
setDbDriver(String) - Method in class org.apache.torque.task.TorqueJDBCTransformTask
 
setDbName(String) - Method in class org.apache.torque.util.Criteria
Set the DatabaseMap name.
setDbPassword(String) - Method in class org.apache.torque.task.TorqueJDBCTransformTask
 
setDbSchema(String) - Method in class org.apache.torque.task.TorqueJDBCTransformTask
 
setDbUrl(String) - Method in class org.apache.torque.task.TorqueJDBCTransformTask
 
setDbUser(String) - Method in class org.apache.torque.task.TorqueJDBCTransformTask
 
setDefaultIdMethod(String) - Method in class org.apache.torque.engine.database.model.Database
Set the value of defaultIdMethod.
setDefaultJavaNamingMethod(String) - Method in class org.apache.torque.engine.database.model.Database
Set the value of defaultJavaNamingMethod.
setDefaultValue(String) - Method in class org.apache.torque.engine.database.model.Column
Set a string that will give this column a default value.
setDelimiter(String) - Method in class org.apache.torque.task.TorqueSQLExec
Set the statement delimiter.
setDelimiterType(TorqueSQLExec.DelimiterType) - Method in class org.apache.torque.task.TorqueSQLExec
Set the Delimiter type for this sql task.
setDescription(String) - Method in class org.apache.torque.engine.database.model.Column
Set the description for the Table
setDescription(String) - Method in class org.apache.torque.engine.database.model.Table
Set the description for the Table
setDistinct() - Method in class org.apache.torque.util.Criteria
Adds "DISTINCT " to the SQL statement.
setDriver(String) - Method in class org.apache.torque.task.TorqueSQLExec
Set the JDBC driver to be used.
setEncoding(String) - Method in class org.apache.torque.task.TorqueSQLExec
Set the file encoding to use on the sql files read in
setForeignKey(String) - Method in class org.apache.torque.map.ColumnMap
Set the foreign key for this column.
setForeignKey(String, String) - Method in class org.apache.torque.map.ColumnMap
Set the foreign key for this column.
setForeignTableName(String) - Method in class org.apache.torque.engine.database.model.ForeignKey
Set the foreignTableName of the FK
setHaving(String) - Method in class org.apache.torque.util.Query
Set the having clause.
setHeavyIndexing(boolean) - Method in class org.apache.torque.engine.database.model.Database
Set the value of heavyIndexing.
setIdMethod(String) - Method in class org.apache.torque.engine.database.model.Table
Set the method for generating pk's
setIdTable(String) - Method in class org.apache.torque.map.DatabaseMap
Set the ID table for this database.
setIdTable(TableMap) - Method in class org.apache.torque.map.DatabaseMap
Set the ID table for this database.
setIdTableXMLFile(String) - Method in class org.apache.torque.task.TorqueSQLTask
Set the path to the xml schema file that defines the id-table, used by the idbroker method.
setIgnoreCase(boolean) - Method in class org.apache.torque.util.Criteria
Sets ignore case.
setIgnoreCase(boolean) - Method in class org.apache.torque.util.Criteria.Criterion
Sets ignore case.
setIndexName(String) - Method in class org.apache.torque.engine.database.model.Index
Deprecated. Use setName(String name) instead.
setInput(Reader) - Method in class org.apache.torque.engine.sql.SQLScanner
Set the Input
setInputFile(String) - Method in class org.apache.torque.task.TorqueSQLTransformTask
Set the sql input file.
setInterface(String) - Method in class org.apache.torque.engine.database.model.Table
Interface which objects for this table will implement
setJavaName(String) - Method in class org.apache.torque.engine.database.model.Column
Set name to use in Java sources
setJavaName(String) - Method in class org.apache.torque.engine.database.model.Table
Set name to use in Java sources
setJDBCDriver(String) - Method in class org.apache.torque.adapter.DB
Sets the JDBC driver used by this adapter.
setKey(String) - Method in class org.apache.torque.engine.database.model.Inheritance
Set the value of key.
setLimit(int) - Method in class org.apache.torque.util.Criteria
Set limit.
setLimit(String) - Method in class org.apache.torque.util.Query
Set the limit number.
setLoginTimeout(int) - Method in class org.apache.torque.pool.ConnectionPool
Sets the maximum time in seconds that this data source will wait while attempting to connect to a database.
setLogWriter(PrintWriter) - Method in class org.apache.torque.pool.ConnectionPool
The log writer is a character output stream to which all logging and tracing messages for this data source object instance will be printed.
setModified(boolean) - Method in class org.apache.torque.om.BaseObject
Sets the modified state for the object.
setModified(boolean) - Method in interface org.apache.torque.om.Persistent
Sets the modified state for the object.
setName(String) - Method in class org.apache.torque.engine.database.model.IdMethodParameter
Set the parameter name
setName(String) - Method in class org.apache.torque.engine.database.model.Index
Set the name of this index.
setName(String) - Method in class org.apache.torque.engine.database.model.Column
Set the name of the column
setName(String) - Method in class org.apache.torque.engine.database.model.AppData
Set the name of the database.
setName(String) - Method in class org.apache.torque.engine.database.model.Database
Set the name of the Database
setName(String) - Method in class org.apache.torque.engine.database.model.ForeignKey
Sets the name attribute.
setName(String) - Method in class org.apache.torque.engine.database.model.Table
Set the name of the Table
setNew(boolean) - Method in class org.apache.torque.om.BaseObject
Setter for the isNew attribute.
setNew(boolean) - Method in interface org.apache.torque.om.Persistent
Setter for the isNew attribute.
setNotNull(boolean) - Method in class org.apache.torque.engine.database.model.Column
Set the isNotNull property of the column
setNotNull(boolean) - Method in class org.apache.torque.map.ColumnMap
Set if this column may be null.
SETNULL - Variable in class org.apache.torque.engine.database.model.ForeignKey
 
setOffset(int) - Method in class org.apache.torque.util.Criteria
Set offset.
setOMClass(Class) - Method in class org.apache.torque.manager.AbstractBaseManager
Set the Class that will be instantiated by this manager
setOnDelete(String) - Method in class org.apache.torque.engine.database.model.ForeignKey
sets the onDelete attribute
setOnerror(TorqueSQLExec.OnError) - Method in class org.apache.torque.task.TorqueSQLExec
Set the action to perform onerror
setOnUpdate(String) - Method in class org.apache.torque.engine.database.model.ForeignKey
sets the onUpdate attribute
setOutput(File) - Method in class org.apache.torque.task.TorqueSQLExec
Set the output file.
setOutputFile(String) - Method in class org.apache.torque.task.TorqueJDBCTransformTask
 
setOutputFile(String) - Method in class org.apache.torque.task.TorqueSQLTransformTask
Set the current output file.
setOutputFormat(String) - Method in class org.apache.torque.task.TorqueDocumentationTask
Set the current output format.
setPackage(String) - Method in class org.apache.torque.engine.database.model.Database
Set the value of package.
setPassword(String) - Method in class org.apache.torque.task.TorqueSQLExec
Set the password for the DB connection.
setPosition(int) - Method in class org.apache.torque.engine.database.model.Column
Get the location of this column within the table (one-based).
setPrefix(String) - Method in class org.apache.torque.map.TableMap
Set table prefix name.
setPrimaryKey(boolean) - Method in class org.apache.torque.engine.database.model.Column
Set if the column is a primary key or not
setPrimaryKey(boolean) - Method in class org.apache.torque.map.ColumnMap
Set if this column is a primary key or not.
setPrimaryKey(int) - Method in class org.apache.torque.om.BaseObject
Deprecated.  
setPrimaryKey(long) - Method in class org.apache.torque.om.BaseObject
Deprecated.  
setPrimaryKey(ObjectKey) - Method in class org.apache.torque.om.BaseObject
Sets the PrimaryKey for the object as an Object.
setPrimaryKey(ObjectKey) - Method in interface org.apache.torque.om.Persistent
Sets the PrimaryKey for the object.
setPrimaryKey(SimpleKey[]) - Method in class org.apache.torque.om.BaseObject
Sets the PrimaryKey for the object as an Object.
setPrimaryKey(String) - Method in class org.apache.torque.om.BaseObject
Sets the PrimaryKey for the object.
setPrimaryKey(String) - Method in interface org.apache.torque.om.Persistent
Sets the PrimaryKey for the object.
setPrimaryKeyMethod(String) - 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
setPrint(boolean) - Method in class org.apache.torque.task.TorqueSQLExec
Set the print flag.
setRdbms(String) - Method in class org.apache.torque.task.TorqueSQLExec
Set the rdbms required
setRegion(String) - Method in class org.apache.torque.manager.AbstractBaseManager
Set the value of region.
setRowcount(String) - Method in class org.apache.torque.util.Query
Set the rowcount number.
setSameJavaName(boolean) - Method in class org.apache.torque.task.TorqueJDBCTransformTask
 
setSequenceInfo(Object) - Method in class org.apache.torque.map.TableMap
Deprecated. Use setPrimaryKeyMethodInfo
setShowheaders(boolean) - Method in class org.apache.torque.task.TorqueSQLExec
Set the showheaders flag.
setSingleRecord(boolean) - Method in class org.apache.torque.util.Criteria
Set single record?
setSize(int) - Method in class org.apache.torque.map.ColumnMap
Set the size of this column.
setSize(String) - Method in class org.apache.torque.engine.database.model.Column
Set the size of the column
setSkipSql(boolean) - Method in class org.apache.torque.engine.database.model.Table
Set whether this table should have its creation sql generated.
setSqlDbMap(String) - Method in class org.apache.torque.task.TorqueDataModelTask
Set the sqldbmap.
setSqlDbMap(String) - Method in class org.apache.torque.task.TorqueSQLExec
Set the sqldbmap properties file.
setSqlFile(String) - Method in class org.apache.torque.engine.database.transform.SQLToAppData
Set the current input sql file
setSrc(File) - Method in class org.apache.torque.task.TorqueSQLExec.Transaction
 
setSrcDir(String) - Method in class org.apache.torque.task.TorqueSQLExec
Set the src directory for the sql files listed in the sqldbmap file.
setSuffix(String) - Method in class org.apache.torque.task.TorqueSQLTask
 
setTable(String) - Method in class org.apache.torque.util.Criteria.Criterion
Set the table name.
setTable(Table) - Method in class org.apache.torque.engine.database.model.IdMethodParameter
Set the parent Table of the id method
setTable(Table) - Method in class org.apache.torque.engine.database.model.Index
Set the parent Table of the index
setTable(Table) - Method in class org.apache.torque.engine.database.model.Column
Set the parent Table of the column
setTable(Table) - Method in class org.apache.torque.engine.database.model.ForeignKey
Set the parent Table of the foreign key
setTargetDatabase(String) - Method in class org.apache.torque.task.TorqueDataModelTask
Set the current target database.
setTargetDatabase(String) - Method in class org.apache.torque.task.TorqueDataSQLTask
Set the current target database.
setTargetPackage(String) - Method in class org.apache.torque.task.TorqueDataModelTask
Set the current target package.
setType(Object) - Method in class org.apache.torque.map.ColumnMap
Set the type of this column.
setType(String) - Method in class org.apache.torque.engine.database.model.Column
Returns the colunm type
setTypeFromString(String, String) - Method in class org.apache.torque.engine.database.model.Column
Set the column type from a string property (normally a string from an sql input file)
setUnique(boolean) - Method in class org.apache.torque.engine.database.model.Column
Set true if the column is UNIQUE
setupIdTable(DatabaseMap) - Static method in class org.apache.torque.Torque
Setup IDBroker's table information within given database map.
setUrl(String) - Method in class org.apache.torque.task.TorqueSQLExec
Set the DB connection url.
setUserid(String) - Method in class org.apache.torque.task.TorqueSQLExec
Set the user name for the DB connection.
setUseTransaction(boolean) - Method in class org.apache.torque.util.Criteria
Will force the sql represented by this criteria to be executed within a transaction.
setValue(BigDecimal) - Method in class org.apache.torque.om.NumberKey
Sets the underlying object
setValue(ComboKey) - Method in class org.apache.torque.om.ComboKey
 
setValue(DateKey) - Method in class org.apache.torque.om.DateKey
Sets the internal representation to the same object used by key.
setValue(NumberKey) - Method in class org.apache.torque.om.NumberKey
Sets the internal representation to the same object used by key.
setValue(SimpleKey[]) - Method in class org.apache.torque.om.ComboKey
Sets the internal representation using an array of SimpleKeys.
setValue(String) - Method in class org.apache.torque.engine.database.model.IdMethodParameter
Set the parameter value
setValue(String) - Method in class org.apache.torque.om.ObjectKey
Reset the underlying object using a String.
setValue(String) - Method in class org.apache.torque.om.StringKey
Sets the internal representation to a String
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.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.NumberKey
Sets the internal representation using a String representation of a number
setValue(String[]) - Method in class org.apache.torque.om.ComboKey
Sets the internal representation using a String array.
setValue(StringKey) - Method in class org.apache.torque.om.StringKey
Sets the internal representation to the same object used by key.
setVersion(String) - Method in class org.apache.torque.task.TorqueSQLExec
Set the version required
setXmlFile(String) - Method in class org.apache.torque.task.TorqueDataModelTask
Set the xml schema describing the application model.
showheaders - Variable in class org.apache.torque.task.TorqueSQLExec
Print header columns.
shutdown() - Static method in class org.apache.torque.Torque
Shuts down the service.
shutdown() - Method in class org.apache.torque.pool.ConnectionPool
Close all connections to the database,
SimpleKey - class org.apache.torque.om.SimpleKey.
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
 
SINGLE_QUOTE - Static variable in class org.apache.torque.util.SqlExpression
 
singleRecord - Variable in class org.apache.torque.util.Criteria
 
size - Variable in class org.apache.torque.engine.database.model.Column
 
size - Variable in class org.apache.torque.map.ColumnMap
Size of the column.
skipSql - Variable in class org.apache.torque.engine.database.model.Table
 
sleepPeriod - Static variable in class org.apache.torque.oid.IDBroker
Amount of time for the thread to sleep
SMALLINT - Static variable in class org.apache.torque.engine.database.model.TypeMap
 
SMALLINT_NATIVE_OBJECT_TYPE - Static variable in class org.apache.torque.engine.database.model.TypeMap
 
SMALLINT_NATIVE_TYPE - Static variable in class org.apache.torque.engine.database.model.TypeMap
 
SMALLINT_OBJECT_TYPE - Static variable in class org.apache.torque.engine.database.model.TypeMap
 
SMALLINT_PP_METHOD - Static variable in class org.apache.torque.engine.database.model.TypeMap
 
SMALLINT_VILLAGE_METHOD - Static variable in class org.apache.torque.engine.database.model.TypeMap
 
SMALLINT_VILLAGE_OBJECT_METHOD - Static variable in class org.apache.torque.engine.database.model.TypeMap
 
special - Static variable in class org.apache.torque.engine.sql.SQLScanner
 
splitStackTrace(String) - Method in class org.apache.torque.TorqueRuntimeException
Splits the stack trace given as a newline separated string into an array of stack frames.
sqlCommand - Variable in class org.apache.torque.task.TorqueSQLExec
SQL input command
sqldbmap - Variable in class org.apache.torque.task.TorqueDataModelTask
Name of the properties file that maps an SQL file to a particular database.
sqldbmap - Variable in class org.apache.torque.task.TorqueSQLExec
Properties file that maps an individual SQL file to a database.
SqlEnum - class org.apache.torque.util.SqlEnum.
A typesafe enum of SQL string fragments.
SqlEnum(String) - Constructor for class org.apache.torque.util.SqlEnum
 
SqlExpression - class org.apache.torque.util.SqlExpression.
This class represents a part of an SQL query found in the WHERE section.
SqlExpression() - Constructor for class org.apache.torque.util.SqlExpression
 
sqlFile - Variable in class org.apache.torque.engine.database.transform.SQLToAppData
 
SQLScanner - class org.apache.torque.engine.sql.SQLScanner.
A simple Scanner implementation that scans an sql file into usable tokens.
SQLScanner() - Constructor for class org.apache.torque.engine.sql.SQLScanner
Creates a new scanner with no Reader
SQLScanner(Reader) - Constructor for class org.apache.torque.engine.sql.SQLScanner
Creates a new scanner with an Input Reader
SQLToAppData - class org.apache.torque.engine.database.transform.SQLToAppData.
A Class that converts an sql input file to an AppData structure.
SQLToAppData(String) - Constructor for class org.apache.torque.engine.database.transform.SQLToAppData
Create a new class with an input Reader
SQLToAppData(String, String, String) - Constructor for class org.apache.torque.engine.database.transform.SQLToAppData
Create a new class with an input Reader.
srcDir - Variable in class org.apache.torque.task.TorqueSQLExec
Src directory for the files listed in the sqldbmap.
startElement(String, String, String, Attributes) - Method in class org.apache.torque.engine.database.transform.XmlToData
Handles opening elements of the xml file.
startElement(String, String, String, Attributes) - Method in class org.apache.torque.engine.database.transform.XmlToAppData
Handles opening elements of the xml file.
startQuery(int) - Method in class org.apache.torque.util.LargeSelect
Starts a new thread to retrieve the result set.
statement - Variable in class org.apache.torque.task.TorqueSQLExec
SQL statement
STD_SEPARATOR_CHAR - Static variable in interface org.apache.torque.engine.database.model.NameGenerator
The character used by most implementations as the separator between name elements.
stmt - Variable in class org.apache.torque.task.TorqueDataDumpTask
The statement used to acquire the data to dump.
stop() - Method in class org.apache.torque.oid.IDBroker
Shuts down the IDBroker thread.
stopQuery() - Method in class org.apache.torque.util.LargeSelect
Used to stop filling the memory with the current block of results, if it has been determined that they are no longer relevant.
storeIDs(String, boolean, Connection) - Method in class org.apache.torque.oid.IDBroker
Grabs more ids from the id_table and stores it in the ids Hashtable.
str - Variable in class org.apache.torque.engine.sql.Token
 
StringKey - class org.apache.torque.om.StringKey.
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
Creates an SimpleKey whose internal representation will be set later, through a set method
StringKey(String) - Constructor for class org.apache.torque.om.StringKey
Creates a StringKey whose internal representation is a String
StringKey(StringKey) - Constructor for class org.apache.torque.om.StringKey
Creates a StringKey that is equivalent to key.
suffix - Variable in class org.apache.torque.task.TorqueSQLTask
 
supportsNativeLimit() - Method in class org.apache.torque.adapter.DB
This method is used to chek whether the database natively supports limiting the size of the resultset.
supportsNativeLimit() - Method in class org.apache.torque.adapter.DBPostgres
This method is used to chek whether the database natively supports limiting the size of the resultset.
supportsNativeLimit() - Method in class org.apache.torque.adapter.DBOracle
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.DBMM
This method is used to chek whether the database natively supports limiting the size of the resultset.
supportsNativeLimit() - Method in class org.apache.torque.adapter.DBSybase
This method is used to chek whether the database natively supports limiting the size of the resultset.
supportsNativeLimit() - Method in class org.apache.torque.adapter.DBMSSQL
This method is used to chek whether the database natively supports limiting the size of the resultset.
supportsNativeOffset() - Method in class org.apache.torque.adapter.DB
This method is used to chek whether the database natively supports returning results starting at an offset position other than 0.
supportsNativeOffset() - Method in class org.apache.torque.adapter.DBPostgres
This method is used to chek whether the database natively supports returning results starting at an offset position other than 0.
supportsNativeOffset() - Method in class org.apache.torque.adapter.DBMM
This method is used to chek whether the database natively supports returning results starting at an offset position other than 0.

T

table - Variable in class org.apache.torque.engine.database.transform.XmlToData.DataRow
 
table - Variable in class org.apache.torque.map.ColumnMap
The TableMap for this column.
table - Variable in class org.apache.torque.util.Criteria.Criterion
Table name.
Table - class org.apache.torque.engine.database.model.Table.
Data about a table used in an application.
TABLE_NAME - Static variable in class org.apache.torque.oid.IDBroker
Fully qualified Table_Name column name
TABLE_NAME - Static variable in class org.apache.torque.util.BasePeer
Classes that implement this class should override this value.
Table() - Constructor for class org.apache.torque.engine.database.model.Table
Default Constructor
Table(String) - Constructor for class org.apache.torque.engine.database.model.Table
Constructs a table object with a name
tableList - Variable in class org.apache.torque.engine.database.model.Database
 
tableMap - Variable in class org.apache.torque.oid.IDBroker
The TableMap referencing the ID_TABLE for this IDBroker.
TableMap - class org.apache.torque.map.TableMap.
TableMap is used to model a table in a database.
TableMap() - Constructor for class org.apache.torque.map.TableMap
Required by proxy.
TableMap(String, DatabaseMap) - Constructor for class org.apache.torque.map.TableMap
Constructor.
TableMap(String, int, DatabaseMap) - Constructor for class org.apache.torque.map.TableMap
Constructor.
TableMap(String, String, DatabaseMap) - Constructor for class org.apache.torque.map.TableMap
Constructor.
tableName - Variable in class org.apache.torque.map.TableMap
The name of the table.
tableParent - Variable in class org.apache.torque.engine.database.model.Table
 
tables - Variable in class org.apache.torque.map.DatabaseMap
Name of the tables in the database.
tablesByJavaName - Variable in class org.apache.torque.engine.database.model.Database
 
tablesByName - Variable in class org.apache.torque.engine.database.model.Database
 
targetDatabase - Variable in class org.apache.torque.task.TorqueDataModelTask
The target database(s) we are generating SQL for.
targetDatabase - Variable in class org.apache.torque.task.TorqueDataSQLTask
The target database(s) we are generating SQL for.
targetPackage - Variable in class org.apache.torque.task.TorqueDataModelTask
Target Java package to place the generated files in.
TEXT_TYPES - Static variable in class org.apache.torque.engine.database.model.TypeMap
 
thread - Variable in class org.apache.torque.util.LargeSelect
 
throwMalformedColumnNameException(String, String) - Static method in class org.apache.torque.util.BasePeer
Throws a TorqueException with the malformed column name error message.
TIME - Static variable in class org.apache.torque.engine.database.model.TypeMap
 
TIME_NATIVE_TYPE - Static variable in class org.apache.torque.engine.database.model.TypeMap
 
TIME_OBJECT_TYPE - Static variable in class org.apache.torque.engine.database.model.TypeMap
 
TIME_PP_METHOD - Static variable in class org.apache.torque.engine.database.model.TypeMap
 
TIME_VILLAGE_METHOD - Static variable in class org.apache.torque.engine.database.model.TypeMap
 
timestamp - Variable in class org.apache.torque.pool.DBConnection
The time in milliseconds at which the connection was created.
TIMESTAMP - Static variable in class org.apache.torque.engine.database.model.TypeMap
 
TIMESTAMP_NATIVE_TYPE - Static variable in class org.apache.torque.engine.database.model.TypeMap
 
TIMESTAMP_OBJECT_TYPE - Static variable in class org.apache.torque.engine.database.model.TypeMap
 
TIMESTAMP_PP_METHOD - Static variable in class org.apache.torque.engine.database.model.TypeMap
 
TIMESTAMP_VILLAGE_METHOD - Static variable in class org.apache.torque.engine.database.model.TypeMap
 
TINYINT - Static variable in class org.apache.torque.engine.database.model.TypeMap
 
TINYINT_NATIVE_OBJECT_TYPE - Static variable in class org.apache.torque.engine.database.model.TypeMap
 
TINYINT_NATIVE_TYPE - Static variable in class org.apache.torque.engine.database.model.TypeMap
 
TINYINT_OBJECT_TYPE - Static variable in class org.apache.torque.engine.database.model.TypeMap
 
TINYINT_PP_METHOD - Static variable in class org.apache.torque.engine.database.model.TypeMap
 
TINYINT_VILLAGE_METHOD - Static variable in class org.apache.torque.engine.database.model.TypeMap
 
TINYINT_VILLAGE_OBJECT_METHOD - Static variable in class org.apache.torque.engine.database.model.TypeMap
 
tmpKeys - Variable in class org.apache.torque.om.ComboKey
 
token - Variable in class org.apache.torque.engine.database.transform.SQLToAppData
 
token - Variable in class org.apache.torque.engine.sql.SQLScanner
 
Token - class org.apache.torque.engine.sql.Token.
A single token returned by SQLScanner.
Token(String) - Constructor for class org.apache.torque.engine.sql.Token
Creates a new token without positioning.
Token(String, int, int) - Constructor for class org.apache.torque.engine.sql.Token
Creates a new token with positioning settings.
tokens - Variable in class org.apache.torque.engine.database.transform.SQLToAppData
 
tokens - Variable in class org.apache.torque.engine.sql.SQLScanner
 
Torque - class org.apache.torque.Torque.
The implementation of Torque.
Torque.Monitor - class org.apache.torque.Torque.Monitor.
This inner class monitors the PoolBrokerService.
Torque.Monitor() - Constructor for class org.apache.torque.Torque.Monitor
 
Torque() - Constructor for class org.apache.torque.Torque
 
TorqueDataDumpTask - class org.apache.torque.task.TorqueDataDumpTask.
An extended Texen task used for dumping data from db into XML
TorqueDataDumpTask.TableTool - class org.apache.torque.task.TorqueDataDumpTask.TableTool.
A nasty do-it-all tool class.
TorqueDataDumpTask.TableTool(TorqueDataDumpTask) - Constructor for class org.apache.torque.task.TorqueDataDumpTask.TableTool
Constructor for the TableTool object
TorqueDataDumpTask.TableTool(TorqueDataDumpTask, QueryDataSet) - Constructor for class org.apache.torque.task.TorqueDataDumpTask.TableTool
Constructor for the TableTool object
TorqueDataDumpTask() - Constructor for class org.apache.torque.task.TorqueDataDumpTask
 
TorqueDataModelTask - class org.apache.torque.task.TorqueDataModelTask.
A base torque task that uses either a single XML schema representing a data model, or a <fileset> of XML schemas.
TorqueDataModelTask() - Constructor for class org.apache.torque.task.TorqueDataModelTask
 
TorqueDataSQLTask - class org.apache.torque.task.TorqueDataSQLTask.
An extended Texen task used for generating SQL source from an XML data file
TorqueDataSQLTask() - Constructor for class org.apache.torque.task.TorqueDataSQLTask
 
TorqueDocumentationTask - class org.apache.torque.task.TorqueDocumentationTask.
An ant task for generating output by using Velocity
TorqueDocumentationTask() - Constructor for class org.apache.torque.task.TorqueDocumentationTask
 
TorqueException - exception org.apache.torque.TorqueException.
The base class of all exceptions thrown by Torque.
TorqueException() - Constructor for class org.apache.torque.TorqueException
Constructs a new TorqueException without specified detail message.
TorqueException(String) - Constructor for class org.apache.torque.TorqueException
Constructs a new TorqueException with specified detail message.
TorqueException(String, Throwable) - Constructor for class org.apache.torque.TorqueException
Constructs a new TorqueException with specified detail message and nested Throwable.
TorqueException(Throwable) - Constructor for class org.apache.torque.TorqueException
Constructs a new TorqueException with specified nested Throwable.
TorqueJDBCTransformTask - class org.apache.torque.task.TorqueJDBCTransformTask.
This class generates an XML schema of an existing database from JDBC metadata.
TorqueJDBCTransformTask() - Constructor for class org.apache.torque.task.TorqueJDBCTransformTask
 
TorqueRuntimeException - exception org.apache.torque.TorqueRuntimeException.
This is a base class of runtime exeptions thrown by Torque.
TorqueRuntimeException() - Constructor for class org.apache.torque.TorqueRuntimeException
Constructs a new TorqueRuntimeException without specified detail message.
TorqueRuntimeException(String) - Constructor for class org.apache.torque.TorqueRuntimeException
Constructs a new TorqueRuntimeException with specified detail message.
TorqueRuntimeException(String, Throwable) - Constructor for class org.apache.torque.TorqueRuntimeException
Constructs a new TorqueRuntimeException with specified detail message and nested Throwable.
TorqueRuntimeException(Throwable) - Constructor for class org.apache.torque.TorqueRuntimeException
Constructs a new TorqueRuntimeException with specified nested Throwable.
TorqueSQLExec - class org.apache.torque.task.TorqueSQLExec.
This task uses an SQL -> Database map in the form of a properties file to insert each SQL file listed into its designated database.
TorqueSQLExec.DelimiterType - class org.apache.torque.task.TorqueSQLExec.DelimiterType.
 
TorqueSQLExec.DelimiterType() - Constructor for class org.apache.torque.task.TorqueSQLExec.DelimiterType
 
TorqueSQLExec.OnError - class org.apache.torque.task.TorqueSQLExec.OnError.
Enumerated attribute with the values "continue", "stop" and "abort" for the onerror attribute.
TorqueSQLExec.OnError() - Constructor for class org.apache.torque.task.TorqueSQLExec.OnError
 
TorqueSQLExec.Transaction - class org.apache.torque.task.TorqueSQLExec.Transaction.
Contains the definition of a new transaction element.
TorqueSQLExec.Transaction(TorqueSQLExec) - Constructor for class org.apache.torque.task.TorqueSQLExec.Transaction
 
TorqueSQLExec() - Constructor for class org.apache.torque.task.TorqueSQLExec
 
TorqueSQLTask - class org.apache.torque.task.TorqueSQLTask.
An extended Texen task used for generating SQL source from an XML schema describing a database structure.
TorqueSQLTask() - Constructor for class org.apache.torque.task.TorqueSQLTask
 
TorqueSQLTransformTask - class org.apache.torque.task.TorqueSQLTransformTask.
An ant task for creating an xml schema from an sql schema
TorqueSQLTransformTask() - Constructor for class org.apache.torque.task.TorqueSQLTransformTask
 
torqueType - Variable in class org.apache.torque.engine.database.model.Column
type as defined in schema.xml
torqueTypeToJdbcTypeMap - Static variable in class org.apache.torque.engine.database.model.TypeMap
 
toString() - Method in class org.apache.torque.engine.database.model.IdMethodParameter
XML representation of the foreign key.
toString() - Method in class org.apache.torque.engine.database.model.Inheritance
String representation of the foreign key.
toString() - Method in class org.apache.torque.engine.database.model.Index
String representation of the index.
toString() - Method in class org.apache.torque.engine.database.model.Unique
String representation of the index.
toString() - Method in class org.apache.torque.engine.database.model.Column
String representation of the column.
toString() - Method in class org.apache.torque.engine.database.model.AppData
Creats a string representation of this AppData.
toString() - Method in class org.apache.torque.engine.database.model.Database
Creats a string representation of this Database.
toString() - Method in class org.apache.torque.engine.database.model.ForeignKey
String representation of the foreign key.
toString() - Method in class org.apache.torque.engine.database.model.Table
Returns a XML representation of this table.
toString() - Method in class org.apache.torque.engine.sql.Token
The same as getStr()
toString() - Method in class org.apache.torque.manager.MethodCacheKey
 
toString() - Method in class org.apache.torque.om.StringKey
 
toString() - Method in class org.apache.torque.om.DateKey
get a String representation
toString() - Method in class org.apache.torque.om.ComboKey
A String that may consist of one section or multiple sections separated by a colon.
toString() - Method in class org.apache.torque.om.NumberKey
Invokes the toString() method on the object.
toString() - Method in class org.apache.torque.util.Query
Outputs the query statement.
toString() - Method in class org.apache.torque.util.Criteria
Build a string representation of the Criteria.
toString() - Method in class org.apache.torque.util.Criteria.Criterion
Build a string representation of the Criterion.
toString() - Method in class org.apache.torque.util.SqlEnum
 
totalConnections - Variable in class org.apache.torque.pool.ConnectionPool
The current number of database connections that have been created.
totalSql - Variable in class org.apache.torque.task.TorqueSQLExec
 
toUpperCase(String) - Method in class org.apache.torque.adapter.DB
This method is used to ignore case.
toUpperCase(String) - Method in class org.apache.torque.adapter.DBInformix
This method is used to ignore case.
toUpperCase(String) - Method in class org.apache.torque.adapter.DBPostgres
This method is used to ignore case.
toUpperCase(String) - Method in class org.apache.torque.adapter.DBCloudscape
This method is used to ignore case.
toUpperCase(String) - Method in class org.apache.torque.adapter.DBInstantDB
This method is used to ignore case.
toUpperCase(String) - Method in class org.apache.torque.adapter.DBOracle
This method is used to ignore case.
toUpperCase(String) - Method in class org.apache.torque.adapter.DBMM
This method is used to ignore case.
toUpperCase(String) - Method in class org.apache.torque.adapter.DBSapDB
This method is used to ignore case.
toUpperCase(String) - Method in class org.apache.torque.adapter.DBSybase
This method is used to ignore case.
toUpperCase(String) - Method in class org.apache.torque.adapter.DBDB2App
This method is used to ignore case.
toUpperCase(String) - Method in class org.apache.torque.adapter.DBDB2400
This method is used to ignore case.
toUpperCase(String) - Method in class org.apache.torque.adapter.DBInterbase
This method is used to ignore case.
toUpperCase(String) - Method in class org.apache.torque.adapter.DBHypersonicSQL
This method is used to ignore case.
toUpperCase(String) - Method in class org.apache.torque.adapter.DBWeblogic
This method is used to ignore case.
toUpperCase(String) - Method in class org.apache.torque.adapter.DBNone
This method is used to ignore case.
toUpperCase(String) - Method in class org.apache.torque.adapter.DBDB2Net
This method is used to ignore case.
toUpperCase(String) - Method in class org.apache.torque.adapter.DBOdbc
This method is used to ignore case.
transactions - Variable in class org.apache.torque.task.TorqueSQLExec
SQL transactions to perform
transactionsSupported - Variable in class org.apache.torque.oid.IDBroker
Are transactions supported?
traverseCriterion(Criteria.Criterion, ArrayList) - Method in class org.apache.torque.util.Criteria.Criterion
method supporting recursion through all criterions to give us an ArrayList of them
tSqlCommand - Variable in class org.apache.torque.task.TorqueSQLExec.Transaction
 
tSrcFile - Variable in class org.apache.torque.task.TorqueSQLExec.Transaction
 
type - Variable in class org.apache.torque.map.ColumnMap
Type of the column.
TypeMap - class org.apache.torque.engine.database.model.TypeMap.
A class that maps JDBC types to their corresponding Java object types, and Java native types.
TypeMap() - Constructor for class org.apache.torque.engine.database.model.TypeMap
 

U

UCASE - Static variable in class org.apache.torque.adapter.DBDB2400
UpperCase/IgnoreCase sql function in DB2/400
underscoreMethod(String) - Method in class org.apache.torque.engine.database.model.JavaNameGenerator
Converts a database schema name to java object name.
unices - Variable in class org.apache.torque.engine.database.model.Table
 
Unique - class org.apache.torque.engine.database.model.Unique.
Information about unique columns of a table.
Unique() - Constructor for class org.apache.torque.engine.database.model.Unique
Creates a new instance.
unlink(ConnectionPool) - Method in class org.apache.torque.pool.DBConnection
Unlink the DBConnection from it's pool.
unlockTable(Connection, String) - Method in class org.apache.torque.adapter.DB
Unlocks the specified table.
unlockTable(Connection, String) - Method in class org.apache.torque.adapter.DBInformix
The method is used to unlock a table.
unlockTable(Connection, String) - Method in class org.apache.torque.adapter.DBPostgres
Unlocks the specified table.
unlockTable(Connection, String) - Method in class org.apache.torque.adapter.DBCloudscape
Unlocks the specified table.
unlockTable(Connection, String) - Method in class org.apache.torque.adapter.DBInstantDB
Unlocks the specified table.
unlockTable(Connection, String) - Method in class org.apache.torque.adapter.DBOracle
Unlocks the specified table.
unlockTable(Connection, String) - Method in class org.apache.torque.adapter.DBMM
Unlocks the specified table.
unlockTable(Connection, String) - Method in class org.apache.torque.adapter.DBSapDB
Unlocks the specified table.
unlockTable(Connection, String) - Method in class org.apache.torque.adapter.DBSybase
Unlocks the specified table.
unlockTable(Connection, String) - Method in class org.apache.torque.adapter.DBDB2App
Unlocks the specified table.
unlockTable(Connection, String) - Method in class org.apache.torque.adapter.DBInterbase
Unlocks the specified table.
unlockTable(Connection, String) - Method in class org.apache.torque.adapter.DBHypersonicSQL
Unlocks the specified table.
unlockTable(Connection, String) - Method in class org.apache.torque.adapter.DBWeblogic
Unlocks the specified table.
unlockTable(Connection, String) - Method in class org.apache.torque.adapter.DBNone
Unlocks the specified table.
unlockTable(Connection, String) - Method in class org.apache.torque.adapter.DBDB2Net
Unlocks the specified table.
unlockTable(Connection, String) - Method in class org.apache.torque.adapter.DBOdbc
Unlocks the specified table.
updateNextId(Connection, String, String) - Method in class org.apache.torque.oid.IDBroker
Helper method to update a row in the ID_TABLE.
updateQuantity(Connection, String, BigDecimal) - Method in class org.apache.torque.oid.IDBroker
Helper method to update a row in the ID_TABLE.
url - Variable in class org.apache.torque.adapter.DBCloudscape
 
url - Variable in class org.apache.torque.adapter.DBHypersonicSQL
 
url - Variable in class org.apache.torque.pool.DBConnection
The URL of this connection.
url - Variable in class org.apache.torque.pool.ConnectionPool
The url for this pool.
url - Variable in class org.apache.torque.task.TorqueSQLExec
DB url.
userId - Variable in class org.apache.torque.task.TorqueSQLExec
User name.
username - Variable in class org.apache.torque.adapter.DBCloudscape
 
username - Variable in class org.apache.torque.adapter.DBHypersonicSQL
 
username - Variable in class org.apache.torque.pool.DBConnection
The user name for this connection.
username - Variable in class org.apache.torque.pool.ConnectionPool
The user name for this pool.
useTransaction - Variable in class org.apache.torque.util.Criteria
 

V

val - Variable in class org.apache.torque.engine.database.transform.XmlToData.ColumnValue
 
VALID_ID_METHODS - Static variable in class org.apache.torque.map.TableMap
The list of valid ID generation methods.
validFields - Variable in class org.apache.torque.manager.AbstractBaseManager
 
value - Variable in class org.apache.torque.engine.database.model.IdMethodParameter
 
value - Variable in class org.apache.torque.util.Criteria.Criterion
Value of the CO.
VARBINARY - Static variable in class org.apache.torque.engine.database.model.TypeMap
 
VARBINARY_NATIVE_TYPE - Static variable in class org.apache.torque.engine.database.model.TypeMap
 
VARBINARY_OBJECT_TYPE - Static variable in class org.apache.torque.engine.database.model.TypeMap
 
VARBINARY_PP_METHOD - Static variable in class org.apache.torque.engine.database.model.TypeMap
 
VARBINARY_VILLAGE_METHOD - Static variable in class org.apache.torque.engine.database.model.TypeMap
 
VARCHAR - Static variable in class org.apache.torque.engine.database.model.TypeMap
 
VARCHAR_NATIVE_TYPE - Static variable in class org.apache.torque.engine.database.model.TypeMap
 
VARCHAR_OBJECT_TYPE - Static variable in class org.apache.torque.engine.database.model.TypeMap
 
VARCHAR_PP_METHOD - Static variable in class org.apache.torque.engine.database.model.TypeMap
 
VARCHAR_VILLAGE_METHOD - Static variable in class org.apache.torque.engine.database.model.TypeMap
 
version - Variable in class org.apache.torque.task.TorqueSQLExec
RDBMS Version needed for this SQL.

W

waitCount - Variable in class org.apache.torque.pool.ConnectionPool
Counter that keeps track of the number of threads that are in the wait state, waiting to aquire a connection.
warning(SAXParseException) - Method in class org.apache.torque.engine.database.transform.XmlToData
Warning callback.
warning(SAXParseException) - Method in class org.apache.torque.engine.database.transform.XmlToAppData
Warning callback.
WEB_SITE_DTD - Static variable in class org.apache.torque.engine.database.transform.DTDResolver
 
WHERE - Static variable in class org.apache.torque.util.Query
 
whereCriteria - Variable in class org.apache.torque.util.Query
 
white - Static variable in class org.apache.torque.engine.sql.SQLScanner
 
writeObject(ObjectOutputStream) - Method in class org.apache.torque.manager.AbstractBaseManager
 

X

xmlFile - Variable in class org.apache.torque.task.TorqueDataModelTask
XML that describes the database model, this is transformed into the application model object.
xmlSchema - Variable in class org.apache.torque.task.TorqueJDBCTransformTask
Name of XML database schema produced.
xmlSerializer - Variable in class org.apache.torque.task.TorqueJDBCTransformTask
 
XmlToAppData - class org.apache.torque.engine.database.transform.XmlToAppData.
A Class that is used to parse an input xml schema file and creates an AppData java structure.
XmlToAppData(String, String) - Constructor for class org.apache.torque.engine.database.transform.XmlToAppData
Creates a new instance for the specified database type.
XmlToData - class org.apache.torque.engine.database.transform.XmlToData.
A Class that is used to parse an input xml schema file and creates and AppData java structure.
XmlToData.ColumnValue - class org.apache.torque.engine.database.transform.XmlToData.ColumnValue.
 
XmlToData.ColumnValue(XmlToData, Column, String) - Constructor for class org.apache.torque.engine.database.transform.XmlToData.ColumnValue
 
XmlToData.DataRow - class org.apache.torque.engine.database.transform.XmlToData.DataRow.
 
XmlToData.DataRow(XmlToData, Table, List) - Constructor for class org.apache.torque.engine.database.transform.XmlToData.DataRow
 
XmlToData(Database, String) - Constructor for class org.apache.torque.engine.database.transform.XmlToData
Default custructor

< A B C D E F G H I J K L M N O P Q R S T U V W X

Copyright © 1999-2002 Apache Software Foundation. All Rights Reserved.