Class ReactivePluralAttributeMapping

java.lang.Object
org.hibernate.metamodel.mapping.internal.AbstractAttributeMapping
org.hibernate.metamodel.mapping.internal.PluralAttributeMappingImpl
org.hibernate.reactive.metamodel.mapping.internal.ReactivePluralAttributeMapping
All Implemented Interfaces:
org.hibernate.engine.profile.internal.FetchProfileAffectee, org.hibernate.loader.ast.spi.Loadable, org.hibernate.metamodel.mapping.AttributeMapping, org.hibernate.metamodel.mapping.Bindable, org.hibernate.metamodel.mapping.FilterRestrictable, org.hibernate.metamodel.mapping.JdbcMappingContainer, org.hibernate.metamodel.mapping.MappingModelExpressible, org.hibernate.metamodel.mapping.ModelPart, org.hibernate.metamodel.mapping.ModelPartContainer, org.hibernate.metamodel.mapping.OwnedValuedModelPart, org.hibernate.metamodel.mapping.PluralAttributeMapping, org.hibernate.metamodel.mapping.PropertyBasedMapping, org.hibernate.metamodel.mapping.Restrictable, org.hibernate.metamodel.mapping.SelectableMappings, org.hibernate.metamodel.mapping.SoftDeletableModelPart, org.hibernate.metamodel.mapping.ValuedModelPart, org.hibernate.metamodel.mapping.ValueMapping, org.hibernate.metamodel.mapping.WhereRestrictable, org.hibernate.sql.ast.tree.from.RootTableGroupProducer, org.hibernate.sql.ast.tree.from.TableGroupJoinProducer, org.hibernate.sql.ast.tree.from.TableGroupProducer, org.hibernate.sql.results.graph.DatabaseSnapshotContributor, org.hibernate.sql.results.graph.Fetchable, org.hibernate.sql.results.graph.FetchableContainer, org.hibernate.sql.results.graph.FetchOptions, org.hibernate.sql.results.graph.FetchStyleAccess, org.hibernate.sql.results.graph.FetchTimingAccess, org.hibernate.type.descriptor.java.JavaTypedExpressible, org.hibernate.type.descriptor.java.MutabilityPlanExposer

