Package org.hibernate.metamodel.mapping
Interface Queryable
-
- All Superinterfaces:
Bindable
,JdbcMappingContainer
,MappingModelExpressible
,ModelPart
- All Known Subinterfaces:
DiscriminatedAssociationModelPart
,EmbeddableMappingType
,EmbeddableValuedFetchable
,EmbeddableValuedModelPart
,EntityAssociationMapping
,EntityMappingType
,EntityPersister
,EntityValuedFetchable
,EntityValuedModelPart
,FetchableContainer
,InFlightEntityMappingType
,Loadable
,Loadable
,Lockable
,ManagedMappingType
,ModelPartContainer
,NonAggregatedIdentifierMapping
,NonAggregatedIdentifierMapping.IdentifierValueMapper
,OuterJoinLoadable
,PluralAttributeMapping
,PostInsertIdentityPersister
,Queryable
,RootTableGroupProducer
,SQLLoadable
,TableGroupJoinProducer
,TableGroupProducer
,UniqueKeyLoadable
- All Known Implementing Classes:
AbstractCompositeIdentifierMapping
,AbstractEmbeddableMapping
,AbstractEntityPersister
,AnonymousTupleEmbeddableValuedModelPart
,AnonymousTupleEmbeddedEntityIdentifierMapping
,AnonymousTupleEntityValuedModelPart
,AnonymousTupleNonAggregatedEntityIdentifierMapping
,AnonymousTupleTableGroupProducer
,CompoundNaturalIdMapping
,DiscriminatedAssociationAttributeMapping
,DiscriminatedCollectionPart
,EmbeddableMappingTypeImpl
,EmbeddedAttributeMapping
,EmbeddedCollectionPart
,EmbeddedIdentifierMappingImpl
,EntityCollectionPart
,IdClassEmbeddable
,InverseNonAggregatedIdentifierMapping
,JoinedSubclassEntityPersister
,NonAggregatedIdentifierMappingImpl
,PluralAttributeMappingImpl
,SingleTableEntityPersister
,ToOneAttributeMapping
,UnionSubclassEntityPersister
,VirtualEmbeddedAttributeMapping
,VirtualIdEmbeddable
public interface Queryable extends ModelPart
Defines a mapping model contract for things that can be queried in the HQL, Criteria, etc sense. Generally this
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.hibernate.metamodel.mapping.Bindable
Bindable.JdbcValuesConsumer
-
Nested classes/interfaces inherited from interface org.hibernate.metamodel.mapping.ModelPart
ModelPart.JdbcValueConsumer
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default ModelPart
findByPath(String path)
ModelPart
findSubPart(String name, EntityMappingType treatTargetType)
For an entity, this form allows for Hibernate's "implicit treat" support - meaning it should find a sub-part whether defined on the entity, its super-type or even one of its sub-types.default ModelPart
findSubTypesSubPart(String name, EntityMappingType treatTargetType)
For an entity, this form allows for Hibernate's "implicit treat" support - meaning it should find a sub-part whether defined on the entity or one of its sub-types.default ModelPart
resolveSubPart(DotIdentifierSequence path)
void
visitSubParts(Consumer<ModelPart> consumer, EntityMappingType treatTargetType)
LikefindSubPart(java.lang.String, org.hibernate.metamodel.mapping.EntityMappingType)
, this form visits all parts defined on the entity, its super-types and its sub-types.-
Methods inherited from interface org.hibernate.metamodel.mapping.Bindable
disassemble, forEachDisassembledJdbcValue, forEachDisassembledJdbcValue, forEachJdbcType, forEachJdbcValue, forEachJdbcValue, getJdbcMappings, getJdbcTypeCount
-
Methods inherited from interface org.hibernate.metamodel.mapping.JdbcMappingContainer
forEachJdbcType
-
Methods inherited from interface org.hibernate.metamodel.mapping.ModelPart
applySqlSelections, applySqlSelections, areEqual, asAttributeMapping, breakDownJdbcValues, createDomainResult, findContainingEntityMapping, forEachSelectable, forEachSelectable, getJavaType, getNavigableRole, getPartMappingType, getPartName
-
-
-
-
Method Detail
-
findSubPart
ModelPart findSubPart(String name, EntityMappingType treatTargetType)
For an entity, this form allows for Hibernate's "implicit treat" support - meaning it should find a sub-part whether defined on the entity, its super-type or even one of its sub-types.
-
resolveSubPart
default ModelPart resolveSubPart(DotIdentifierSequence path)
-
findSubTypesSubPart
default ModelPart findSubTypesSubPart(String name, EntityMappingType treatTargetType)
For an entity, this form allows for Hibernate's "implicit treat" support - meaning it should find a sub-part whether defined on the entity or one of its sub-types.
-
visitSubParts
void visitSubParts(Consumer<ModelPart> consumer, EntityMappingType treatTargetType)
LikefindSubPart(java.lang.String, org.hibernate.metamodel.mapping.EntityMappingType)
, this form visits all parts defined on the entity, its super-types and its sub-types.
-
-