Modifier and Type | Field and Description |
---|---|
protected Record |
DescriptorEvent.record
Optionally a database row may be provided on some events, (such as aboutToUpdate).
|
Modifier and Type | Method and Description |
---|---|
Record |
DescriptorEvent.getRecord()
PUBLIC:
Return the record that is associated with some events,
such as postBuild, and aboutToUpdate.
|
Modifier and Type | Method and Description |
---|---|
abstract Class |
ClassExtractor.extractClassFromRow(Record databaseRow,
Session session)
Extract/compute the class from the database row and return the class.
|
Class |
MethodClassExtractor.extractClassFromRow(Record row,
Session session)
INTERNAL
Extract/compute the class from the database row and return the class.
|
void |
DescriptorEvent.setRecord(Record record)
INTERNAL:
Optionally a database row may be provided on some events, (such as aboutToUpdate).
|
Modifier and Type | Method and Description |
---|---|
Object |
CloneCopyPolicy.buildWorkingCopyCloneFromRow(Record row,
ObjectBuildingQuery query)
Create a new instance, unless a workingCopyClone method is specified, then build a new instance and clone it.
|
Object |
CopyPolicy.buildWorkingCopyCloneFromRow(Record row,
ObjectBuildingQuery query)
Return an instance with the primary key set from the row, used for building a working copy during a unit of work transactional read.
|
Object |
AbstractCopyPolicy.buildWorkingCopyCloneFromRow(Record row,
ObjectBuildingQuery query)
By default create a new instance.
|
Object |
CopyPolicy.buildWorkingCopyCloneFromRow(Record row,
ObjectLevelReadQuery query)
Return an instance with the primary key set from the row, used for building a working copy during a unit of work transactional read.
|
Object |
AbstractCopyPolicy.buildWorkingCopyCloneFromRow(Record row,
ObjectLevelReadQuery query)
Create a new instance, unless a workingCopyClone method is specified, then build a new instance and clone it.
|
Modifier and Type | Method and Description |
---|---|
Record |
DatabaseException.getQueryArgumentsRecord()
PUBLIC:
Return the query argements used in the original query when exception is thrown
|
Record |
QueryException.getQueryArgumentsRecord()
PUBLIC:
Return the query argements used in the original query when exception is thrown
|
Modifier and Type | Field and Description |
---|---|
protected Record |
CacheKey.record
This is used for Document Preservation to cache the record that this object was built from
|
Modifier and Type | Method and Description |
---|---|
Record |
CacheKey.getRecord() |
Modifier and Type | Method and Description |
---|---|
Vector |
IdentityMapManager.getAllFromIdentityMap(Expression selectionCriteria,
Class theClass,
Record translationRow,
InMemoryQueryIndirectionPolicy valueHolderPolicy,
boolean shouldReturnInvalidatedObjects)
Query the cache in-memory.
|
Object |
IdentityMapManager.getFromIdentityMap(Expression selectionCriteria,
Class theClass,
Record translationRow,
InMemoryQueryIndirectionPolicy valueHolderPolicy,
boolean conforming,
boolean shouldReturnInvalidatedObjects,
ClassDescriptor descriptor) |
void |
CacheKey.setRecord(Record newRecord) |
Modifier and Type | Class and Description |
---|---|
class |
AbstractRecord
Purpose: Define the abstract definition of a record for internal use.
|
Modifier and Type | Method and Description |
---|---|
boolean |
IdentityMapAccessor.containsObjectInIdentityMap(Record rowContainingPrimaryKey,
Class theClass)
ADVANCED:
Return if their is an object for the row containing primary key and the class.
|
protected Vector |
IdentityMapAccessor.extractPrimaryKeyFromRow(Record rowContainingPrimaryKey,
Class theClass)
INTERNAL:
Extract primary key from a row
|
Vector |
IdentityMapAccessor.getAllFromIdentityMap(Expression selectionCriteria,
Class theClass,
Record translationRow)
ADVANCED:
Query the cache in-memory.
|
Vector |
IdentityMapAccessor.getAllFromIdentityMap(Expression selectionCriteria,
Class theClass,
Record translationRow,
InMemoryQueryIndirectionPolicy valueHolderPolicy)
ADVANCED:
Query the cache in-memory.
|
Vector |
IsolatedClientSessionIdentityMapAccessor.getAllFromIdentityMap(Expression selectionCriteria,
Class theClass,
Record translationRow,
InMemoryQueryIndirectionPolicy valueHolderPolicy,
boolean shouldReturnInvalidatedObjects)
ADVANCED:
Query the cache in-memory.
|
Vector |
IdentityMapAccessor.getAllFromIdentityMap(Expression selectionCriteria,
Class theClass,
Record translationRow,
InMemoryQueryIndirectionPolicy valueHolderPolicy,
boolean shouldReturnInvalidatedObjects)
ADVANCED:
Query the cache in-memory.
|
Object |
IdentityMapAccessor.getFromIdentityMap(Expression selectionCriteria,
Class theClass,
Record translationRow)
ADVANCED:
Query the cache in-memory.
|
Object |
IdentityMapAccessor.getFromIdentityMap(Expression selectionCriteria,
Class theClass,
Record translationRow,
InMemoryQueryIndirectionPolicy valueHolderPolicy)
ADVANCED:
Query the cache in-memory.
|
Object |
IdentityMapAccessor.getFromIdentityMap(Expression selectionCriteria,
Class theClass,
Record translationRow,
InMemoryQueryIndirectionPolicy valueHolderPolicy,
boolean conforming)
INTERNAL:
Query the cache in-memory.
|
Object |
IdentityMapAccessor.getFromIdentityMap(Expression selectionCriteria,
Class theClass,
Record translationRow,
InMemoryQueryIndirectionPolicy valueHolderPolicy,
boolean conforming,
boolean shouldReturnInvalidatedObjects)
INTERNAL:
Query the cache in-memory.
|
Object |
IsolatedClientSessionIdentityMapAccessor.getFromIdentityMap(Expression selectionCriteria,
Class theClass,
Record translationRow,
InMemoryQueryIndirectionPolicy valueHolderPolicy,
boolean conforming,
boolean shouldReturnInvalidatedObjects,
ClassDescriptor descriptor)
INTERNAL:
Query the cache in-memory.
|
Object |
IdentityMapAccessor.getFromIdentityMap(Expression selectionCriteria,
Class theClass,
Record translationRow,
InMemoryQueryIndirectionPolicy valueHolderPolicy,
boolean conforming,
boolean shouldReturnInvalidatedObjects,
ClassDescriptor descriptor)
INTERNAL:
Query the cache in-memory.
|
Object |
IdentityMapAccessor.getFromIdentityMap(Record rowContainingPrimaryKey,
Class theClass)
ADVANCED:
Return the object from the identity with the primary and class.
|
Object |
IdentityMapAccessor.getFromIdentityMap(Record rowContainingPrimaryKey,
Class theClass,
boolean shouldReturnInvalidatedObjects)
ADVANCED:
Return the object from the identity with the primary and class.
|
void |
IdentityMapAccessor.invalidateObject(Record rowContainingPrimaryKey,
Class theClass)
ADVANCED:
Set an object to be invalid in the TopLink identity maps.
|
Modifier and Type | Method and Description |
---|---|
String |
DatabaseQuery.getTranslatedSQLString(Session session,
Record translationRow)
ADVANCED:
This can be used to access a queries translated SQL if they have been prepared, (i.e.
|
List |
DatabaseQuery.getTranslatedSQLStrings(Session session,
Record translationRow)
ADVANCED:
This can be used to access a queries translated SQL if they have been prepared, (i.e.
|
void |
DatabaseQuery.prepareCall(Session session,
Record translationRow)
ADVANCED:
Pre-generate the call/SQL for the query.
|
Modifier and Type | Class and Description |
---|---|
class |
DatabaseRecord
Purpose: Define a representation of a database row as field=>value pairs.
|
Modifier and Type | Method and Description |
---|---|
boolean |
IdentityMapAccessor.containsObjectInIdentityMap(Record rowContainingPrimaryKey,
Class theClass)
ADVANCED:
Returns true if the identity map contains an Object with the same primary key
of the specified row (ie.
|
Vector |
IdentityMapAccessor.getAllFromIdentityMap(Expression selectionCriteria,
Class theClass,
Record translationRow,
InMemoryQueryIndirectionPolicy valueHolderPolicy)
ADVANCED:
Queries the cache in-memory with the passed in criteria and returns matching Objects.
|
Vector |
IdentityMapAccessor.getAllFromIdentityMap(Expression selectionCriteria,
Class theClass,
Record translationRow,
InMemoryQueryIndirectionPolicy valueHolderPolicy,
boolean shouldReturnInvalidatedObjects)
ADVANCED:
Queries the cache in-memory with the passed in criteria and returns matching Objects.
|
Object |
IdentityMapAccessor.getFromIdentityMap(Expression selectionCriteria,
Class theClass,
Record translationRow)
ADVANCED:
Queries the cache in-memory and returns an Object from this identity map.
|
Object |
IdentityMapAccessor.getFromIdentityMap(Expression selectionCriteria,
Class theClass,
Record translationRow,
InMemoryQueryIndirectionPolicy valueHolderPolicy)
ADVANCED:
Queries the cache in-memory and returns an Object from this identity map.
|
Object |
IdentityMapAccessor.getFromIdentityMap(Record rowContainingPrimaryKey,
Class theClass)
ADVANCED:
Returns the Object from the identity map with the same primary key
of the specified row (ie.
|
Object |
IdentityMapAccessor.getFromIdentityMap(Record rowContainingPrimaryKey,
Class theClass,
boolean shouldReturnInvalidatedObjects)
ADVANCED:
Returns the Object from the identity map with the same primary key of the specified
row and Class type.
|
void |
IdentityMapAccessor.invalidateObject(Record rowContainingPrimaryKey,
Class theClass)
ADVANCED:
Sets an Object with the specified primary key of the passed in Row and Class type to
be invalid in the TopLink identity maps.
|
Copyright © 2022. All rights reserved.