Uses of Interface
org.hibernate.metamodel.mapping.SelectableMapping
Packages that use SelectableMapping
Package
Description
Support for
Dialect
-specific aggregate column types,
including user-defined composite types, and JSON or XML types.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, which describes the mapping
of the application's domain model parts (entities, attributes) to
relational database objects (tables, columns).
This package abstracts persistence mechanisms for entities.
Defines support for performing mutation operations originating
from persistence-context events.
Package defining support for
SqmFunctionDescriptor
handling.Package defining support for creating and consuming a SQL AST.
AST nodes representing expressions in a SQL tree.
SQL AST extensions for model mutations.
Support for building
TableMutation
references for persisting entity mutation events-
Uses of SelectableMapping in org.hibernate.dialect.aggregate
Methods in org.hibernate.dialect.aggregate with parameters of type SelectableMappingModifier and TypeMethodDescriptionAggregateSupport.aggregateCustomWriteExpressionRenderer
(SelectableMapping aggregateColumn, SelectableMapping[] columnsToUpdate, TypeConfiguration typeConfiguration) AggregateSupportImpl.aggregateCustomWriteExpressionRenderer
(SelectableMapping aggregateColumn, SelectableMapping[] columnsToUpdate, TypeConfiguration typeConfiguration) CockroachDBAggregateSupport.aggregateCustomWriteExpressionRenderer
(SelectableMapping aggregateColumn, SelectableMapping[] columnsToUpdate, TypeConfiguration typeConfiguration) DB2AggregateSupport.aggregateCustomWriteExpressionRenderer
(SelectableMapping aggregateColumn, SelectableMapping[] columnsToUpdate, TypeConfiguration typeConfiguration) H2AggregateSupport.aggregateCustomWriteExpressionRenderer
(SelectableMapping aggregateColumn, SelectableMapping[] columnsToUpdate, TypeConfiguration typeConfiguration) HANAAggregateSupport.aggregateCustomWriteExpressionRenderer
(SelectableMapping aggregateColumn, SelectableMapping[] columnsToUpdate, TypeConfiguration typeConfiguration) MySQLAggregateSupport.aggregateCustomWriteExpressionRenderer
(SelectableMapping aggregateColumn, SelectableMapping[] columnsToUpdate, TypeConfiguration typeConfiguration) OracleAggregateSupport.aggregateCustomWriteExpressionRenderer
(SelectableMapping aggregateColumn, SelectableMapping[] columnsToUpdate, TypeConfiguration typeConfiguration) PostgreSQLAggregateSupport.aggregateCustomWriteExpressionRenderer
(SelectableMapping aggregateColumn, SelectableMapping[] columnsToUpdate, TypeConfiguration typeConfiguration) SQLServerAggregateSupport.aggregateCustomWriteExpressionRenderer
(SelectableMapping aggregateColumn, SelectableMapping[] columnsToUpdate, TypeConfiguration typeConfiguration) SybaseASEAggregateSupport.aggregateCustomWriteExpressionRenderer
(SelectableMapping aggregateColumn, SelectableMapping[] columnsToUpdate, TypeConfiguration typeConfiguration) AggregateSupport.AggregateColumnWriteExpression.getValueExpression
(SelectableMapping selectableMapping) Returns the value expression to assign to the given selectable mapping, or throws anIllegalArgumentException
when an invalid selectable mapping is passed. -
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 void
JsonTableSetReturningFunctionTypeResolver.addSelectableMapping
(List<SelectableMapping> selectableMappings, String name, JdbcMapping type, SqmToSqlAstConverter converter) protected void
JsonTableSetReturningFunctionTypeResolver.addSelectableMappings
(List<SelectableMapping> selectableMappings, JsonTableColumnsClause columnsClause, SqmToSqlAstConverter converter) protected void
JsonTableSetReturningFunctionTypeResolver.addSelectableMappings
(List<SelectableMapping> selectableMappings, JsonTableExistsColumnDefinition definition, SqmToSqlAstConverter converter) protected void
JsonTableSetReturningFunctionTypeResolver.addSelectableMappings
(List<SelectableMapping> selectableMappings, JsonTableNestedColumnDefinition columnDefinition, SqmToSqlAstConverter converter) protected void
JsonTableSetReturningFunctionTypeResolver.addSelectableMappings
(List<SelectableMapping> selectableMappings, JsonTableOrdinalityColumnDefinition definition, SqmToSqlAstConverter converter) protected void
JsonTableSetReturningFunctionTypeResolver.addSelectableMappings
(List<SelectableMapping> selectableMappings, JsonTableQueryColumnDefinition definition, SqmToSqlAstConverter converter) protected void
JsonTableSetReturningFunctionTypeResolver.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 void
XmlTableSetReturningFunctionTypeResolver.addSelectableMapping
(List<SelectableMapping> selectableMappings, String name, JdbcMapping type, SqmToSqlAstConverter converter) protected void
XmlTableSetReturningFunctionTypeResolver.addSelectableMappings
(List<SelectableMapping> selectableMappings, XmlTableColumnsClause columnsClause, SqmToSqlAstConverter converter) protected void
XmlTableSetReturningFunctionTypeResolver.addSelectableMappings
(List<SelectableMapping> selectableMappings, XmlTableOrdinalityColumnDefinition definition, SqmToSqlAstConverter converter) protected void
XmlTableSetReturningFunctionTypeResolver.addSelectableMappings
(List<SelectableMapping> selectableMappings, XmlTableQueryColumnDefinition definition, SqmToSqlAstConverter converter) protected void
XmlTableSetReturningFunctionTypeResolver.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 void
JdbcValueBindings.bindValue
(Object value, SelectableMapping selectableMapping, ParameterUsage usage) Binds a value for a specific column+usage -
Uses of SelectableMapping in org.hibernate.loader.ast.internal
Methods in org.hibernate.loader.ast.internal with parameters of type SelectableMappingModifier and TypeMethodDescriptionprotected Expression
AbstractNaturalIdLoader.resolveColumnReference
(TableGroup rootTableGroup, SelectableMapping selectableMapping, SqlExpressionResolver sqlExpressionResolver, SessionFactoryImplementor sessionFactory) Helper to resolve ColumnReferences -
Uses of SelectableMapping in org.hibernate.metamodel.mapping
Subinterfaces of SelectableMapping in org.hibernate.metamodel.mappingModifier and TypeInterfaceDescriptioninterface
Mapping for a simple, single-column identifierinterface
Describes a ModelPart which is a basic value, either aBasic
attribute a basic-valued collection partinterface
Descriptor for the collection identifier.interface
Mapping of a discriminator, for either entity or association (ANY) discrimination.interface
Details about the discriminator for an embeddable hierarchy.interface
Details about the discriminator for an entity hierarchy.interface
Mapping of a row-idinterface
Describes the mapping of an entity's versioninterface
Metadata about the indicator column for entities and collections enabled for soft deletestatic interface
Details about a column within the key groupClasses in org.hibernate.metamodel.mapping that implement SelectableMappingMethods in org.hibernate.metamodel.mapping that return SelectableMappingModifier and TypeMethodDescriptiondefault SelectableMapping
EmbeddableMappingType.getAggregateMapping()
default SelectableMapping
EmbeddableMappingType.getJdbcValueSelectable
(int columnIndex) default SelectableMapping
BasicValuedModelPart.getSelectable
(int columnIndex) default SelectableMapping
EmbeddableValuedModelPart.getSelectable
(int columnIndex) ForeignKeyDescriptor.getSelectable
(int columnIndex) SelectableMappings.getSelectable
(int columnIndex) Get the selectable at the given positionMethods in org.hibernate.metamodel.mapping with parameters of type SelectableMappingModifier and TypeMethodDescriptionvoid
SelectableConsumer.accept
(int selectionIndex, SelectableMapping selectableMapping) Accept the selectable mapping.void
ModelPart.JdbcValueBiConsumer.consume
(int valueIndex, X x, Y y, Object value, SelectableMapping jdbcValueMapping) Consume a JDBC-level jdbcValue.default void
ModelPart.JdbcValueConsumer.consume
(int valueIndex, Object x, Object y, Object value, SelectableMapping jdbcValueMapping) void
ModelPart.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 TypeMethodDescriptionForeignKeyDescriptor.withKeySelectionMapping
(ManagedMappingType declaringType, TableGroupProducer declaringTableGroupProducer, IntFunction<SelectableMapping> selectableMappingAccess, 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 TypeClassDescriptionclass
class
Acts as a ModelPart for the discriminator portion of an any-valued mappingclass
Acts as a ModelPart for the key portion of an any-valued mappingclass
class
Mapping of a simple identifierclass
Models a basic collection element/value or index/keyclass
class
class
class
class
class
class
class
SoftDeleteMapping implementationMethods in org.hibernate.metamodel.mapping.internal that return SelectableMappingModifier and TypeMethodDescriptionstatic SelectableMapping
SelectableMappingImpl.from
(String containingTableExpression, Selectable selectable, JdbcMapping jdbcMapping, TypeConfiguration typeConfiguration, boolean insertable, boolean updateable, boolean partitioned, boolean forceNotNullable, Dialect dialect, SqmFunctionRegistry sqmFunctionRegistry, RuntimeModelCreationContext creationContext) static SelectableMapping
SelectableMappingImpl.from
(String containingTableExpression, Selectable selectable, JdbcMapping jdbcMapping, TypeConfiguration typeConfiguration, boolean insertable, boolean updateable, boolean partitioned, Dialect dialect, SqmFunctionRegistry sqmFunctionRegistry, RuntimeModelCreationContext creationContext) static SelectableMapping
SelectableMappingImpl.from
(String containingTableExpression, Selectable selectable, SelectablePath parentPath, JdbcMapping jdbcMapping, TypeConfiguration typeConfiguration, boolean insertable, boolean updateable, boolean partitioned, boolean forceNotNullable, Dialect dialect, SqmFunctionRegistry sqmFunctionRegistry, RuntimeModelCreationContext creationContext) static SelectableMapping
SelectableMappingImpl.from
(String containingTableExpression, Selectable selectable, SelectablePath parentPath, JdbcMapping jdbcMapping, TypeConfiguration typeConfiguration, boolean insertable, boolean updateable, boolean partitioned, Dialect dialect, SqmFunctionRegistry sqmFunctionRegistry, RuntimeModelCreationContext creationContext) EmbeddableMappingTypeImpl.getAggregateMapping()
AbstractEmbeddableMapping.getSelectable
(int columnIndex) DiscriminatedAssociationAttributeMapping.getSelectable
(int columnIndex) DiscriminatedCollectionPart.getSelectable
(int columnIndex) EmbeddedForeignKeyDescriptor.getSelectable
(int columnIndex) ManyToManyCollectionPart.getSelectable
(int columnIndex) OneToManyCollectionPart.getSelectable
(int columnIndex) PluralAttributeMappingImpl.getSelectable
(int columnIndex) SelectableMappingsImpl.getSelectable
(int columnIndex) SimpleForeignKeyDescriptor.getSelectable
(int columnIndex) ToOneAttributeMapping.getSelectable
(int columnIndex) Methods in org.hibernate.metamodel.mapping.internal with parameters of type SelectableMappingModifier and TypeMethodDescriptionstatic BasicAttributeMapping
BasicAttributeMapping.withSelectableMapping
(ManagedMappingType declaringType, BasicValuedModelPart original, PropertyAccess propertyAccess, boolean insertable, boolean updateable, SelectableMapping selectableMapping) Method parameters in org.hibernate.metamodel.mapping.internal with type arguments of type SelectableMappingModifier and TypeMethodDescriptionEmbeddedForeignKeyDescriptor.withKeySelectionMapping
(ManagedMappingType declaringType, TableGroupProducer declaringTableGroupProducer, IntFunction<SelectableMapping> selectableMappingAccess, MappingModelCreationProcess creationProcess) SimpleForeignKeyDescriptor.withKeySelectionMapping
(ManagedMappingType declaringType, TableGroupProducer declaringTableGroupProducer, IntFunction<SelectableMapping> selectableMappingAccess, MappingModelCreationProcess creationProcess) Constructors in org.hibernate.metamodel.mapping.internal with parameters of type SelectableMappingModifierConstructorDescriptionBasicValuedCollectionPart
(CollectionPersister collectionDescriptor, CollectionPart.Nature nature, SelectableMapping selectableMapping) SelectableMappingsImpl
(SelectableMapping[] selectableMappings) SimpleForeignKeyDescriptor
(ManagedMappingType keyDeclaringType, BasicValuedModelPart keyModelPart, PropertyAccess keyPropertyAccess, SelectableMapping keySelectableMapping, BasicValuedModelPart targetModelPart, boolean insertable, boolean updateable, boolean refersToPrimaryKey, boolean hasConstraint) SimpleForeignKeyDescriptor
(ManagedMappingType keyDeclaringType, SelectableMapping keySelectableMapping, BasicValuedModelPart targetModelPart, boolean refersToPrimaryKey, boolean hasConstraint) SimpleForeignKeyDescriptor
(ManagedMappingType keyDeclaringType, SelectableMapping keySelectableMapping, PropertyAccess valueAccess, BasicValuedModelPart targetModelPart, boolean refersToPrimaryKey, boolean hasConstraint, boolean swapDirection) -
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 SelectableMappingMethods in org.hibernate.persister.entity.mutation with parameters of type SelectableMappingModifier and TypeMethodDescriptionUpdateCoordinatorStandard.physicalTableMappingForMutation
(EntityPersister persister, SelectableMapping selectableMapping) EntityMutationTarget.physicalTableNameForMutation
(SelectableMapping selectableMapping) -
Uses of SelectableMapping in org.hibernate.query.derived
Classes in org.hibernate.query.derived that implement SelectableMappingModifier and TypeClassDescriptionclass
class
Methods in org.hibernate.query.derived that return SelectableMappingModifier and TypeMethodDescriptionAnonymousTupleEmbeddableValuedModelPart.getSelectable
(int columnIndex) AnonymousTupleEntityValuedModelPart.getSelectable
(int columnIndex) Constructors in org.hibernate.query.derived with parameters of type SelectableMappingModifierConstructorDescriptionAnonymousTupleBasicEntityIdentifierMapping
(MappingType declaringType, SelectableMapping selectableMapping, SqmExpressible<?> expressible, BasicEntityIdentifierMapping delegate) AnonymousTupleBasicValuedModelPart
(MappingType declaringType, String partName, SelectableMapping selectableMapping, SqmExpressible<?> expressible, int fetchableIndex) -
Uses of SelectableMapping in org.hibernate.query.results.internal
Methods in org.hibernate.query.results.internal with parameters of type SelectableMappingModifier and TypeMethodDescriptionstatic Expression
ResultsHelper.resolveSqlExpression
(DomainResultCreationStateImpl resolver, TableReference tableReference, SelectableMapping selectableMapping, int valuesArrayPosition) static Expression
ResultsHelper.resolveSqlExpression
(DomainResultCreationStateImpl resolver, JdbcValuesMetadata jdbcValuesMetadata, TableReference tableReference, SelectableMapping selectableMapping, String columnAlias) -
Uses of SelectableMapping in org.hibernate.query.sqm.mutation.internal
Methods in org.hibernate.query.sqm.mutation.internal with parameters of type SelectableMappingModifier and TypeMethodDescriptionstatic SqmSelection<Object>
SelectableMappingExpressionConverter.forSelectableMapping
(SqmFrom<?, ?> from, SelectableMapping 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 elementsSqlExpressible
for a function given its arguments to this call. -
Uses of SelectableMapping in org.hibernate.sql.ast.spi
Methods in org.hibernate.sql.ast.spi 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 Expression
SqlExpressionResolver.resolveSqlExpression
(TableReference tableReference, SelectableMapping selectableMapping) -
Uses of SelectableMapping in org.hibernate.sql.ast.tree.expression
Methods in org.hibernate.sql.ast.tree.expression that return SelectableMappingMethods in org.hibernate.sql.ast.tree.expression with parameters of type SelectableMappingModifier and TypeMethodDescriptionAggregateColumnWriteExpression.getValueExpression
(SelectableMapping selectableMapping) Constructors in org.hibernate.sql.ast.tree.expression with parameters of type SelectableMappingModifierConstructorDescriptionAggregateColumnWriteExpression
(ColumnReference aggregateColumnReference, AggregateSupport.WriteExpressionRenderer columnWriter, SelectableMapping[] selectableMappings, Expression[] valueExpressions) ColumnReference
(@Nullable String qualifier, SelectableMapping selectableMapping) ColumnReference
(@Nullable String qualifier, SelectableMapping selectableMapping, JdbcMapping jdbcMapping) ColumnReference
(TableReference tableReference, SelectableMapping selectableMapping) NestedColumnReference
(EmbeddableFunctionTableReference tableReference, SelectableMapping selectableMapping) -
Uses of SelectableMapping in org.hibernate.sql.model.ast
Methods in org.hibernate.sql.model.ast with parameters of type SelectableMappingModifier and TypeMethodDescriptionvoid
ColumnValueParameterList.accept
(int selectionIndex, SelectableMapping selectableMapping) void
ColumnValueBindingList.addNullRestriction
(SelectableMapping column) void
ColumnValueBindingList.consume
(int valueIndex, Object value, SelectableMapping jdbcValueMapping) -
Uses of SelectableMapping in org.hibernate.sql.model.ast.builder
Methods in org.hibernate.sql.model.ast.builder with parameters of type SelectableMappingModifier and TypeMethodDescriptionvoid
MutationGroupBuilder.accept
(int selectionIndex, SelectableMapping selectableMapping) default void
TableInsertBuilder.accept
(int selectionIndex, SelectableMapping selectableMapping) Allows using the insert builder as selectable consumer.default void
TableUpdateBuilder.accept
(int selectionIndex, SelectableMapping selectableMapping) Allows using the update builder as selectable consumer.default void
ColumnValuesTableMutationBuilder.addKeyColumn
(SelectableMapping selectableMapping) Add a key columndefault void
RestrictedTableMutationBuilder.addKeyRestriction
(SelectableMapping selectableMapping) Add a restriction as long as the selectable is not a formula and is not nullabledefault void
RestrictedTableMutationBuilder.addKeyRestrictionLeniently
(SelectableMapping selectableMapping) Add a restriction as long as the selectable is not a formulavoid
AbstractRestrictedTableMutationBuilder.addNullOptimisticLockRestriction
(SelectableMapping column) void
RestrictedTableMutationBuilder.addNullOptimisticLockRestriction
(SelectableMapping column) void
TableDeleteBuilderSkipped.addNullOptimisticLockRestriction
(SelectableMapping column) void
TableUpdateBuilderSkipped.addNullOptimisticLockRestriction
(SelectableMapping column) default void
RestrictedTableMutationBuilder.addOptimisticLockRestriction
(SelectableMapping selectableMapping) Add restriction based on non-version optimistically-locked columndefault void
ColumnValuesTableMutationBuilder.addValueColumn
(SelectableMapping selectableMapping) Add a column as part of the values list