Class ReactiveToOneAttributeMapping

java.lang.Object
org.hibernate.metamodel.mapping.internal.AbstractAttributeMapping
org.hibernate.metamodel.mapping.internal.AbstractStateArrayContributorMapping
org.hibernate.metamodel.mapping.internal.AbstractSingularAttributeMapping
org.hibernate.metamodel.mapping.internal.ToOneAttributeMapping
org.hibernate.reactive.metamodel.mapping.internal.ReactiveToOneAttributeMapping
All Implemented Interfaces:
org.hibernate.metamodel.mapping.Association, org.hibernate.metamodel.mapping.AttributeMapping, org.hibernate.metamodel.mapping.Bindable, org.hibernate.metamodel.mapping.EntityAssociationMapping, org.hibernate.metamodel.mapping.EntityValuedModelPart, 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.PropertyBasedMapping, org.hibernate.metamodel.mapping.SelectableMappings, org.hibernate.metamodel.mapping.SingularAttributeMapping, org.hibernate.metamodel.mapping.ValuedModelPart, org.hibernate.metamodel.mapping.ValueMapping, org.hibernate.sql.ast.tree.from.LazyTableGroup.ParentTableGroupUseChecker, 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.entity.EntityValuedFetchable, 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 ReactiveToOneAttributeMapping extends org.hibernate.metamodel.mapping.internal.ToOneAttributeMapping
  • Nested Class Summary

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

    org.hibernate.metamodel.mapping.internal.ToOneAttributeMapping.Cardinality, org.hibernate.metamodel.mapping.internal.ToOneAttributeMapping.NullDomainResult

    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
  • Constructor Summary

    Constructors
    Constructor
    Description
    ReactiveToOneAttributeMapping(org.hibernate.metamodel.mapping.internal.ToOneAttributeMapping delegate)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected org.hibernate.sql.results.graph.entity.EntityFetch
    buildEntityDelayedFetch(org.hibernate.sql.results.graph.FetchParent fetchParent, org.hibernate.metamodel.mapping.internal.ToOneAttributeMapping fetchedAttribute, org.hibernate.spi.NavigablePath navigablePath, org.hibernate.sql.results.graph.DomainResult<?> keyResult, boolean selectByUniqueKey, org.hibernate.sql.results.graph.DomainResultCreationState creationState)
     
    copy(org.hibernate.metamodel.mapping.ManagedMappingType declaringType, org.hibernate.sql.ast.tree.from.TableGroupProducer declaringTableGroupProducer)
     
    org.hibernate.sql.results.graph.entity.EntityFetch
    generateFetch(org.hibernate.sql.results.graph.FetchParent fetchParent, org.hibernate.spi.NavigablePath fetchablePath, org.hibernate.engine.FetchTiming fetchTiming, boolean selected, String resultVariable, org.hibernate.sql.results.graph.DomainResultCreationState creationState)
     
    org.hibernate.metamodel.mapping.AttributeMetadata
     
    protected Object
    lazyInitialize(Object domainValue)
     
    org.hibernate.sql.results.graph.Fetch
    resolveCircularFetch(org.hibernate.spi.NavigablePath fetchablePath, org.hibernate.sql.results.graph.FetchParent fetchParent, org.hibernate.engine.FetchTiming fetchTiming, org.hibernate.sql.results.graph.DomainResultCreationState creationState)
     

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

    addPrefixedPropertyNames, addPrefixedPropertyPaths, addToCacheKey, applySqlSelections, applySqlSelections, breakDownJdbcValues, buildEntityFetchJoined, buildEntityFetchSelect, canUseParentTableGroup, containsTableReference, createRootTableGroupJoin, createSnapshotDomainResult, createTableGroupInternal, createTableGroupJoin, determineSqlJoinType, disassemble, extractAttributePathValue, extractValue, findSubPart, findSubPart, forEachDisassembledJdbcValue, forEachJdbcType, forEachJdbcValue, forEachSelectable, getAssociatedEntityMappingType, getCardinality, getContainingTableExpression, getDefaultSqlAstJoinType, getEntityMappingType, getFetchable, getForeignKeyDescriptor, getIdentifyingColumnsTableExpression, getJdbcMapping, getJdbcTypeCount, getKeyTargetMatchPart, getMappedType, getNavigableRole, getNotFoundAction, getNumberOfFetchables, getReferencedPropertyName, getSelectable, getSideNature, getSqlAliasStem, getTargetKeyPropertyName, getTargetKeyPropertyNames, hasJoinTable, hasNotFoundAction, hasPartitionedSelectionMapping, isBidirectionalAttributeName, isFkOptimizationAllowed, isIgnoreNotFound, isInternalLoadNullable, isLazy, isNullable, isOptional, isReferenceToPrimaryKey, isSimpleJoinPredicate, isUnwrapProxy, setForeignKeyDescriptor, setIdentifyingColumnsTableExpression, setupCircularFetchModelPart, toString

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

    getGenerator

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

    getFetchableName, getMappedFetchOptions, getStyle, getTiming

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

    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, asPluralAttributeMapping, compare, findContainingEntityMapping, getAttributeName, getDeclaringType, getExposedMutabilityPlan, getPartName, getPropertyAccess, getStateArrayPosition, getValue, isEmbeddedAttributeMapping, isPluralAttributeMapping, setValue

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

    forEachDisassembledJdbcValue, forEachDisassembledJdbcValue, forEachDisassembledJdbcValue, forEachJdbcType, forEachJdbcValue, forEachJdbcValue, forEachJdbcValue

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

    getFetchableName, incrementFetchDepth

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

    createDomainResult, forEachSubPart, visitSubParts

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

    getFetchableKey, getMappedFetchOptions, isSelectable

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

    getKeyFetchable, getNumberOfFetchableKeys, getNumberOfKeyFetchables, getSelectableIndex, visitFetchables, visitFetchables, visitFetchables, visitKeyFetchables, visitKeyFetchables, visitKeyFetchables

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

    areEqual, asBasicValuedModelPart, asEntityMappingType, breakDownJdbcValues, decompose, decompose, getJavaType, getPartMappingType, isEntityIdentifierMapping, isVirtual

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

    findByPath, findByPath, forEachSubPart

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

    forEachInsertable, forEachNonFormula, forEachSelectable, forEachUpdatable, getSingleJdbcMapping

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

    getExpressibleJavaType, treatAs
  • Constructor Details

    • ReactiveToOneAttributeMapping

      public ReactiveToOneAttributeMapping(org.hibernate.metamodel.mapping.internal.ToOneAttributeMapping delegate)
  • Method Details

    • generateFetch

      public org.hibernate.sql.results.graph.entity.EntityFetch generateFetch(org.hibernate.sql.results.graph.FetchParent fetchParent, org.hibernate.spi.NavigablePath fetchablePath, org.hibernate.engine.FetchTiming fetchTiming, boolean selected, String resultVariable, org.hibernate.sql.results.graph.DomainResultCreationState creationState)
      Specified by:
      generateFetch in interface org.hibernate.sql.results.graph.entity.EntityValuedFetchable
      Specified by:
      generateFetch in interface org.hibernate.sql.results.graph.Fetchable
      Overrides:
      generateFetch in class org.hibernate.metamodel.mapping.internal.ToOneAttributeMapping
    • getAttributeMetadata

      public org.hibernate.metamodel.mapping.AttributeMetadata getAttributeMetadata()
      Specified by:
      getAttributeMetadata in interface org.hibernate.metamodel.mapping.AttributeMapping
      Overrides:
      getAttributeMetadata in class org.hibernate.metamodel.mapping.internal.AbstractAttributeMapping
    • resolveCircularFetch

      public org.hibernate.sql.results.graph.Fetch resolveCircularFetch(org.hibernate.spi.NavigablePath fetchablePath, org.hibernate.sql.results.graph.FetchParent fetchParent, org.hibernate.engine.FetchTiming fetchTiming, org.hibernate.sql.results.graph.DomainResultCreationState creationState)
      Specified by:
      resolveCircularFetch in interface org.hibernate.sql.results.graph.Fetchable
      Overrides:
      resolveCircularFetch in class org.hibernate.metamodel.mapping.internal.ToOneAttributeMapping
    • buildEntityDelayedFetch

      protected org.hibernate.sql.results.graph.entity.EntityFetch buildEntityDelayedFetch(org.hibernate.sql.results.graph.FetchParent fetchParent, org.hibernate.metamodel.mapping.internal.ToOneAttributeMapping fetchedAttribute, org.hibernate.spi.NavigablePath navigablePath, org.hibernate.sql.results.graph.DomainResult<?> keyResult, boolean selectByUniqueKey, org.hibernate.sql.results.graph.DomainResultCreationState creationState)
      Overrides:
      buildEntityDelayedFetch in class org.hibernate.metamodel.mapping.internal.ToOneAttributeMapping
    • copy

      public ReactiveToOneAttributeMapping copy(org.hibernate.metamodel.mapping.ManagedMappingType declaringType, org.hibernate.sql.ast.tree.from.TableGroupProducer declaringTableGroupProducer)
      Overrides:
      copy in class org.hibernate.metamodel.mapping.internal.ToOneAttributeMapping
    • lazyInitialize

      protected Object lazyInitialize(Object domainValue)
      Overrides:
      lazyInitialize in class org.hibernate.metamodel.mapping.internal.ToOneAttributeMapping