public class ReactivePluralAttributeMapping extends org.hibernate.metamodel.mapping.internal.PluralAttributeMappingImpl implements org.hibernate.metamodel.mapping.PluralAttributeMapping
  • Nested Class Summary

    Nested classes/interfaces inherited from class org.hibernate.metamodel.mapping.internal.PluralAttributeMappingImpl

    org.hibernate.metamodel.mapping.internal.PluralAttributeMappingImpl.Aware

    Nested classes/interfaces inherited from interface org.hibernate.metamodel.mapping.Bindable

    org.hibernate.metamodel.mapping.Bindable.JdbcValuesBiConsumer<X extends Object,Y extends Object>, org.hibernate.metamodel.mapping.Bindable.JdbcValuesConsumer

    Nested classes/interfaces inherited from interface org.hibernate.metamodel.mapping.ModelPart

    org.hibernate.metamodel.mapping.ModelPart.JdbcValueBiConsumer<X extends Object,Y extends Object>, org.hibernate.metamodel.mapping.ModelPart.JdbcValueConsumer

    Nested classes/interfaces inherited from interface org.hibernate.metamodel.mapping.PluralAttributeMapping

    org.hibernate.metamodel.mapping.PluralAttributeMapping.IndexMetadata, org.hibernate.metamodel.mapping.PluralAttributeMapping.PredicateConsumer
  • Constructor Summary

    Constructors
    Constructor
    Description
    ReactivePluralAttributeMapping(org.hibernate.metamodel.mapping.internal.PluralAttributeMappingImpl original)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected org.hibernate.sql.results.graph.Fetch
    buildEagerCollectionFetch(org.hibernate.spi.NavigablePath fetchedPath, org.hibernate.metamodel.mapping.PluralAttributeMapping fetchedAttribute, org.hibernate.sql.ast.tree.from.TableGroup collectionTableGroup, boolean needsCollectionKeyResult, org.hibernate.sql.results.graph.FetchParent fetchParent, org.hibernate.sql.results.graph.DomainResultCreationState creationState)
     
    <T> org.hibernate.sql.results.graph.DomainResult<T>
    createDomainResult(org.hibernate.spi.NavigablePath navigablePath, org.hibernate.sql.ast.tree.from.TableGroup tableGroup, String resultVariable, org.hibernate.sql.results.graph.DomainResultCreationState creationState)
     
    org.hibernate.metamodel.mapping.ForeignKeyDescriptor
     

    Methods inherited from class org.hibernate.metamodel.mapping.internal.PluralAttributeMappingImpl

    addToCacheKey, applySoftDeleteRestrictions, applySqlSelections, applySqlSelections, breakDownJdbcValues, buildDelayedCollectionFetch, buildSelectEagerCollectionFetch, containsTableReference, createRootTableGroup, createRootTableGroupJoin, createTableGroupJoin, determineSqlJoinType, disassemble, findSubPart, finishInitialization, forEachDisassembledJdbcValue, forEachJdbcType, forEachSubPart, generateFetch, getBatchSize, getCollectionDescriptor, getContainingTableExpression, getDefaultSqlAstJoinType, getElementDescriptor, getFetchableName, getGenerator, getIdentifierDescriptor, getIndexDescriptor, getIndexMetadata, getJdbcMapping, getJdbcTypeCount, getManyToManyOrderByFragment, getMappedFetchOptions, getMappedType, getNavigableRole, getOrderByFragment, getRootPathName, getSelectable, getSeparateCollectionTable, getSoftDeleteMapping, getSoftDeleteTableDetails, getSqlAliasStem, getStyle, getTiming, hasPartitionedSelectionMapping, isAffectedByEnabledFetchProfiles, isAffectedByEnabledFilters, isAffectedByEntityGraph, isBidirectionalAttributeName, isSimpleJoinPredicate, registerAffectingFetchProfile, resolveCircularFetch, setForeignKeyDescriptor, toString, visitSubParts

    Methods inherited from class org.hibernate.metamodel.mapping.internal.AbstractAttributeMapping

    getAttributeMetadata, getAttributeName, getDeclaringType, getFetchableKey, getJavaType, getPartMappingType, getPropertyAccess, getStateArrayPosition

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

    Methods inherited from interface org.hibernate.metamodel.mapping.AttributeMapping

    asAttributeMapping, asEmbeddedAttributeMapping, compare, findContainingEntityMapping, getAttributeMetadata, getAttributeName, getDeclaringType, getExposedMutabilityPlan, getGenerator, getPartName, getPropertyAccess, getStateArrayPosition, getValue, isEmbeddedAttributeMapping, setValue

    Methods inherited from interface org.hibernate.metamodel.mapping.Bindable

    addToCacheKey, disassemble, forEachDisassembledJdbcValue, forEachDisassembledJdbcValue, forEachDisassembledJdbcValue, forEachDisassembledJdbcValue, forEachJdbcType, forEachJdbcValue, forEachJdbcValue, forEachJdbcValue, forEachJdbcValue

    Methods inherited from interface org.hibernate.sql.results.graph.Fetchable

    generateFetch, getFetchableKey, getFetchableName, getMappedFetchOptions, isSelectable, resolveCircularFetch

    Methods inherited from interface org.hibernate.sql.results.graph.FetchableContainer

    getSelectableIndex, visitFetchables, visitKeyFetchables

    Methods inherited from interface org.hibernate.metamodel.mapping.FilterRestrictable

    applyFilterRestrictions

    Methods inherited from interface org.hibernate.type.descriptor.java.JavaTypedExpressible

    addToCacheKey

    Methods inherited from interface org.hibernate.metamodel.mapping.JdbcMappingContainer

    forEachJdbcType, getJdbcMapping

    Methods inherited from interface org.hibernate.loader.ast.spi.Loadable

    getBatchSize, getRootPathName, isAffectedByEnabledFetchProfiles, isAffectedByEnabledFilters, isAffectedByEnabledFilters, isAffectedByEntityGraph, isAffectedByInfluencers, isAffectedByInfluencers, isNotAffectedByInfluencers

    Methods inherited from interface org.hibernate.metamodel.mapping.ModelPart

    applySqlSelections, applySqlSelections, areEqual, asBasicValuedModelPart, asEntityMappingType, breakDownJdbcValues, breakDownJdbcValues, decompose, decompose, getJavaType, getNavigableRole, getPartMappingType, hasPartitionedSelectionMapping, isEntityIdentifierMapping, isVirtual

    Methods inherited from interface org.hibernate.metamodel.mapping.ModelPartContainer

    findByPath, findByPath, findSubPart, forEachSubPart, forEachSubPart, visitSubParts

    Methods inherited from interface org.hibernate.metamodel.mapping.PluralAttributeMapping

    applyBaseManyToManyRestrictions, applyBaseRestrictions, applyFilterRestrictions, applySoftDeleteRestrictions, applyWhereRestrictions, asPluralAttributeMapping, createSnapshotDomainResult, getCollectionDescriptor, getElementDescriptor, getFetchable, getIdentifierDescriptor, getIndexDescriptor, getIndexMetadata, getKeyFetchable, getManyToManyOrderByFragment, getMappedType, getNumberOfFetchableKeys, getNumberOfFetchables, getNumberOfKeyFetchables, getOrderByFragment, getSeparateCollectionTable, getSoftDeleteMapping, hasWhereRestrictions, incrementFetchDepth, isBidirectionalAttributeName, isPluralAttributeMapping, visitFetchables, visitFetchables, visitKeyFetchables, visitKeyFetchables

    Methods inherited from interface org.hibernate.metamodel.mapping.Restrictable

    applyBaseRestrictions

    Methods inherited from interface org.hibernate.sql.ast.tree.from.RootTableGroupProducer

    createRootTableGroup

    Methods inherited from interface org.hibernate.metamodel.mapping.SelectableMappings

    getSelectable

    Methods inherited from interface org.hibernate.metamodel.mapping.SoftDeletableModelPart

    getSoftDeleteTableDetails

    Methods inherited from interface org.hibernate.sql.ast.tree.from.TableGroupJoinProducer

    createRootTableGroupJoin, createTableGroupJoin, determineSqlJoinType, getDefaultSqlAstJoinType, isSimpleJoinPredicate

    Methods inherited from interface org.hibernate.sql.ast.tree.from.TableGroupProducer

    containsTableReference, getSqlAliasStem

    Methods inherited from interface org.hibernate.metamodel.mapping.ValuedModelPart

    forEachInsertable, forEachNonFormula, forEachSelectable, forEachSelectable, forEachUpdatable, getContainingTableExpression, getJdbcTypeCount, getSingleJdbcMapping

    Methods inherited from interface org.hibernate.metamodel.mapping.ValueMapping

    getExpressibleJavaType, treatAs
  • Constructor Details

    • ReactivePluralAttributeMapping

      public ReactivePluralAttributeMapping(org.hibernate.metamodel.mapping.internal.PluralAttributeMappingImpl original)
  • Method Details

    • createDomainResult

      public <T> org.hibernate.sql.results.graph.DomainResult<T> createDomainResult(org.hibernate.spi.NavigablePath navigablePath, org.hibernate.sql.ast.tree.from.TableGroup tableGroup, String resultVariable, org.hibernate.sql.results.graph.DomainResultCreationState creationState)
      Specified by:
      createDomainResult in interface org.hibernate.metamodel.mapping.ModelPart
      Overrides:
      createDomainResult in class org.hibernate.metamodel.mapping.internal.PluralAttributeMappingImpl
    • buildEagerCollectionFetch

      protected org.hibernate.sql.results.graph.Fetch buildEagerCollectionFetch(org.hibernate.spi.NavigablePath fetchedPath, org.hibernate.metamodel.mapping.PluralAttributeMapping fetchedAttribute, org.hibernate.sql.ast.tree.from.TableGroup collectionTableGroup, boolean needsCollectionKeyResult, org.hibernate.sql.results.graph.FetchParent fetchParent, org.hibernate.sql.results.graph.DomainResultCreationState creationState)
      Overrides:
      buildEagerCollectionFetch in class org.hibernate.metamodel.mapping.internal.PluralAttributeMappingImpl
    • getKeyDescriptor

      public org.hibernate.metamodel.mapping.ForeignKeyDescriptor getKeyDescriptor()
      Specified by:
      getKeyDescriptor in interface org.hibernate.metamodel.mapping.PluralAttributeMapping
      Overrides:
      getKeyDescriptor in class org.hibernate.metamodel.mapping.internal.PluralAttributeMappingImpl