Package org.hibernate.sql.results.graph
Interface DatabaseSnapshotContributor
-
- All Superinterfaces:
Bindable
,Fetchable
,JdbcMappingContainer
,MappingModelExpressible
,ModelPart
- All Known Subinterfaces:
AttributeMapping
,PluralAttributeMapping
,SingularAttributeMapping
- All Known Implementing Classes:
AbstractAttributeMapping
,AbstractSingularAttributeMapping
,AbstractStateArrayContributorMapping
,BasicAttributeMapping
,DiscriminatedAssociationAttributeMapping
,EmbeddedAttributeMapping
,InverseNonAggregatedIdentifierMapping
,PluralAttributeMappingImpl
,ToOneAttributeMapping
,VirtualEmbeddedAttributeMapping
public interface DatabaseSnapshotContributor extends Fetchable
Contract for model-parts which contribute to their container's state array for database snapshots
-
-
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.IndexedJdbcValueConsumer, ModelPart.JdbcValueConsumer
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default <T> DomainResult<T>
createSnapshotDomainResult(NavigablePath navigablePath, TableGroup tableGroup, String resultVariable, DomainResultCreationState creationState)
Create a DomainResult to be used when selecting snapshots from the database.-
Methods inherited from interface org.hibernate.metamodel.mapping.Bindable
disassemble, forEachDisassembledJdbcValue, forEachDisassembledJdbcValue, forEachJdbcType, forEachJdbcValue, forEachJdbcValue, getJdbcMappings, getJdbcTypeCount
-
Methods inherited from interface org.hibernate.sql.results.graph.Fetchable
asAttributeMapping, generateFetch, getFetchableKey, getFetchableName, getMappedFetchOptions, incrementFetchDepth, resolveCircularFetch
-
Methods inherited from interface org.hibernate.metamodel.mapping.JdbcMappingContainer
forEachJdbcType
-
Methods inherited from interface org.hibernate.metamodel.mapping.ModelPart
applySqlSelections, applySqlSelections, areEqual, breakDownJdbcValues, createDomainResult, decompose, findContainingEntityMapping, forEachSelectable, forEachSelectable, getJavaType, getNavigableRole, getPartMappingType, getPartName, hasPartitionedSelectionMapping, isVirtual
-
-
-
-
Method Detail
-
createSnapshotDomainResult
default <T> DomainResult<T> createSnapshotDomainResult(NavigablePath navigablePath, TableGroup tableGroup, String resultVariable, DomainResultCreationState creationState)
Create a DomainResult to be used when selecting snapshots from the database.By default, simply use
ModelPart.createDomainResult(org.hibernate.spi.NavigablePath, org.hibernate.sql.ast.tree.from.TableGroup, java.lang.String, org.hibernate.sql.results.graph.DomainResultCreationState)
-
-