Uses of Interface
org.hibernate.metamodel.mapping.SelectableMapping
-
Packages that use SelectableMapping Package Description org.hibernate.dialect.aggregate org.hibernate.engine.jdbc.mutation Package defining support for performing mutation SQL (INSERT, UPDATE, DELETE) against an entity or collectionorg.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.collection.mutation Defines support for performing mutation operations against collections.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 eventsorg.hibernate.query.derived org.hibernate.query.results Support for defining result-set mappings used inNativeQuery
andProcedureCall
/StoredProcedureQuery
.org.hibernate.sql.ast.spi Package defining support for creating and consuming SQL ASTorg.hibernate.sql.ast.tree.expression Contracts related to expressions in a SQL treeorg.hibernate.sql.model.ast SQL AST extensions for model mutationsorg.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, SharedSessionContractImplementor session)
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
EntityDiscriminatorMapping
Details about the discriminator for an entity hierarchy.interface
EntityRowIdMapping
Mapping of a row-idinterface
EntityVersionMapping
Describes the mapping of an entity's versionClasses 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.IndexedJdbcValueConsumer. consume(int valueIndex, Object value, SelectableMapping jdbcValueMapping)
void
ModelPart.JdbcValueConsumer. consume(Object value, SelectableMapping jdbcValueMapping)
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
Methods 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, Dialect dialect, SqmFunctionRegistry sqmFunctionRegistry)
static SelectableMapping
SelectableMappingImpl. from(String containingTableExpression, Selectable selectable, SelectablePath parentPath, String selectableName, JdbcMapping jdbcMapping, TypeConfiguration typeConfiguration, boolean insertable, boolean updateable, boolean partitioned, Dialect dialect, SqmFunctionRegistry sqmFunctionRegistry)
static SelectableMapping
SelectableMappingImpl. from(String containingTableExpression, Selectable selectable, SelectablePath parentPath, JdbcMapping jdbcMapping, TypeConfiguration typeConfiguration, boolean insertable, boolean updateable, boolean partitioned, Dialect dialect, SqmFunctionRegistry sqmFunctionRegistry)
SelectableMapping
EmbeddableMappingTypeImpl. getAggregateMapping()
SelectableMapping
DiscriminatedAssociationAttributeMapping. getSelectable(int columnIndex)
SelectableMapping
DiscriminatedCollectionPart. getSelectable(int columnIndex)
SelectableMapping
EmbeddableMappingTypeImpl. getSelectable(int columnIndex)
SelectableMapping
EmbeddedForeignKeyDescriptor. getSelectable(int columnIndex)
SelectableMapping
IdClassEmbeddable. 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)
SelectableMapping
VirtualIdEmbeddable. 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.collection.mutation
Methods in org.hibernate.persister.collection.mutation with parameters of type SelectableMapping Modifier and Type Method Description default void
RowMutationOperations.ValuesBindingConsumer. consume(Object value, SelectableMapping jdbcValueMapping)
void
RowMutationOperations.ValuesBindingConsumer. consumeJdbcValueBinding(Object value, SelectableMapping jdbcValueMapping, ParameterUsage usage)
-
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
-
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)
-
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, JdbcValuesMetadata jdbcValuesMetadata, TableReference tableReference, SelectableMapping selectableMapping, String columnAlias)
-
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)
-
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)
-
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(int dummy, SelectableMapping selectableMapping)
Convenience form ofRestrictedTableMutationBuilder.addKeyRestriction(SelectableMapping)
matching the signature ofSelectableConsumer
allowing it to be used as a method reference in its place.default 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
-