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

public Class EntitySqmPathSource<J>

extends AbstractSqmPathSource<J>
implements SqmJoinable<Object, J>
Class Inheritance
All Implemented Interfaces
org.hibernate.query.sqm.SqmJoinable
Imports
org.hibernate.metamodel.model.domain.EntityDomainType, org.hibernate.metamodel.model.domain.spi.JpaMetamodelImplementor, org.hibernate.query.hql.spi.SqmCreationState, org.hibernate.query.sqm.SqmJoinable, .SqmPathSource, org.hibernate.query.sqm.tree.SqmJoinType, org.hibernate.query.sqm.tree.domain.SqmEntityValuedSimplePath, .SqmPath, .SqmPluralPartJoin, org.hibernate.query.sqm.tree.from.SqmFrom

Author
Steve Ebersole

Field Summary

Modifier and TypeField and Description
private final boolean
Inherited from org.hibernate.metamodel.model.domain.internal.AbstractSqmPathSource:
pathModel

Constructor Summary

AccessConstructor and Description
public
EntitySqmPathSource(String localPathName, SqmPathSource<J> pathModel, EntityDomainType<J> domainType, Bindable.BindableType jpaBindableType, boolean isGeneric)

Method Summary

Modifier and TypeMethod and Description
public SqmPluralPartJoin<Object, J>
createSqmJoin(SqmFrom<?, Object> lhs, SqmJoinType joinType, String alias, boolean fetched, SqmCreationState creationState)

Implements org.hibernate.query.sqm.SqmJoinable.createSqmJoin.

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 SqmPathSource<?>
findSubPathSource(String name, JpaMetamodelImplementor metamodel)

Overrides default org.hibernate.query.sqm.SqmPathSource.findSubPathSource.

Find a SqmPathSource by name relative to this source.
public String
public EntityDomainType<J>
public boolean
isGeneric()

Overrides default org.hibernate.query.sqm.SqmPathSource.isGeneric.

Indicates if this path source is generically typed
Inherited from org.hibernate.metamodel.model.domain.internal.AbstractSqmPathSource:
getBindableJavaTypegetBindableTypegetExpressibleJavaTypegetPathName

Field Detail

isGenericback to summary
private final boolean isGeneric

Constructor Detail

EntitySqmPathSourceback to summary
public EntitySqmPathSource(String localPathName, SqmPathSource<J> pathModel, EntityDomainType<J> domainType, Bindable.BindableType jpaBindableType, boolean isGeneric)

Method Detail

createSqmJoinback to summary
public SqmPluralPartJoin<Object, J> createSqmJoin(SqmFrom<?, Object> lhs, SqmJoinType joinType, String alias, boolean fetched, SqmCreationState creationState)

Implements org.hibernate.query.sqm.SqmJoinable.createSqmJoin.

Annotations
@Override
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
findSubPathSourceback to summary
public SqmPathSource<?> findSubPathSource(String name, JpaMetamodelImplementor metamodel)

Overrides default 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
getNameback to summary
public String getName()

Implements org.hibernate.query.sqm.SqmJoinable.getName.

Annotations
@Override
getSqmPathTypeback to summary
public EntityDomainType<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
isGenericback to summary
public boolean isGeneric()

Overrides default org.hibernate.query.sqm.SqmPathSource.isGeneric.

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

Indicates if this path source is generically typed

Annotations
@Override