Class StatementMappingDefinition
- java.lang.Object
-
- org.datanucleus.store.rdbms.request.StatementMappingDefinition
-
class StatementMappingDefinition extends java.lang.Object
Holder 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[]
updateFields
private StatementMappingIndex
updateVersion
private StatementMappingIndex
whereDatastoreId
private StatementMappingIndex[]
whereFields
private StatementMappingIndex
whereVersion
-
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.StatementMappingIndex
getUpdateVersion()
Accessor for the version mapping index.StatementMappingIndex
getWhereDatastoreId()
Accessor for the datastore id mapping index.StatementMappingIndex[]
getWhereFields()
Accessor for the mapping indices for the fields in the WHERE clause.StatementMappingIndex
getWhereVersion()
Accessor for the WHERE version mapping index.void
setUpdateFields(StatementMappingIndex[] fields)
Mutator for the mapping indices for the fields.void
setUpdateVersion(StatementMappingIndex ver)
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
setWhereVersion(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.
-
-