Class StatementMappingDefinition
java.lang.Object
org.datanucleus.store.rdbms.request.StatementMappingDefinition
Holder for the StatementExpressionIndex for the various details in UPDATE/DELETE statements.
Comprised on UPDATE and WHERE clause information.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate StatementMappingIndex[]
private StatementMappingIndex
private StatementMappingIndex
private StatementMappingIndex[]
private StatementMappingIndex
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionAccessor for the mapping indices for the fields.Accessor for the version mapping index.Accessor for the datastore id mapping index.Accessor for the mapping indices for the fields in the WHERE clause.Accessor for the WHERE version mapping index.void
setUpdateFields
(StatementMappingIndex[] fields) Mutator for the mapping indices for the fields.void
Mutator for the version mapping index.void
setWhereDatastoreId
(StatementMappingIndex datastoreId) Mutator for the datastore id mapping index.void
setWhereFields
(StatementMappingIndex[] fields) Mutator for the mapping indices for the fields in the WHERE clause.void
Accessor for the WHERE version mapping index.
-
Field Details
-
updateFields
-
updateVersion
-
whereFields
-
whereDatastoreId
-
whereVersion
-
-
Constructor Details
-
StatementMappingDefinition
StatementMappingDefinition()
-
-
Method Details
-
getWhereDatastoreId
Accessor for the datastore id mapping index.- Returns:
- Returns the datastoreId.
-
setWhereDatastoreId
Mutator for the datastore id mapping index.- Parameters:
datastoreId
- The datastoreId to set.
-
getUpdateVersion
Accessor for the version mapping index.- Returns:
- Returns the version index.
-
setUpdateVersion
Mutator for the version mapping index.- Parameters:
ver
- The version to set.
-
getUpdateFields
Accessor for the mapping indices for the fields.- Returns:
- Returns the fields.
-
setUpdateFields
Mutator for the mapping indices for the fields.- Parameters:
fields
- The fields to set.
-
getWhereFields
Accessor for the mapping indices for the fields in the WHERE clause.- Returns:
- Returns the where clause fields.
-
setWhereFields
Mutator for the mapping indices for the fields in the WHERE clause.- Parameters:
fields
- The where clause fields
-
getWhereVersion
Accessor for the WHERE version mapping index.- Returns:
- Returns the WHERE version index.
-
setWhereVersion
Accessor for the WHERE version mapping index.- Parameters:
ver
- The WHERE version.
-