Serialisierte Form
-
Package org.apache.torque
-
Klasse org.apache.torque.ColumnImpl
class ColumnImpl extends Object implements Serializable- serialVersionUID:
- 1L
-
Serialisierte Felder
-
Ausnahmeklasse org.apache.torque.ConstraintViolationException
class ConstraintViolationException extends TorqueException implements Serializable- serialVersionUID:
- 1L
-
Ausnahmeklasse org.apache.torque.DeadlockException
class DeadlockException extends TorqueException implements Serializable- serialVersionUID:
- 1L
-
Ausnahmeklasse org.apache.torque.NoRowsException
class NoRowsException extends TorqueException implements Serializable- serialVersionUID:
- 199486766559455753L
-
Ausnahmeklasse org.apache.torque.OptimisticLockingFailedException
class OptimisticLockingFailedException extends TorqueException implements Serializable- serialVersionUID:
- 1L
-
Ausnahmeklasse org.apache.torque.TooManyRowsException
class TooManyRowsException extends TorqueException implements Serializable- serialVersionUID:
- -2875429969148699158L
-
Ausnahmeklasse org.apache.torque.TorqueException
class TorqueException extends SQLException implements Serializable- serialVersionUID:
- 3090544800848674368L
-
Ausnahmeklasse org.apache.torque.TorqueRuntimeException
class TorqueRuntimeException extends RuntimeException implements Serializable- serialVersionUID:
- -2997617341459640541L
-
-
Package org.apache.torque.adapter
-
Klasse org.apache.torque.adapter.AbstractAdapter
class AbstractAdapter extends Object implements Serializable- serialVersionUID:
- 1L
-
Serialisierte Felder
-
useGetGeneratedKeys
boolean useGetGeneratedKeys
A flag to determine whether Statement#getGeneratedKeys() should be used.
-
-
Klasse org.apache.torque.adapter.DerbyAdapter
class DerbyAdapter extends AbstractAdapter implements Serializable- serialVersionUID:
- 6265962681516206415L
-
Klasse org.apache.torque.adapter.HsqldbAdapter
class HsqldbAdapter extends AbstractAdapter implements Serializable- serialVersionUID:
- 8392727399615702372L
-
Klasse org.apache.torque.adapter.MssqlAdapter
class MssqlAdapter extends AbstractAdapter implements Serializable- serialVersionUID:
- -2924485528975497044L
-
Klasse org.apache.torque.adapter.MysqlAdapter
class MysqlAdapter extends AbstractAdapter implements Serializable- serialVersionUID:
- 7547291410802807010L
-
Klasse org.apache.torque.adapter.NoneAdapter
class NoneAdapter extends AbstractAdapter implements Serializable- serialVersionUID:
- -285009315025818009L
-
Klasse org.apache.torque.adapter.OracleAdapter
class OracleAdapter extends AbstractAdapter implements Serializable- serialVersionUID:
- 8966976210230241194L
-
Klasse org.apache.torque.adapter.PostgresAdapter
class PostgresAdapter extends AbstractAdapter implements Serializable- serialVersionUID:
- 7643304924262475272L
-
-
Package org.apache.torque.criteria
-
Klasse org.apache.torque.criteria.Criteria
class Criteria extends Object implements Serializable- serialVersionUID:
- -9001666575933085601L
-
Serialisierte Felder
-
aliases
Map<String,
Object> aliases Aliases for table names. The key of the map is the alias, and the value is either the real name of the table or a corresponding subselect. -
asColumns
Map<String,
Column> asColumns Maps column alias names to the real column names. The key of the map is the alias and the value is the real column. -
dbName
String dbName
The name of the database in which this criteria should execute. -
fetchSize
Integer fetchSize
The JDBC statement fetch size, if any. -
forUpdate
boolean forUpdate
Whether a FOR UPDATE clause should be added. -
fromElements
UniqueList<FromElement> fromElements
All "from" clauses. Empty if the from clause should be computed automatically. -
groupByColumns
UniqueColumnList groupByColumns
The names of columns to add to a groupBy clause -
having
Criterion having
The having clause in a query. -
ignoreCase
boolean ignoreCase
Whether to ignore the case in all String conditions in the criteria. -
joins
List<Join> joins
Contains all joins. -
limit
int limit
To limit the number of rows to return.-1
means return all rows. -
offset
long offset
To start the results at a row other than the first one. -
orderByColumns
UniqueList<OrderBy> orderByColumns
All "order by" clauses, containing the order ASC or DESC. -
selectColumns
UniqueColumnList selectColumns
List of all columns to select. -
selectModifiers
UniqueList<String> selectModifiers
List of modifiers like DISTICT. -
setCriteriaParts
List<Criteria> setCriteriaParts
The parts of a Criteria which consists of several criteria connected by a set operation. Set operations are e.g. UNION, INTERSECT, EXCEPT... -
setOperator
SqlEnum setOperator
The operator used to connect the crizeria parts for set operations. -
singleRecord
boolean singleRecord
Whether the result must be a single record. -
topLevelCriterion
Criterion topLevelCriterion
The criterion objects, keyed by the column.
-
-
Klasse org.apache.torque.criteria.Criterion
class Criterion extends Object implements Serializable- serialVersionUID:
- 7157097965404611710L
-
Serialisierte Felder
-
comparison
SqlEnum comparison
Comparison operator. Can only be null if sql is not null. -
conjunction
String conjunction
The operator (AND, OR...) how the composite criterions are connected. -
ignoreCase
boolean ignoreCase
Flag to ignore case in comparison -
lValue
Object lValue
Left-hand-side value of the comparison, may be null. If this object implements the Column interface, it is interpreted as a value computed by the database, otherwise as verbatim value. -
parts
List<Criterion> parts
The criterion objects which form a composite criterion. Either this list is not null and represents this criterion or the column, value, comparison and ignoreStringCase columns are not null and represent this criterion. -
preparedStatementReplacements
Object[] preparedStatementReplacements
Replacements for the placeholders in the verbatim SQL. Is only used if sql is not null. -
rValue
Object rValue
Right-hand-side value of the comparison, may be null. If this object implements the Column interface, it is interpreted as a value computed by the database, otherwise as verbatim value. -
sql
String sql
A verbatim SQL for this Criterion.
-
-
Klasse org.apache.torque.criteria.FromElement
class FromElement extends Object implements Serializable- serialVersionUID:
- 1L
-
Serialisierte Felder
-
fromExpression
String fromExpression
The fromExpression, e.g. a simple table name or a table name or a subquery with an appended alias name. -
joinCondition
String joinCondition
The join condition, e.g. table_a.id = table_b.a_id -
joinType
JoinType joinType
The type of the join, e.g. JoinType.LEFT_JOIN -
preparedStatementReplacements
List<Object> preparedStatementReplacements
The replacements which might occur in the fromExpression.
-
-
Klasse org.apache.torque.criteria.Join
class Join extends Object implements Serializable- serialVersionUID:
- 1L
-
Serialisierte Felder
-
joinCondition
Criterion joinCondition
The join condition, not null. -
joinType
JoinType joinType
The type of the join (LEFT JOIN, ...), or null for an implicit inner join. -
leftTable
PreparedStatementPart leftTable
The left table of the join, or null to be determined from join condition. -
rightTable
PreparedStatementPart rightTable
The right table of the join, or null to be determined from join condition.
-
-
Klasse org.apache.torque.criteria.PreparedStatementPartImpl
class PreparedStatementPartImpl extends Object implements Serializable- serialVersionUID:
- 1L
-
Serialisierte Felder
-
preparedStatementReplacements
List<Object> preparedStatementReplacements
The replacements for the prepared statement, not null. -
sql
StringBuilder sql
The SQL for the part, not null.
-
-
Klasse org.apache.torque.criteria.SqlEnum
class SqlEnum extends Object implements Serializable- serialVersionUID:
- 5963149836513364800L
-
Serialisierte Felder
-
numberOfCompareOperands
int numberOfCompareOperands
The number of operands, if the SqlEnum is a comparison operator. -1 if the SqlEnum is no comparison operator. A Set operand (e.g. in IN) is counted as one operand. -
s
String s
The SQL expression.
-
-
-
Package org.apache.torque.manager
-
Klasse org.apache.torque.manager.AbstractBaseManager
class AbstractBaseManager extends Object implements Serializable- serialVersionUID:
- 509798299473481305L
-
Serialisierungsmethoden
-
readObject
Helper methods for theSerializable
interface.- Parameter:
in
- The stream to read aSerializable
from.- Löst aus:
IOException
- if input stream cannot be readClassNotFoundException
- if the class is not found
-
writeObject
helper methods for the Serializable interface- Parameter:
out
- the output stream- Löst aus:
IOException
- if output stream not found
-
-
Serialisierte Felder
-
className
String className
The name of the OM class that the service will instantiate. -
isNew
boolean isNew
Whether the cache manager has already registered its cache Listeners. -
listenersMap
ConcurrentMap<Column,
CopyOnWriteArrayList<CacheListener<?>>> listenersMap The listeners for this manager. -
omClass
Class<T extends Persistent> omClass
The OM class that the service will instantiate. -
region
String region
The cache region used for JCS. -
validFields
CopyOnWriteArraySet<Column> validFields
The fields which are valid fields of interest for a listener.
-
-
Klasse org.apache.torque.manager.MethodCacheKey
class MethodCacheKey extends Object implements Serializable- serialVersionUID:
- -1831486431185021200L
-
Serialisierte Felder
-
args
Serializable[] args
Optional arguments for the method. -
groupKey
String groupKey
The cache group key. -
instanceOrClass
Serializable instanceOrClass
The Object on which the method is invoked. If the method is static, a String representing the class name is used. -
method
String method
The method name.
-
-
-
Package org.apache.torque.map
-
Klasse org.apache.torque.map.ColumnMap
class ColumnMap extends OptionSupport implements Serializable- serialVersionUID:
- 1L
-
Serialisierte Felder
-
autoIncrement
boolean autoIncrement
Is this column an autoincrement column ? -
columnName
String columnName
The name of the column. -
defaultValue
String defaultValue
String representing the default value defined for field. Note that default is a keyword, so defaultValue is used to store the value for the get/setDefault() methods. -
description
String description
Column description info (if any). -
inheritance
String inheritance
Inheritance type used. -
inheritanceMaps
Map<String,
InheritanceMap> inheritanceMaps Associated of inheritance maps. -
isProtected
boolean isProtected
is Column protected ? -
javaName
String javaName
The Java Name of this column as defined in XML or created by the generator code. -
javaNamingMethod
String javaNamingMethod
Java naming method the generator used. -
javaType
String javaType
Java type string specified in XML. -
notNull
boolean notNull
Is null value allowed ? -
pk
boolean pk
Is it a primary key? -
position
int position
Column position in the table (one based). -
scale
int scale
Scale of the column -
size
int size
Size of the column. -
table
TableMap table
The TableMap for this column. -
torqueType
String torqueType
The name of the Torque Type of the column. -
type
Object type
A sample object having the same java Type as the column. -
useInheritance
boolean useInheritance
Does column uses Inheritance subclasses? Note that this is tied to the TableMap useInheritance thru the set function. -
usePrimitive
boolean usePrimitive
Should object type be converted to primitive.
-
-
Klasse org.apache.torque.map.DatabaseMap
class DatabaseMap extends OptionSupport implements Serializable- serialVersionUID:
- 1L
-
Serialisierte Felder
-
idTable
TableMap idTable
The id Table. -
isInitialized
boolean isInitialized
Flag indicating that all tables have been loaded via initialize() -
name
String name
The name of the database where this databaseMap belongs to, for internal purposes only. -
tables
Map<String,
TableMap> tables Name of the tables in the database.
-
-
Klasse org.apache.torque.map.ForeignKeyMap
class ForeignKeyMap extends Object implements Serializable- serialVersionUID:
- 1L
-
Serialisierte Felder
-
columns
List<ForeignKeyMap.ColumnPair> columns
The column pairs for the foreign key, not null, not empty, -
foreignTable
TableMap foreignTable
The table which is referenced by the foreign key, can be null if the foreign table is not yet in the database map. -
foreignTableName
String foreignTableName
The name of the foreign table, in the case that the foreign table map builder was not yet built when this foreign key was initialized. -
table
TableMap table
The table to which the foreign key belongs, not null.
-
-
Klasse org.apache.torque.map.ForeignKeyMap.ColumnPair
class ColumnPair extends Object implements Serializable- serialVersionUID:
- 1L
-
Serialisierte Felder
-
foreign
ColumnMap foreign
The foreign column of the pair, can be null if the foreign table was not yet in the database. -
foreignKeyMap
ForeignKeyMap foreignKeyMap
The foreign key map this ColumnPair belongs to. -
foreignName
String foreignName
The name of foreign column of the pair, or null if the foreign column is already filled. -
local
ColumnMap local
The foreign column of the pair, not null.
-
-
Klasse org.apache.torque.map.InheritanceMap
class InheritanceMap extends Object implements Serializable- serialVersionUID:
- 1L
-
Serialisierte Felder
-
ancestor
String ancestor
The name of class which class name extends. Retrieved via getExtends(). -
className
String className
The name of the class which impliments this inheritance mode. -
column
ColumnMap column
The column this info is related to. -
key
String key
The value in the related column that is associated with this information.
-
-
Klasse org.apache.torque.map.OptionSupport
class OptionSupport extends Object implements Serializable- serialVersionUID:
- 1L
-
Klasse org.apache.torque.map.TableMap
class TableMap extends OptionSupport implements Serializable- serialVersionUID:
- 1L
-
Serialisierte Felder
-
columns
Map<String,
ColumnMap> columns The columns in the table. XML Order is preserved. -
dbMap
DatabaseMap dbMap
The database this table belongs to. -
description
String description
The table description info. -
foreignKeys
List<ForeignKeyMap> foreignKeys
The foreign keys in the table. XML Order is preserved. -
javaName
String javaName
The JavaName of the table as defined in XML -
managerClass
Class<?> managerClass
The associated cache manager class. -
omClass
Class<?> omClass
The OM Root Class for this table. -
peerClass
Class<?> peerClass
The Peer Class for this table. -
pkInfoMap
Map<IDMethod,
Object> pkInfoMap Stores information that is needed for generating primary keys. The information is keyed by the idMethodType because it might be different for different id methods. -
pkInfoOverride
Object pkInfoOverride
Overrides the information stored in the pkInfoMap for all id methods. -
prefix
String prefix
The prefix on the table name. -
primaryKeyMethod
IDMethod primaryKeyMethod
The primary key generation method. -
schemaName
String schemaName
The name of the schema to which this table belongs, or null for the default schema. -
tableName
String tableName
The name of the table. -
useInheritance
boolean useInheritance
Whether any column uses Inheritance. -
useManager
boolean useManager
Whether cache managers are used.
-
-
-
Package org.apache.torque.om
-
Klasse org.apache.torque.om.BooleanKey
- serialVersionUID:
- 5109588772086713341L
-
Klasse org.apache.torque.om.ComboKey
- serialVersionUID:
- -264927663211141894L
-
Klasse org.apache.torque.om.DateKey
- serialVersionUID:
- 3102583536685348517L
-
Klasse org.apache.torque.om.NumberKey
- serialVersionUID:
- -5566819786708264162L
-
Klasse org.apache.torque.om.ObjectKey
class ObjectKey extends Object implements Serializable- serialVersionUID:
- 1L
-
Serialisierte Felder
-
key
T key
The underlying key value.
-
-
Klasse org.apache.torque.om.SimpleKey
- serialVersionUID:
- 1L
-
Klasse org.apache.torque.om.StringKey
- serialVersionUID:
- 5109588772086713341L
-
-
Package org.apache.torque.om.mapper
-
Klasse org.apache.torque.om.mapper.BigDecimalMapper
class BigDecimalMapper extends Object implements Serializable- serialVersionUID:
- 1L
-
Serialisierte Felder
-
internalOffset
int internalOffset
The internal offset for the mapper.
-
-
Klasse org.apache.torque.om.mapper.CompositeMapper
class CompositeMapper extends Object implements Serializable- serialVersionUID:
- 1L
-
Serialisierte Felder
-
mapperList
List<org.apache.torque.om.mapper.CompositeMapper.MapperWithOffset> mapperList
All mappers which should be appliead to a result set, combined with their individual offset.
-
-
Klasse org.apache.torque.om.mapper.DateMapper
class DateMapper extends Object implements Serializable- serialVersionUID:
- 1L
-
Serialisierte Felder
-
internalOffset
int internalOffset
The internal offset for the mapper.
-
-
Klasse org.apache.torque.om.mapper.IntegerMapper
class IntegerMapper extends Object implements Serializable- serialVersionUID:
- 1L
-
Serialisierte Felder
-
internalOffset
int internalOffset
The internal offset for the mapper.
-
-
Klasse org.apache.torque.om.mapper.LongMapper
class LongMapper extends Object implements Serializable- serialVersionUID:
- 1L
-
Serialisierte Felder
-
internalOffset
int internalOffset
The internal offset for the mapper.
-
-
Klasse org.apache.torque.om.mapper.ObjectListMapper
class ObjectListMapper extends Object implements Serializable- serialVersionUID:
- 1L
-
Klasse org.apache.torque.om.mapper.StringMapper
class StringMapper extends Object implements Serializable- serialVersionUID:
- 1L
-
Serialisierte Felder
-
internalOffset
int internalOffset
The internal offset for the mapper.
-
-
-
Package org.apache.torque.sql
-
Klasse org.apache.torque.sql.OrderBy
class OrderBy extends Object implements Serializable- serialVersionUID:
- 1L
-
-
Package org.apache.torque.util
-
Klasse org.apache.torque.util.AbstractPeerImpl
- serialVersionUID:
- 1236684692145864194L
-
Klasse org.apache.torque.util.BasePeerImpl
class BasePeerImpl extends Object implements Serializable- serialVersionUID:
- -7702123730779032381L
-
Serialisierte Felder
-
databaseName
String databaseName
An injected instance of the database name -
recordMapper
RecordMapper<T> recordMapper
An injected instance of a record mapper to map JDBC result sets to objects -
tableMap
TableMap tableMap
An injected instance of a table map
-
-
Klasse org.apache.torque.util.LargeSelect
class LargeSelect extends Object implements Serializable- serialVersionUID:
- -1166842932571491942L
-
Serialisierungsmethoden
-
readObject
De-serialize this LargeSelect instance.- Parameter:
inputStream
- The serialization input stream.- Löst aus:
IOException
- if input stream cannot be readClassNotFoundException
- if class not found
-
-
Serialisierte Felder
-
criteria
Criteria criteria
The criteria used for the query. -
currentlyFilledTo
int currentlyFilledTo
How much of the memory block is currently occupied with result data. -
memoryLimit
int memoryLimit
The maximum number of records to maintain in memory. -
memoryPageLimit
int memoryPageLimit
The maximum number of pages of data to be retained in memory. UsesetMemoryPageLimit()
to provide your own value. -
pageProgressTextPattern
String pageProgressTextPattern
The MessageFormat pattern to format a page progress. The default{0} of {1,choice,0#> |1#}{2}
formats as2 of 3
. if the total number of records or pages is unknown, the pattern formats as2 of > 3
. You can usesetPageProgressTextPattern()
to change this to whatever value you like. -
pageSize
int pageSize
The number of records that a page consists of. -
params
Map<String,
String> params A place to store search parameters that relate to this query. -
peer
BasePeerImpl<T> peer
The BasePeerImpl object that handles database selects. -
position
int position
The cursor position in the result set. -
recordProgressTextPattern
String recordProgressTextPattern
The MessageFormat pattern to format a record progress. The default{0} - {1} of {2,choice,0#> |1#}{3}
formats as1 - 25 of 100
. if the total number of records or pages is unknown, the pattern formats as1 - 25 of > 100
. You can usesetRecordProgressTextPattern()
to change this to whatever value you like. -
totalPages
int totalPages
The total number of pages known to exist. -
totalRecords
int totalRecords
The total number of records known to exist.
-
-
Klasse org.apache.torque.util.ListOrderedMapCI
- serialVersionUID:
- -4349246328751938554L
-
Klasse org.apache.torque.util.UniqueColumnList
- serialVersionUID:
- 4467847559423445120L
-
Klasse org.apache.torque.util.UniqueList
- serialVersionUID:
- 4467847559423445120L
-