Uses of Class
org.datanucleus.store.rdbms.query.StatementMappingIndex
Packages that use StatementMappingIndex
Package
Description
Package providing the querying mechanism for DataNucleus for RDBMS datastores.
Provides the mechanism of communicating with the database using JDBC.
This package provides classes defining the (SCO) backing store for various container classes (Collections/Maps/arrays) within DataNucleus.
Series of classes used to generate SQL statements.
-
Uses of StatementMappingIndex in org.datanucleus.store.rdbms.query
Fields in org.datanucleus.store.rdbms.query declared as StatementMappingIndexModifier and TypeFieldDescriptionprivate final StatementMappingIndex[]
ResultClassROF.stmtMappings
The index of fields position to mapping type.protected StatementMappingIndex[]
SQLQuery.stmtMappings
Mappings for the result of the query.Fields in org.datanucleus.store.rdbms.query with type parameters of type StatementMappingIndexModifier and TypeFieldDescription(package private) Map
<Integer, StatementMappingIndex> StatementClassMapping.mappings
Mappings for the members of this object defined in the statement, keyed by the member number.(package private) Map
<String, StatementMappingIndex> StatementParameterMapping.mappings
Mappings for the parameters keyed by the parameter name.Methods in org.datanucleus.store.rdbms.query that return StatementMappingIndexModifier and TypeMethodDescriptionStatementClassMapping.getMappingForMemberPosition
(int position) Accessor for the mapping information for the member at the specified position.StatementParameterMapping.getMappingForParameter
(String name) Accessor for the mapping information for the parameter with the specified name.StatementParameterMapping.getMappingForParameterPosition
(int pos) Convenience method to return the mapping for the parameter that is at the specified position.Methods in org.datanucleus.store.rdbms.query with parameters of type StatementMappingIndexModifier and TypeMethodDescriptionvoid
StatementClassMapping.addMappingForMember
(int position, StatementMappingIndex mapping) void
StatementParameterMapping.addMappingForParameter
(String name, StatementMappingIndex mapping) void
StatementResultMapping.addMappingForResultExpression
(int position, StatementMappingIndex mapping) -
Uses of StatementMappingIndex in org.datanucleus.store.rdbms.request
Fields in org.datanucleus.store.rdbms.request declared as StatementMappingIndexModifier and TypeFieldDescriptionprivate StatementMappingIndex
InsertRequest.InsertMappingConsumer.createTimestampStatementMapping
StatementExpressionIndex for SURROGATE create-timestamp.private StatementMappingIndex
InsertRequest.createTimestampStmtMapping
StatementExpressionIndex for create-timestamp.private StatementMappingIndex
InsertRequest.InsertMappingConsumer.createUserStatementMapping
StatementExpressionIndex for SURROGATE create-user.private StatementMappingIndex
InsertRequest.createUserStmtMapping
StatementExpressionIndex for create-user.private StatementMappingIndex
InsertRequest.InsertMappingConsumer.discriminatorStatementMapping
StatementExpressionIndex for discriminatorprivate StatementMappingIndex
InsertRequest.discriminatorStmtMapping
StatementExpressionIndex for discriminator.private StatementMappingIndex[]
InsertRequest.InsertMappingConsumer.externalFKDiscrimStmtExprIndex
private StatementMappingIndex[]
InsertRequest.externalFKDiscrimStmtMappings
StatementExpressionIndex for external FK discriminators (shared FKs)private StatementMappingIndex[]
InsertRequest.InsertMappingConsumer.externalFKStmtExprIndex
private StatementMappingIndex[]
InsertRequest.externalFKStmtMappings
StatementExpressionIndex for external FKsprivate StatementMappingIndex[]
InsertRequest.InsertMappingConsumer.externalOrderStmtExprIndex
private StatementMappingIndex[]
InsertRequest.externalOrderStmtMappings
StatementExpressionIndex for external indicesprivate StatementMappingIndex
DeleteRequest.multitenancyStatementMapping
StatementExpressionIndex for multitenancy.private StatementMappingIndex
InsertRequest.InsertMappingConsumer.multitenancyStatementMapping
StatementExpressionIndex for multi-tenancy.private StatementMappingIndex
InsertRequest.multitenancyStmtMapping
StatementExpressionIndex for multi-tenancy.private StatementMappingIndex[]
InsertRequest.InsertMappingConsumer.retrievedStatementMappings
statement indexes for fields to be "retrieved".private StatementMappingIndex[]
InsertRequest.retrievedStmtMappings
StatementExpressionIndex for fields to be "retrieved"private StatementMappingIndex
InsertRequest.InsertMappingConsumer.softDeleteStatementMapping
StatementExpressionIndex for SURROGATE soft-delete.private StatementMappingIndex
InsertRequest.softDeleteStmtMapping
StatementExpressionIndex for soft-delete.private StatementMappingIndex[]
InsertRequest.InsertMappingConsumer.statementMappings
one StatementExpressionIndex for each fieldprivate StatementMappingIndex[]
InsertRequest.stmtMappings
one StatementExpressionIndex for each fieldprivate StatementMappingIndex[]
StatementMappingDefinition.updateFields
private StatementMappingIndex
InsertRequest.InsertMappingConsumer.updateTimestampStatementMapping
StatementExpressionIndex for SURROGATE update-timestamp.private StatementMappingIndex
UpdateRequest.UpdateMappingConsumer.updateTimestampStatementMapping
private StatementMappingIndex
InsertRequest.updateTimestampStmtMapping
StatementExpressionIndex for update-timestamp.private StatementMappingIndex
UpdateRequest.updateTimestampStmtMapping
StatementExpressionIndex for update-timestamp.private StatementMappingIndex
InsertRequest.InsertMappingConsumer.updateUserStatementMapping
StatementExpressionIndex for SURROGATE update-user.private StatementMappingIndex
UpdateRequest.UpdateMappingConsumer.updateUserStatementMapping
private StatementMappingIndex
InsertRequest.updateUserStmtMapping
StatementExpressionIndex for update-user.private StatementMappingIndex
UpdateRequest.updateUserStmtMapping
StatementExpressionIndex for update-user.private StatementMappingIndex
StatementMappingDefinition.updateVersion
private StatementMappingIndex
InsertRequest.InsertMappingConsumer.versionStatementMapping
StatementExpressionIndex for versionprivate StatementMappingIndex
InsertRequest.versionStmtMapping
StatementExpressionIndex for versionprivate StatementMappingIndex
StatementMappingDefinition.whereDatastoreId
private StatementMappingIndex[]
StatementMappingDefinition.whereFields
private StatementMappingIndex
StatementMappingDefinition.whereVersion
Methods in org.datanucleus.store.rdbms.request that return StatementMappingIndexModifier and TypeMethodDescriptionInsertRequest.InsertMappingConsumer.getCreateTimestampStatementMapping()
InsertRequest.InsertMappingConsumer.getCreateUserStatementMapping()
InsertRequest.InsertMappingConsumer.getDiscriminatorStatementMapping()
Obtain the mapping for the discriminator in the statementInsertRequest.InsertMappingConsumer.getExternalFKDiscrimStatementMapping()
Obtain the mapping for any external FK discriminators in the statement.InsertRequest.InsertMappingConsumer.getExternalFKStatementMapping()
Obtain the mapping for any external FKs in the statementInsertRequest.InsertMappingConsumer.getExternalOrderStatementMapping()
Obtain the mapping for any external indexes in the statementInsertRequest.InsertMappingConsumer.getMultitenancyStatementMapping()
Obtain the mapping for multitenancy in the statementInsertRequest.InsertMappingConsumer.getReachableStatementMappings()
Obtain the StatementExpressionIndex for the "reachable" fields.InsertRequest.InsertMappingConsumer.getSoftDeleteStatementMapping()
Obtain the mapping for soft-delete in the statementInsertRequest.InsertMappingConsumer.getStatementMappings()
Obtain the mappings for fields in the statementStatementMappingDefinition.getUpdateFields()
Accessor for the mapping indices for the fields.InsertRequest.InsertMappingConsumer.getUpdateTimestampStatementMapping()
UpdateRequest.UpdateMappingConsumer.getUpdateTimestampStatementMapping()
InsertRequest.InsertMappingConsumer.getUpdateUserStatementMapping()
UpdateRequest.UpdateMappingConsumer.getUpdateUserStatementMapping()
StatementMappingDefinition.getUpdateVersion()
Accessor for the version mapping index.InsertRequest.InsertMappingConsumer.getVersionStatementMapping()
Obtain the mapping for the version in the statementStatementMappingDefinition.getWhereDatastoreId()
Accessor for the datastore id mapping index.StatementMappingDefinition.getWhereFields()
Accessor for the mapping indices for the fields in the WHERE clause.StatementMappingDefinition.getWhereVersion()
Accessor for the WHERE version mapping index.private StatementMappingIndex[]
InsertRequest.InsertMappingConsumer.processExternalMapping
(JavaTypeMapping mapping, StatementMappingIndex[] fieldStmtExprIndex, StatementMappingIndex[] stmtExprIndex) Convenience method to process an external mapping.Methods in org.datanucleus.store.rdbms.request with parameters of type StatementMappingIndexModifier and TypeMethodDescriptionprivate StatementMappingIndex[]
InsertRequest.InsertMappingConsumer.processExternalMapping
(JavaTypeMapping mapping, StatementMappingIndex[] fieldStmtExprIndex, StatementMappingIndex[] stmtExprIndex) Convenience method to process an external mapping.void
StatementMappingDefinition.setUpdateFields
(StatementMappingIndex[] fields) Mutator for the mapping indices for the fields.void
StatementMappingDefinition.setUpdateVersion
(StatementMappingIndex ver) Mutator for the version mapping index.void
StatementMappingDefinition.setWhereDatastoreId
(StatementMappingIndex datastoreId) Mutator for the datastore id mapping index.void
StatementMappingDefinition.setWhereFields
(StatementMappingIndex[] fields) Mutator for the mapping indices for the fields in the WHERE clause.void
StatementMappingDefinition.setWhereVersion
(StatementMappingIndex ver) Accessor for the WHERE version mapping index. -
Uses of StatementMappingIndex in org.datanucleus.store.rdbms.scostore
Fields in org.datanucleus.store.rdbms.scostore declared as StatementMappingIndexModifier and TypeFieldDescription(package private) StatementMappingIndex
IteratorStatement.ownerMapIndex
Mapping index for the owner in the statement (only specified on bulk fetch iterators).Methods in org.datanucleus.store.rdbms.scostore that return StatementMappingIndexMethods in org.datanucleus.store.rdbms.scostore with parameters of type StatementMappingIndexModifier and TypeMethodDescriptionvoid
IteratorStatement.setOwnerMapIndex
(StatementMappingIndex idx) -
Uses of StatementMappingIndex in org.datanucleus.store.rdbms.sql
Methods in org.datanucleus.store.rdbms.sql with parameters of type StatementMappingIndexModifier and TypeMethodDescriptionprivate static boolean
SQLStatementHelper.selectFetchPlanFieldsOfFKRelatedObject
(SelectStatement stmt, StatementClassMapping mappingDefinition, org.datanucleus.FetchPlan fetchPlan, SQLTable sourceSqlTbl, org.datanucleus.metadata.AbstractMemberMetaData mmd, org.datanucleus.ClassLoaderResolver clr, int maxFetchPlanLimit, JavaTypeMapping m, String tableGroupName, StatementMappingIndex stmtMapping, SQLTable sqlTbl, SQLJoin.JoinType inputJoinType) Convenience method to join to and select all required FP fields of a related object where linked via an FK at this side.