Class StatementMappingDefinition

java.lang.Object
org.datanucleus.store.rdbms.request.StatementMappingDefinition

class StatementMappingDefinition extends Object
Holder for the StatementExpressionIndex for the various details in UPDATE/DELETE statements. Comprised on UPDATE and WHERE clause information.
  • Field Details

  • Constructor Details

    • StatementMappingDefinition

      StatementMappingDefinition()
  • Method Details

    • 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.