Uses of Interface
org.hibernate.metamodel.mapping.SelectableMapping
Packages that use SelectableMapping
Package
Description
Supported aggregate-column mapping, rendering, DDL, and capability
contracts supplied by a Dialect.
Contains implementations of
SqmFunctionDescriptor
describing a range of relatively-sophisticated SQL functions available in various dialects.Package defining support for executing mutation SQL statements produced by an
entity persister or
collection
persister.
Defines the runtime mapping metamodel describing how domain-model parts map
to relational database objects.
This package abstracts persistence mechanisms for entities.
Defines support for performing mutation operations originating
from persistence-context events.
Package defining support for
SqmFunctionDescriptor handling.Contracts for creating a SQL AST.
SQL AST and builders used with flushed-based mutations (persist, merge, etc.).
Supported construction contracts and reusable implementations for mapping-model mutations.
AST nodes representing expressions in a SQL tree.
-
Uses of SelectableMapping in org.hibernate.action.queue.spi.bind
Methods in org.hibernate.action.queue.spi.bind with parameters of type SelectableMappingModifier and TypeMethodDescriptionvoidJdbcValueBindings.bindAssignment(int valueIndex, Object value, SelectableMapping jdbcValueMapping) Form ofJdbcValueBindings.bindValue(Object, String, ParameterUsage)which is intended for use as aModelPart.JdbcValueConsumerwithParameterUsage.SETsemantics.voidJdbcValueBindings.bindInsertAssignment(int valueIndex, Object value, SelectableMapping jdbcValueMapping) Form ofJdbcValueBindings.bindAssignment(int, Object, SelectableMapping)which performs the binding only if the passedjdbcValueMappingis insertable.voidJdbcValueBindings.bindRestriction(int valueIndex, Object value, SelectableMapping jdbcValueMapping) Form ofJdbcValueBindings.bindValue(Object, String, ParameterUsage)which is intended for use as aModelPart.JdbcValueConsumerwithParameterUsage.RESTRICTsemantics.voidJdbcValueBindings.bindUpdateAssignment(int valueIndex, Object value, SelectableMapping jdbcValueMapping) Form ofJdbcValueBindings.bindAssignment(int, Object, SelectableMapping)which performs the binding only if the passedjdbcValueMappingis updateable.voidJdbcValueBindings.bindUpdateRestriction(int valueIndex, Object value, SelectableMapping jdbcValueMapping) Form ofJdbcValueBindings.bindRestriction(int, Object, SelectableMapping)which performs the binding only if the passedjdbcValueMappingis updateable. -
Uses of SelectableMapping in org.hibernate.action.queue.spi.meta
Classes in org.hibernate.action.queue.spi.meta that implement SelectableMappingModifier and TypeClassDescriptionfinal recordImmutable descriptor for a column involved in a mutation.Methods in org.hibernate.action.queue.spi.meta that return SelectableMappingMethods in org.hibernate.action.queue.spi.meta with parameters of type SelectableMappingModifier and TypeMethodDescriptionstatic ColumnDescriptorColumnDescriptor.from(SelectableMapping selectable) -
Uses of SelectableMapping in org.hibernate.dialect.aggregate.spi
Methods in org.hibernate.dialect.aggregate.spi that return SelectableMappingModifier and TypeMethodDescriptionAggregateWriteRendererRequest.aggregateColumn()Returns the value of theaggregateColumnrecord component.Methods in org.hibernate.dialect.aggregate.spi that return types with arguments of type SelectableMappingModifier and TypeMethodDescriptionAggregateWriteRendererRequest.columnsToUpdate()Returns the value of thecolumnsToUpdaterecord component.Methods in org.hibernate.dialect.aggregate.spi with parameters of type SelectableMappingModifier and TypeMethodDescriptionAggregateColumnWriteExpression.getValueExpression(SelectableMapping selectableMapping) Constructors in org.hibernate.dialect.aggregate.spi with parameters of type SelectableMappingModifierConstructorDescriptionAggregateWriteRendererRequest(SelectableMapping aggregateColumn, List<SelectableMapping> columnsToUpdate, TypeConfiguration typeConfiguration) Creates an instance of aAggregateWriteRendererRequestrecord class.Constructor parameters in org.hibernate.dialect.aggregate.spi with type arguments of type SelectableMappingModifierConstructorDescriptionAggregateWriteRendererRequest(SelectableMapping aggregateColumn, List<SelectableMapping> columnsToUpdate, TypeConfiguration typeConfiguration) Creates an instance of aAggregateWriteRendererRequestrecord class. -
Uses of SelectableMapping in org.hibernate.dialect.function
Methods in org.hibernate.dialect.function that return SelectableMappingModifier and TypeMethodDescriptionGenerateSeriesSetReturningFunctionTypeResolver.resolveFunctionReturnType(List<? extends SqlAstNode> arguments, String tableIdentifierVariable, boolean lateral, boolean withOrdinality, SqmToSqlAstConverter converter) UnnestSetReturningFunctionTypeResolver.resolveFunctionReturnType(List<? extends SqlAstNode> arguments, String tableIdentifierVariable, boolean lateral, boolean withOrdinality, SqmToSqlAstConverter converter) protected SelectableMapping[]NumberSeriesGenerateSeriesFunction.NumberSeriesGenerateSeriesSetReturningFunctionTypeResolver.resolveIterationVariableBasedFunctionReturnType(List<? extends SqlAstNode> arguments, String tableIdentifierVariable, boolean lateral, boolean withOrdinality, SqmToSqlAstConverter converter) -
Uses of SelectableMapping in org.hibernate.dialect.function.json
Methods in org.hibernate.dialect.function.json that return SelectableMappingModifier and TypeMethodDescriptionJsonTableSetReturningFunctionTypeResolver.resolveFunctionReturnType(List<? extends SqlAstNode> arguments, String tableIdentifierVariable, boolean lateral, boolean withOrdinality, SqmToSqlAstConverter converter) Method parameters in org.hibernate.dialect.function.json with type arguments of type SelectableMappingModifier and TypeMethodDescriptionprotected voidJsonTableSetReturningFunctionTypeResolver.addSelectableMapping(List<SelectableMapping> selectableMappings, String name, JdbcMapping type, SqmToSqlAstConverter converter) protected voidJsonTableSetReturningFunctionTypeResolver.addSelectableMappings(List<SelectableMapping> selectableMappings, JsonTableColumnsClause columnsClause, SqmToSqlAstConverter converter) protected voidJsonTableSetReturningFunctionTypeResolver.addSelectableMappings(List<SelectableMapping> selectableMappings, JsonTableExistsColumnDefinition definition, SqmToSqlAstConverter converter) protected voidJsonTableSetReturningFunctionTypeResolver.addSelectableMappings(List<SelectableMapping> selectableMappings, JsonTableNestedColumnDefinition columnDefinition, SqmToSqlAstConverter converter) protected voidJsonTableSetReturningFunctionTypeResolver.addSelectableMappings(List<SelectableMapping> selectableMappings, JsonTableOrdinalityColumnDefinition definition, SqmToSqlAstConverter converter) protected voidJsonTableSetReturningFunctionTypeResolver.addSelectableMappings(List<SelectableMapping> selectableMappings, JsonTableQueryColumnDefinition definition, SqmToSqlAstConverter converter) protected voidJsonTableSetReturningFunctionTypeResolver.addSelectableMappings(List<SelectableMapping> selectableMappings, JsonTableValueColumnDefinition definition, SqmToSqlAstConverter converter) -
Uses of SelectableMapping in org.hibernate.dialect.function.xml
Methods in org.hibernate.dialect.function.xml that return SelectableMappingModifier and TypeMethodDescriptionXmlTableSetReturningFunctionTypeResolver.resolveFunctionReturnType(List<? extends SqlAstNode> arguments, String tableIdentifierVariable, boolean lateral, boolean withOrdinality, SqmToSqlAstConverter converter) Method parameters in org.hibernate.dialect.function.xml with type arguments of type SelectableMappingModifier and TypeMethodDescriptionprotected voidXmlTableSetReturningFunctionTypeResolver.addSelectableMapping(List<SelectableMapping> selectableMappings, String name, JdbcMapping type, SqmToSqlAstConverter converter) protected voidXmlTableSetReturningFunctionTypeResolver.addSelectableMappings(List<SelectableMapping> selectableMappings, XmlTableColumnsClause columnsClause, SqmToSqlAstConverter converter) protected voidXmlTableSetReturningFunctionTypeResolver.addSelectableMappings(List<SelectableMapping> selectableMappings, XmlTableOrdinalityColumnDefinition definition, SqmToSqlAstConverter converter) protected voidXmlTableSetReturningFunctionTypeResolver.addSelectableMappings(List<SelectableMapping> selectableMappings, XmlTableQueryColumnDefinition definition, SqmToSqlAstConverter converter) protected voidXmlTableSetReturningFunctionTypeResolver.addSelectableMappings(List<SelectableMapping> selectableMappings, XmlTableValueColumnDefinition definition, SqmToSqlAstConverter converter) -
Uses of SelectableMapping in org.hibernate.engine.jdbc.mutation
Methods in org.hibernate.engine.jdbc.mutation with parameters of type SelectableMappingModifier and TypeMethodDescriptiondefault voidJdbcValueBindings.bindAssignment(int valueIndex, Object value, SelectableMapping jdbcValueMapping) Form of JdbcValueBindings.bindValue(Object, SelectableMapping, ParameterUsage) which is intended for use as a ModelPart.JdbcValueConsumer with ParameterUsage.SET semantics.default voidJdbcValueBindings.bindRestriction(int valueIndex, Object value, SelectableMapping jdbcValueMapping) Form of JdbcValueBindings.bindValue(Object, SelectableMapping, ParameterUsage) which is intended for use as a ModelPart.JdbcValueConsumer with ParameterUsage.RESTRICT semantics.default voidJdbcValueBindings.bindValue(Object value, SelectableMapping selectableMapping, ParameterUsage usage) Binds a value for a specific column+usage -
Uses of SelectableMapping in org.hibernate.metamodel.mapping
Subinterfaces of SelectableMapping in org.hibernate.metamodel.mappingModifier and TypeInterfaceDescriptioninterfaceMapping for a simple, single-column identifierinterfaceDescribes a ModelPart which is a basic value, either aBasicattribute a basic-valued collection partinterfaceDescriptor for the collection identifier.interfaceMapping of a discriminator, for either entity or association (ANY) discrimination.interfaceDetails about the discriminator for an embeddable hierarchy.interfaceDetails about the discriminator for an entity hierarchy.interfaceMapping of a row-idinterfaceDescribes the mapping of an entity's versioninterfaceMetadata about the indicator column for entities and collections enabled for soft deletestatic interfaceDetails about a column within the key groupMethods in org.hibernate.metamodel.mapping that return SelectableMappingModifier and TypeMethodDescriptiondefault SelectableMappingEmbeddableMappingType.getAggregateMapping()AuditMapping.getChangesetIdMapping(String originalTableName) Get the changeset ID selectable mapping for the given original table.TemporalMapping.getEndingColumnMapping()AuditMapping.getInvalidatingChangesetIdMapping(String originalTableName) Get the invalidating changeset selectable mapping for the given original table, ornullif the validity audit strategy is not active.default SelectableMappingEmbeddableMappingType.getJdbcValueSelectable(int columnIndex) AuditMapping.getModificationTypeMapping(String originalTableName) Get the modification type selectable mapping for the given original table, ornullif the table does not carry a modification type column.default SelectableMappingBasicValuedModelPart.getSelectable(int columnIndex) default SelectableMappingEmbeddableValuedModelPart.getSelectable(int columnIndex) ForeignKeyDescriptor.getSelectable(int columnIndex) SelectableMappings.getSelectable(int columnIndex) Get the selectable at the given positionTemporalMapping.getStartingColumnMapping()Methods in org.hibernate.metamodel.mapping with parameters of type SelectableMappingModifier and TypeMethodDescriptionvoidSelectableConsumer.accept(int selectionIndex, SelectableMapping selectableMapping) Accept the selectable mapping.voidModelPart.JdbcValueBiConsumer.consume(int valueIndex, X x, Y y, Object value, SelectableMapping jdbcValueMapping) Consume a JDBC-level jdbcValue.default voidModelPart.JdbcValueConsumer.consume(int valueIndex, Object x, Object y, Object value, SelectableMapping jdbcValueMapping) voidModelPart.JdbcValueConsumer.consume(int valueIndex, Object value, SelectableMapping jdbcValueMapping) Consume a JDBC-level jdbcValue.Method parameters in org.hibernate.metamodel.mapping with type arguments of type SelectableMappingModifier and TypeMethodDescriptionAuditMapping.createRestriction(TableGroupProducer tableGroupProducer, TableReference tableReference, List<SelectableMapping> keySelectables, SqlAliasBaseGenerator sqlAliasBaseGenerator, String originalTableName, Expression upperBound, boolean includeDeletions) Build the temporal restriction predicate for the given table with an explicit upper bound expression.ForeignKeyDescriptor.withKeySelectionMapping(ManagedMappingType declaringType, TableGroupProducer declaringTableGroupProducer, IntFunction<SelectableMapping> selectableMappingAccess, org.hibernate.metamodel.mapping.internal.MappingModelCreationProcess creationProcess) Return a copy of this foreign key descriptor with the selectable mappings as provided by the given accessor. -
Uses of SelectableMapping in org.hibernate.metamodel.mapping.internal
Classes in org.hibernate.metamodel.mapping.internal that implement SelectableMappingModifier and TypeClassDescriptionclassorg.hibernate.metamodel.mapping.internal.SelectableMappingImpl -
Uses of SelectableMapping in org.hibernate.persister.entity
Methods in org.hibernate.persister.entity with parameters of type SelectableMappingModifier and TypeMethodDescriptionAbstractEntityPersister.physicalTableNameForMutation(SelectableMapping selectableMapping) Unfortunately we cannot directly use `SelectableMapping#getContainingTableExpression()` as that blows up for attributes declared on super-type for union-subclass mappingsUnionSubclassEntityPersister.physicalTableNameForMutation(SelectableMapping selectableMapping) -
Uses of SelectableMapping in org.hibernate.persister.entity.mutation
Classes in org.hibernate.persister.entity.mutation that implement SelectableMappingMethods in org.hibernate.persister.entity.mutation that return SelectableMappingModifier and TypeMethodDescriptionEntityTableMappingImpl.AbstractKeyMapping.getSelectable(int columnIndex) Methods in org.hibernate.persister.entity.mutation with parameters of type SelectableMappingModifier and TypeMethodDescriptionprotected booleanMergeCoordinatorStandard.isColumnIncludedInSet(SelectableMapping selectable) protected booleanUpdateCoordinatorStandard.isColumnIncludedInSet(SelectableMapping selectable) UpdateCoordinatorStandard.physicalTableMappingForMutation(EntityPersister persister, SelectableMapping selectableMapping) LegacyEntityMutationTarget.physicalTableNameForMutation(SelectableMapping selectableMapping) The physical table name to use when mutating the given selectableConstructors in org.hibernate.persister.entity.mutation with parameters of type SelectableMapping -
Uses of SelectableMapping in org.hibernate.query.sqm.produce.function
Methods in org.hibernate.query.sqm.produce.function that return SelectableMappingModifier and TypeMethodDescriptionSetReturningFunctionTypeResolver.resolveFunctionReturnType(List<? extends SqlAstNode> arguments, String tableIdentifierVariable, boolean lateral, boolean withOrdinality, SqmToSqlAstConverter converter) Resolve the tuple elementsSqlExpressiblefor a function given its arguments to this call. -
Uses of SelectableMapping in org.hibernate.sql.ast.spi.creation
Methods in org.hibernate.sql.ast.spi.creation with parameters of type SelectableMappingModifier and TypeMethodDescriptionSqlExpressionResolver.createColumnReferenceKey(String tableExpression, SelectableMapping selectable) Convenience form for creating a key from table expression and SelectableMappingSqlExpressionResolver.createColumnReferenceKey(TableReference tableReference, SelectableMapping selectable) Convenience form for creating a key from TableReference and SelectableMappingdefault ExpressionSqlExpressionResolver.resolveSqlExpression(TableReference tableReference, SelectableMapping selectableMapping) -
Uses of SelectableMapping in org.hibernate.sql.ast.spi.model
Methods in org.hibernate.sql.ast.spi.model with parameters of type SelectableMappingModifier and TypeMethodDescriptionvoidColumnValueParameterList.accept(int selectionIndex, SelectableMapping selectableMapping) ColumnValueParameterList.addColumValueParameter(SelectableMapping selectableMapping) voidColumnValueBindingList.addNullRestriction(SelectableMapping column) voidColumnValueBindingList.addRestriction(SelectableMapping column) voidColumnValueBindingList.addTenantRestriction(SelectableMapping column) voidColumnValueBindingList.consume(int valueIndex, Object value, SelectableMapping jdbcValueMapping) protected ColumnValueBindingColumnValueBindingList.createValueBinding(SelectableMapping column, String customWriteExpression) booleanColumnValueBinding.matches(SelectableMapping selectableMapping) Constructors in org.hibernate.sql.ast.spi.model with parameters of type SelectableMappingModifierConstructorDescriptionColumnWriteFragment(String fragment, List<ColumnValueParameter> parameters, SelectableMapping selectableMapping) ColumnWriteFragment(String fragment, SelectableMapping selectableMapping) ColumnWriteFragment(String fragment, ColumnValueParameter parameter, SelectableMapping selectableMapping) ColumnWriteFragment(List<ColumnValueParameter> parameters, SelectableMapping selectableMapping, Expression expression) -
Uses of SelectableMapping in org.hibernate.sql.ast.spi.model.builder
Methods in org.hibernate.sql.ast.spi.model.builder with parameters of type SelectableMappingModifier and TypeMethodDescriptionvoidMutationGroupBuilder.accept(int selectionIndex, SelectableMapping selectableMapping) default voidTableInsertBuilder.accept(int selectionIndex, SelectableMapping selectableMapping) Allows using the insert builder as selectable consumer.default voidTableUpdateBuilder.accept(int selectionIndex, SelectableMapping selectableMapping) Allows using the update builder as selectable consumer.protected voidAbstractTableMutationBuilder.addColumn(String columnWriteFragment, SelectableMapping selectableMapping, List<ColumnValueBinding> list) voidAbstractTableInsertBuilder.addColumnAssignment(SelectableMapping columnMapping) voidAbstractTableInsertBuilder.addColumnAssignment(SelectableMapping columnMapping, String assignment) voidAbstractTableUpdateBuilder.addColumnAssignment(SelectableMapping columnMapping, String assignment) default voidAssigningTableMutationBuilder.addColumnAssignment(int index, SelectableMapping selectableMapping) Acts as aSelectableConsumer.default voidAssigningTableMutationBuilder.addColumnAssignment(SelectableMapping columnMapping) Adds a column assignment defined bycolumnMapping = {columnMapping.getWriteExpression()}voidAssigningTableMutationBuilder.addColumnAssignment(SelectableMapping columnMapping, String assignment) Adds a column assignment defined bycolumnMapping = assignmentdefault voidRestrictedTableMutationBuilder.addKeyRestriction(SelectableMapping selectableMapping) Add a restriction as long as the selectable is not a formula and is not nullablevoidAbstractRestrictedTableMutationBuilder.addKeyRestrictionBinding(SelectableMapping selectableMapping) voidRestrictedTableMutationBuilder.addKeyRestrictionBinding(SelectableMapping selectableMapping) Add a restriction as long as the selectable is not a formula and is not nullabledefault voidRestrictedTableMutationBuilder.addKeyRestrictionLeniently(SelectableMapping selectableMapping) Add a restriction as long as the selectable is not a formulavoidAbstractRestrictedTableMutationBuilder.addNonKeyRestriction(SelectableMapping restrictableMapping, String restrictionExpression) default voidRestrictedTableMutationBuilder.addNonKeyRestriction(SelectableMapping restrictableMapping) Adds a restriction, which is assumed to be based on a selectable that is NOT a table key, e.g.voidRestrictedTableMutationBuilder.addNonKeyRestriction(SelectableMapping restrictableMapping, String restrictionExpression) Adds a restriction, which is assumed to be based on a selectable that is NOT a table key, e.g.voidAbstractRestrictedTableMutationBuilder.addNullOptimisticLockRestriction(SelectableMapping column) voidRestrictedTableMutationBuilder.addNullOptimisticLockRestriction(SelectableMapping column) default voidRestrictedTableMutationBuilder.addNullRestriction(SelectableMapping column) voidAbstractRestrictedTableMutationBuilder.addOptimisticLockRestriction(SelectableMapping selectableMapping) default voidRestrictedTableMutationBuilder.addOptimisticLockRestriction(int position, SelectableMapping selectableMapping) voidRestrictedTableMutationBuilder.addOptimisticLockRestriction(SelectableMapping selectableMapping) Add restriction based on non-version optimistically-locked columndefault voidAssigningTableMutationBuilder.addValueColumn(int index, SelectableMapping selectableMapping) Deprecated.default voidAssigningTableMutationBuilder.addValueColumn(String columnWriteFragment, SelectableMapping selectableMapping) Deprecated.default voidAssigningTableMutationBuilder.addValueColumn(SelectableMapping selectableMapping) Deprecated.static ColumnWriteFragmentColumnValueBindingBuilder.buildWriteFragment(String writeExpression, SelectableMapping selectableMapping, MutatingTableReference mutatingTableReference, ColumnReference columnReference, ParameterUsage parameterUsage, Consumer<Object> parameterConsumer) static TenantIdColumnValueBindingColumnValueBindingBuilder.createTenantRestriction(SelectableMapping selectableMapping, MutatingTableReference mutatingTableReference, Consumer<Object> parameterConsumer) protected ColumnValueBindingAbstractTableMutationBuilder.createValueBinding(String columnWriteFragment, SelectableMapping selectableMapping) protected ColumnValueBindingAbstractTableMutationBuilder.createValueBinding(String customWriteExpression, SelectableMapping selectableMapping, ParameterUsage parameterUsage) static ColumnValueBindingColumnValueBindingBuilder.createValueBinding(String writeExpression, SelectableMapping selectableMapping, MutatingTableReference mutatingTableReference, ParameterUsage parameterUsage, Consumer<Object> parameterConsumer) booleanAbstractTableInsertBuilder.hasColumnAssignment(SelectableMapping selectableMapping) booleanTableInsertBuilder.hasColumnAssignment(SelectableMapping selectableMapping) Method parameters in org.hibernate.sql.ast.spi.model.builder with type arguments of type SelectableMappingModifier and TypeMethodDescriptionvoidAbstractTableUpdateBuilder.setColumnInclusion(Predicate<SelectableMapping> columnInclusion) Limit assignments made through selectable mappings, including generated assignments.voidTableUpdateBuilder.setColumnInclusion(Predicate<SelectableMapping> columnInclusion) Limit assignments, including generated assignments, to the included columns. -
Uses of SelectableMapping in org.hibernate.sql.ast.spi.query.expression
Methods in org.hibernate.sql.ast.spi.query.expression that return SelectableMappingMethods in org.hibernate.sql.ast.spi.query.expression with parameters of type SelectableMappingModifier and TypeMethodDescriptionAggregateColumnWriteExpression.getValueExpression(SelectableMapping selectableMapping) Constructors in org.hibernate.sql.ast.spi.query.expression with parameters of type SelectableMappingModifierConstructorDescriptionAggregateColumnWriteExpression(ColumnReference aggregateColumnReference, AggregateWriteExpressionRenderer columnWriter, SelectableMapping[] selectableMappings, Expression[] valueExpressions) ColumnReference(String qualifier, SelectableMapping selectableMapping) ColumnReference(String qualifier, SelectableMapping selectableMapping, JdbcMapping jdbcMapping) ColumnReference(TableReference tableReference, SelectableMapping selectableMapping) NestedColumnReference(EmbeddableFunctionTableReference tableReference, SelectableMapping selectableMapping)
AssigningTableMutationBuilder.addColumnAssignment(int, SelectableMapping)instead.