Package org.hibernate.metamodel.mapping
Interface SelectableMappings
-
- All Known Subinterfaces:
AggregatedIdentifierMapping
,AttributeMapping
,BasicEntityIdentifierMapping
,BasicValuedModelPart
,CollectionIdentifierDescriptor
,CollectionPart
,CompositeIdentifierMapping
,DiscriminatorMapping
,EmbeddableMappingType
,EmbeddableValuedFetchable
,EmbeddableValuedModelPart
,EntityCollectionPart
,EntityDiscriminatorMapping
,EntityIdentifierMapping
,EntityVersionMapping
,ForeignKeyDescriptor
,NonAggregatedIdentifierMapping
,NonAggregatedIdentifierMapping.IdentifierValueMapper
,OwnedValuedModelPart
,PluralAttributeMapping
,SingleAttributeIdentifierMapping
,SingularAttributeMapping
,ValuedModelPart
- All Known Implementing Classes:
AbstractAttributeMapping
,AbstractCompositeIdentifierMapping
,AbstractDiscriminatorMapping
,AbstractEmbeddableMapping
,AbstractEntityCollectionPart
,AbstractSingularAttributeMapping
,AbstractStateArrayContributorMapping
,AnonymousTupleBasicEntityIdentifierMapping
,AnonymousTupleBasicValuedModelPart
,AnonymousTupleEmbeddableValuedModelPart
,AnonymousTupleEmbeddedEntityIdentifierMapping
,AnonymousTupleEntityValuedModelPart
,AnonymousTupleNonAggregatedEntityIdentifierMapping
,AnyDiscriminatorPart
,AnyKeyPart
,BasicAttributeMapping
,BasicEntityIdentifierMappingImpl
,BasicValuedCollectionPart
,CaseStatementDiscriminatorMappingImpl
,CollectionIdentifierDescriptorImpl
,DiscriminatedAssociationAttributeMapping
,DiscriminatedCollectionPart
,EmbeddableMappingTypeImpl
,EmbeddedAttributeMapping
,EmbeddedCollectionPart
,EmbeddedForeignKeyDescriptor
,EmbeddedIdentifierMappingImpl
,EntityTableMapping.KeyMapping
,EntityVersionMappingImpl
,ExplicitColumnDiscriminatorMappingImpl
,IdClassEmbeddable
,InverseNonAggregatedIdentifierMapping
,ManyToManyCollectionPart
,NonAggregatedIdentifierMappingImpl
,OneToManyCollectionPart
,PluralAttributeMappingImpl
,SelectableMappingsImpl
,SimpleForeignKeyDescriptor
,ToOneAttributeMapping
,VirtualEmbeddedAttributeMapping
,VirtualIdEmbeddable
public interface SelectableMappings
A container for multiple selectable (column, formula) mappings.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description int
forEachSelectable(int offset, SelectableConsumer consumer)
Visit each contained selectable mapping.default int
forEachSelectable(SelectableConsumer consumer)
Same asforEachSelectable(int, SelectableConsumer)
, with an implicit offset of `0`int
getJdbcTypeCount()
The number of selectablesSelectableMapping
getSelectable(int columnIndex)
Get the selectable at the given position
-
-
-
Method Detail
-
getJdbcTypeCount
int getJdbcTypeCount()
The number of selectables
-
getSelectable
SelectableMapping getSelectable(int columnIndex)
Get the selectable at the given position
-
forEachSelectable
int forEachSelectable(int offset, SelectableConsumer consumer)
Visit each contained selectable mapping. As the selectables are iterated, we call `SelectionConsumer` passing along `offset` + our current iteration index. The return is the number of selectables we directly contain
-
forEachSelectable
default int forEachSelectable(SelectableConsumer consumer)
Same asforEachSelectable(int, SelectableConsumer)
, with an implicit offset of `0`
-
-