Class StatementMappingDefinition
- java.lang.Object
-
- org.datanucleus.store.rdbms.request.StatementMappingDefinition
-
class StatementMappingDefinition extends java.lang.ObjectHolder for the StatementExpressionIndex for the various details in UPDATE/DELETE statements. Comprised on UPDATE and WHERE clause information.
-
-
Field Summary
Fields Modifier and Type Field Description private StatementMappingIndex[]updateFieldsprivate StatementMappingIndexupdateVersionprivate StatementMappingIndexwhereDatastoreIdprivate StatementMappingIndex[]whereFieldsprivate StatementMappingIndexwhereVersion
-
Constructor Summary
Constructors Constructor Description StatementMappingDefinition()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StatementMappingIndex[]getUpdateFields()Accessor for the mapping indices for the fields.StatementMappingIndexgetUpdateVersion()Accessor for the version mapping index.StatementMappingIndexgetWhereDatastoreId()Accessor for the datastore id mapping index.StatementMappingIndex[]getWhereFields()Accessor for the mapping indices for the fields in the WHERE clause.StatementMappingIndexgetWhereVersion()Accessor for the WHERE version mapping index.voidsetUpdateFields(StatementMappingIndex[] fields)Mutator for the mapping indices for the fields.voidsetUpdateVersion(StatementMappingIndex ver)Mutator for the version mapping index.voidsetWhereDatastoreId(StatementMappingIndex datastoreId)Mutator for the datastore id mapping index.voidsetWhereFields(StatementMappingIndex[] fields)Mutator for the mapping indices for the fields in the WHERE clause.voidsetWhereVersion(StatementMappingIndex ver)Accessor for the WHERE version mapping index.
-
-
-
Field Detail
-
updateFields
private StatementMappingIndex[] updateFields
-
updateVersion
private StatementMappingIndex updateVersion
-
whereFields
private StatementMappingIndex[] whereFields
-
whereDatastoreId
private StatementMappingIndex whereDatastoreId
-
whereVersion
private StatementMappingIndex whereVersion
-
-
Method Detail
-
getWhereDatastoreId
public StatementMappingIndex getWhereDatastoreId()
Accessor for the datastore id mapping index.- Returns:
- Returns the datastoreId.
-
setWhereDatastoreId
public void setWhereDatastoreId(StatementMappingIndex datastoreId)
Mutator for the datastore id mapping index.- Parameters:
datastoreId- The datastoreId to set.
-
getUpdateVersion
public StatementMappingIndex getUpdateVersion()
Accessor for the version mapping index.- Returns:
- Returns the version index.
-
setUpdateVersion
public void setUpdateVersion(StatementMappingIndex ver)
Mutator for the version mapping index.- Parameters:
ver- The version to set.
-
getUpdateFields
public StatementMappingIndex[] getUpdateFields()
Accessor for the mapping indices for the fields.- Returns:
- Returns the fields.
-
setUpdateFields
public void setUpdateFields(StatementMappingIndex[] fields)
Mutator for the mapping indices for the fields.- Parameters:
fields- The fields to set.
-
getWhereFields
public StatementMappingIndex[] getWhereFields()
Accessor for the mapping indices for the fields in the WHERE clause.- Returns:
- Returns the where clause fields.
-
setWhereFields
public void setWhereFields(StatementMappingIndex[] fields)
Mutator for the mapping indices for the fields in the WHERE clause.- Parameters:
fields- The where clause fields
-
getWhereVersion
public StatementMappingIndex getWhereVersion()
Accessor for the WHERE version mapping index.- Returns:
- Returns the WHERE version index.
-
setWhereVersion
public void setWhereVersion(StatementMappingIndex ver)
Accessor for the WHERE version mapping index.- Parameters:
ver- The WHERE version.
-
-