Top Fields Constructors Methods
org.hibernate.metamodel.model.domain.internal

public Class AnyMappingSqmPathSource<J>

extends AbstractSqmPathSource<J>
Class Inheritance
Imports
org.hibernate.metamodel.UnsupportedMappingException, org.hibernate.metamodel.mapping.internal.AnyDiscriminatorPart, .AnyKeyPart, org.hibernate.metamodel.model.domain.AnyMappingDomainType, .BasicDomainType, org.hibernate.query.sqm.SqmPathSource, org.hibernate.query.sqm.tree.domain.SqmAnyValuedSimplePath, .SqmPath

Author
Steve Ebersole

Field Summary

Modifier and TypeField and Description
private final AnyDiscriminatorSqmPathSource<?>
private final SqmPathSource<?>
Inherited from org.hibernate.metamodel.model.domain.internal.AbstractSqmPathSource:
pathModel

Constructor Summary

AccessConstructor and Description
public
AnyMappingSqmPathSource(String localPathName, SqmPathSource<J> pathModel, AnyMappingDomainType<J> domainType, Bindable.BindableType jpaBindableType)

Method Summary

Modifier and TypeMethod and Description
public SqmPath<J>
createSqmPath(SqmPath<?> lhs, SqmPathSource<?> intermediatePathSource)

Implements org.hibernate.query.sqm.SqmPathSource.createSqmPath.

Create an SQM path for this source relative to the given left hand side
public SqmPathSource<?>
findSubPathSource(String name)

Implements org.hibernate.query.sqm.SqmPathSource.findSubPathSource.

Find a SqmPathSource by name relative to this source.
public AnyMappingDomainType<J>
Inherited from org.hibernate.metamodel.model.domain.internal.AbstractSqmPathSource:
getBindableJavaTypegetBindableTypegetExpressibleJavaTypegetPathName

Field Detail

discriminatorPathSourceback to summary
private final AnyDiscriminatorSqmPathSource<?> discriminatorPathSource
keyPathSourceback to summary
private final SqmPathSource<?> keyPathSource

Constructor Detail

AnyMappingSqmPathSourceback to summary
public AnyMappingSqmPathSource(String localPathName, SqmPathSource<J> pathModel, AnyMappingDomainType<J> domainType, Bindable.BindableType jpaBindableType)

Method Detail

createSqmPathback to summary
public SqmPath<J> createSqmPath(SqmPath<?> lhs, SqmPathSource<?> intermediatePathSource)

Implements org.hibernate.query.sqm.SqmPathSource.createSqmPath.

Doc from org.hibernate.query.sqm.SqmPathSource.createSqmPath.

Create an SQM path for this source relative to the given left hand side

Annotations
@Override
findSubPathSourceback to summary
public SqmPathSource<?> findSubPathSource(String name)

Implements org.hibernate.query.sqm.SqmPathSource.findSubPathSource.

Doc from org.hibernate.query.sqm.SqmPathSource.findSubPathSource.

Find a SqmPathSource by name relative to this source.

Returns:SqmPathSource<?>

null if the subPathSource is not found

Annotations
@Override
getSqmPathTypeback to summary
public AnyMappingDomainType<J> getSqmPathType()

Overrides org.hibernate.metamodel.model.domain.internal.AbstractSqmPathSource.getSqmPathType.

Implements org.hibernate.query.sqm.SqmPathSource.getSqmPathType.

Doc from org.hibernate.query.sqm.SqmPathSource.getSqmPathType.

The type of path this source creates.

Annotations
@Override