Uses of Interface
org.hibernate.metamodel.mapping.SelectableMapping
-
Packages that use SelectableMapping Package Description org.hibernate.dialect.aggregate Support forDialect
-specific aggregate column types, including user-defined composite types, and JSON or XML types.org.hibernate.engine.jdbc.mutation Package defining support for executing mutation SQL statements produced by an entity persister or collection persister.org.hibernate.loader.ast.internal org.hibernate.metamodel.mapping Defines the runtime mapping metamodel, which describes the mapping of the application's domain model parts (entities, attributes) to relational database objects (tables, columns).org.hibernate.metamodel.mapping.internal org.hibernate.persister.entity This package abstracts persistence mechanisms for entities.org.hibernate.persister.entity.mutation Defines support for performing mutation operations originating from persistence-context events.org.hibernate.query.derived org.hibernate.query.results Support for defining result set mappings used inNativeQuery
,ProcedureCall
, andStoredProcedureQuery
.org.hibernate.query.sqm.mutation.internal org.hibernate.sql.ast.spi Package defining support for creating and consuming a SQL AST.org.hibernate.sql.ast.tree.expression AST nodes representing expressions in a SQL tree.org.hibernate.sql.model.ast SQL AST extensions for model mutations.org.hibernate.sql.model.ast.builder Support for buildingTableMutation
references for persisting entity mutation events -
-
Uses of SelectableMapping in org.hibernate.dialect.aggregate
-
Uses of SelectableMapping in org.hibernate.engine.jdbc.mutation
Methods in org.hibernate.engine.jdbc.mutation with parameters of type SelectableMapping Modifier and Type Method Description default 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 SelectableMapping Modifier and Type Method Description protected 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.mapping Modifier and Type Interface Description interface
BasicEntityIdentifierMapping
Mapping for a simple, single-column identifierinterface
BasicValuedModelPart
Describes a ModelPart which is a basic value, either aBasic
attribute a basic-valued collection partinterface
CollectionIdentifierDescriptor
Descriptor for the collection identifier.interface
DiscriminatorMapping
Mapping of a discriminator, for either entity or association (ANY) discrimination.interface
EmbeddableDiscriminatorMapping
Details about the discriminator for an embeddable hierarchy.interface
EntityDiscriminatorMapping
Details about the discriminator for an entity hierarchy.interface
EntityRowIdMapping
Mapping of a row-idinterface
EntityVersionMapping
Describes the mapping of an entity's versioninterface
SoftDeleteMapping
Metadata about the indicator column for entities and collections enabled for soft deletestatic interface
TableDetails.KeyColumn
Details about a column within the key groupClasses in org.hibernate.metamodel.mapping that implement SelectableMapping Modifier and Type Class Description static class
SelectableConsumer.MutableSelectableMapping
Methods in org.hibernate.metamodel.mapping that return SelectableMapping Modifier and Type Method Description default SelectableMapping
EmbeddableMappingType. getAggregateMapping()
default SelectableMapping
EmbeddableMappingType. getJdbcValueSelectable(int columnIndex)
default SelectableMapping
BasicValuedModelPart. getSelectable(int columnIndex)
default SelectableMapping
EmbeddableValuedModelPart. getSelectable(int columnIndex)
SelectableMapping
ForeignKeyDescriptor. getSelectable(int columnIndex)
SelectableMapping
SelectableMappings. getSelectable(int columnIndex)
Get the selectable at the given positionMethods in org.hibernate.metamodel.mapping with parameters of type SelectableMapping Modifier and Type Method Description void
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 SelectableMapping Modifier and Type Method Description ForeignKeyDescriptor
ForeignKeyDescriptor. 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 SelectableMapping Modifier and Type Class Description class
AbstractDiscriminatorMapping
class
AnyDiscriminatorPart
Acts as a ModelPart for the discriminator portion of an any-valued mappingclass
AnyKeyPart
Acts as a ModelPart for the key portion of an any-valued mappingclass
BasicAttributeMapping
class
BasicEntityIdentifierMappingImpl
Mapping of a simple identifierclass
BasicValuedCollectionPart
Models a basic collection element/value or index/keyclass
CaseStatementDiscriminatorMappingImpl
class
CollectionIdentifierDescriptorImpl
class
EntityRowIdMappingImpl
class
EntityVersionMappingImpl
class
ExplicitColumnDiscriminatorMappingImpl
class
SelectableMappingImpl
class
SimpleForeignKeyDescriptor
class
SoftDeleteMappingImpl
SoftDeleteMapping implementationMethods in org.hibernate.metamodel.mapping.internal that return SelectableMapping Modifier and Type Method Description static 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)
SelectableMapping
EmbeddableMappingTypeImpl. getAggregateMapping()
SelectableMapping
AbstractEmbeddableMapping. getSelectable(int columnIndex)
SelectableMapping
DiscriminatedAssociationAttributeMapping. getSelectable(int columnIndex)
SelectableMapping
DiscriminatedCollectionPart. getSelectable(int columnIndex)
SelectableMapping
EmbeddedForeignKeyDescriptor. getSelectable(int columnIndex)
SelectableMapping
ManyToManyCollectionPart. getSelectable(int columnIndex)
SelectableMapping
OneToManyCollectionPart. getSelectable(int columnIndex)
SelectableMapping
PluralAttributeMappingImpl. getSelectable(int columnIndex)
SelectableMapping
SelectableMappingsImpl. getSelectable(int columnIndex)
SelectableMapping
SimpleForeignKeyDescriptor. getSelectable(int columnIndex)
SelectableMapping
ToOneAttributeMapping. getSelectable(int columnIndex)
Methods in org.hibernate.metamodel.mapping.internal with parameters of type SelectableMapping Modifier and Type Method Description static 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 SelectableMapping Modifier and Type Method Description ForeignKeyDescriptor
EmbeddedForeignKeyDescriptor. withKeySelectionMapping(ManagedMappingType declaringType, TableGroupProducer declaringTableGroupProducer, IntFunction<SelectableMapping> selectableMappingAccess, MappingModelCreationProcess creationProcess)
ForeignKeyDescriptor
SimpleForeignKeyDescriptor. withKeySelectionMapping(ManagedMappingType declaringType, TableGroupProducer declaringTableGroupProducer, IntFunction<SelectableMapping> selectableMappingAccess, MappingModelCreationProcess creationProcess)
Constructors in org.hibernate.metamodel.mapping.internal with parameters of type SelectableMapping Constructor Description BasicValuedCollectionPart(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 SelectableMapping Modifier and Type Method Description EntityTableMapping
AbstractEntityPersister. getPhysicalTableMappingForMutation(SelectableMapping selectableMapping)
String
AbstractEntityPersister. physicalTableNameForMutation(SelectableMapping selectableMapping)
Unfortunately we cannot directly use `SelectableMapping#getContainingTableExpression()` as that blows up for attributes declared on super-type for union-subclass mappingsString
UnionSubclassEntityPersister. physicalTableNameForMutation(SelectableMapping selectableMapping)
-
Uses of SelectableMapping in org.hibernate.persister.entity.mutation
Classes in org.hibernate.persister.entity.mutation that implement SelectableMapping Modifier and Type Class Description static class
EntityTableMapping.KeyColumn
Methods in org.hibernate.persister.entity.mutation that return SelectableMapping Modifier and Type Method Description SelectableMapping
EntityTableMapping.KeyMapping. getSelectable(int columnIndex)
-
Uses of SelectableMapping in org.hibernate.query.derived
Classes in org.hibernate.query.derived that implement SelectableMapping Modifier and Type Class Description class
AnonymousTupleBasicEntityIdentifierMapping
class
AnonymousTupleBasicValuedModelPart
Methods in org.hibernate.query.derived that return SelectableMapping Modifier and Type Method Description SelectableMapping
AnonymousTupleEmbeddableValuedModelPart. getSelectable(int columnIndex)
SelectableMapping
AnonymousTupleEntityValuedModelPart. getSelectable(int columnIndex)
-
Uses of SelectableMapping in org.hibernate.query.results
Methods in org.hibernate.query.results with parameters of type SelectableMapping Modifier and Type Method Description static 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 SelectableMapping Modifier and Type Method Description static SqmSelection<Object>
SelectableMappingExpressionConverter. forSelectableMapping(SqmFrom<?,?> from, SelectableMapping selectableMapping)
-
Uses of SelectableMapping in org.hibernate.sql.ast.spi
Methods in org.hibernate.sql.ast.spi with parameters of type SelectableMapping Modifier and Type Method Description static SqlExpressionResolver.ColumnReferenceKey
SqlExpressionResolver. createColumnReferenceKey(String tableExpression, SelectableMapping selectable)
Convenience form for creating a key from table expression and SelectableMappingstatic SqlExpressionResolver.ColumnReferenceKey
SqlExpressionResolver. 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 SelectableMapping Modifier and Type Method Description SelectableMapping[]
AggregateColumnWriteExpression. getSelectableMappings()
Methods in org.hibernate.sql.ast.tree.expression with parameters of type SelectableMapping Modifier and Type Method Description Expression
AggregateColumnWriteExpression. getValueExpression(SelectableMapping selectableMapping)
Constructors in org.hibernate.sql.ast.tree.expression with parameters of type SelectableMapping Constructor Description AggregateColumnWriteExpression(ColumnReference aggregateColumnReference, AggregateSupport.WriteExpressionRenderer 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)
-
Uses of SelectableMapping in org.hibernate.sql.model.ast
Methods in org.hibernate.sql.model.ast with parameters of type SelectableMapping Modifier and Type Method Description void
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 SelectableMapping Modifier and Type Method Description void
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
-