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.stmtMappingsThe index of fields position to mapping type.protected StatementMappingIndex[]SQLQuery.stmtMappingsMappings 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.mappingsMappings for the members of this object defined in the statement, keyed by the member number.(package private) Map<String, StatementMappingIndex> StatementParameterMapping.mappingsMappings 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 TypeMethodDescriptionvoidStatementClassMapping.addMappingForMember(int position, StatementMappingIndex mapping) voidStatementParameterMapping.addMappingForParameter(String name, StatementMappingIndex mapping) voidStatementResultMapping.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 StatementMappingIndexInsertRequest.InsertMappingConsumer.createTimestampStatementMappingStatementExpressionIndex for SURROGATE create-timestamp.private StatementMappingIndexInsertRequest.createTimestampStmtMappingStatementExpressionIndex for create-timestamp.private StatementMappingIndexInsertRequest.InsertMappingConsumer.createUserStatementMappingStatementExpressionIndex for SURROGATE create-user.private StatementMappingIndexInsertRequest.createUserStmtMappingStatementExpressionIndex for create-user.private StatementMappingIndexInsertRequest.InsertMappingConsumer.discriminatorStatementMappingStatementExpressionIndex for discriminatorprivate StatementMappingIndexInsertRequest.discriminatorStmtMappingStatementExpressionIndex for discriminator.private StatementMappingIndex[]InsertRequest.InsertMappingConsumer.externalFKDiscrimStmtExprIndexprivate StatementMappingIndex[]InsertRequest.externalFKDiscrimStmtMappingsStatementExpressionIndex for external FK discriminators (shared FKs)private StatementMappingIndex[]InsertRequest.InsertMappingConsumer.externalFKStmtExprIndexprivate StatementMappingIndex[]InsertRequest.externalFKStmtMappingsStatementExpressionIndex for external FKsprivate StatementMappingIndex[]InsertRequest.InsertMappingConsumer.externalOrderStmtExprIndexprivate StatementMappingIndex[]InsertRequest.externalOrderStmtMappingsStatementExpressionIndex for external indicesprivate StatementMappingIndexDeleteRequest.multitenancyStatementMappingStatementExpressionIndex for multitenancy.private StatementMappingIndexInsertRequest.InsertMappingConsumer.multitenancyStatementMappingStatementExpressionIndex for multi-tenancy.private StatementMappingIndexInsertRequest.multitenancyStmtMappingStatementExpressionIndex for multi-tenancy.private StatementMappingIndex[]InsertRequest.InsertMappingConsumer.retrievedStatementMappingsstatement indexes for fields to be "retrieved".private StatementMappingIndex[]InsertRequest.retrievedStmtMappingsStatementExpressionIndex for fields to be "retrieved"private StatementMappingIndexInsertRequest.InsertMappingConsumer.softDeleteStatementMappingStatementExpressionIndex for SURROGATE soft-delete.private StatementMappingIndexInsertRequest.softDeleteStmtMappingStatementExpressionIndex for soft-delete.private StatementMappingIndex[]InsertRequest.InsertMappingConsumer.statementMappingsone StatementExpressionIndex for each fieldprivate StatementMappingIndex[]InsertRequest.stmtMappingsone StatementExpressionIndex for each fieldprivate StatementMappingIndex[]StatementMappingDefinition.updateFieldsprivate StatementMappingIndexInsertRequest.InsertMappingConsumer.updateTimestampStatementMappingStatementExpressionIndex for SURROGATE update-timestamp.private StatementMappingIndexUpdateRequest.UpdateMappingConsumer.updateTimestampStatementMappingprivate StatementMappingIndexInsertRequest.updateTimestampStmtMappingStatementExpressionIndex for update-timestamp.private StatementMappingIndexUpdateRequest.updateTimestampStmtMappingStatementExpressionIndex for update-timestamp.private StatementMappingIndexInsertRequest.InsertMappingConsumer.updateUserStatementMappingStatementExpressionIndex for SURROGATE update-user.private StatementMappingIndexUpdateRequest.UpdateMappingConsumer.updateUserStatementMappingprivate StatementMappingIndexInsertRequest.updateUserStmtMappingStatementExpressionIndex for update-user.private StatementMappingIndexUpdateRequest.updateUserStmtMappingStatementExpressionIndex for update-user.private StatementMappingIndexStatementMappingDefinition.updateVersionprivate StatementMappingIndexInsertRequest.InsertMappingConsumer.versionStatementMappingStatementExpressionIndex for versionprivate StatementMappingIndexInsertRequest.versionStmtMappingStatementExpressionIndex for versionprivate StatementMappingIndexStatementMappingDefinition.whereDatastoreIdprivate StatementMappingIndex[]StatementMappingDefinition.whereFieldsprivate StatementMappingIndexStatementMappingDefinition.whereVersionMethods 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.voidStatementMappingDefinition.setUpdateFields(StatementMappingIndex[] fields) Mutator for the mapping indices for the fields.voidStatementMappingDefinition.setUpdateVersion(StatementMappingIndex ver) Mutator for the version mapping index.voidStatementMappingDefinition.setWhereDatastoreId(StatementMappingIndex datastoreId) Mutator for the datastore id mapping index.voidStatementMappingDefinition.setWhereFields(StatementMappingIndex[] fields) Mutator for the mapping indices for the fields in the WHERE clause.voidStatementMappingDefinition.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) StatementMappingIndexIteratorStatement.ownerMapIndexMapping 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 TypeMethodDescriptionvoidIteratorStatement.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 booleanSQLStatementHelper.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.