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

public Class BasicSqmPathSource<J>

extends AbstractSqmPathSource<J>
implements ReturnableType<J>
Class Inheritance
All Implemented Interfaces
org.hibernate.query.ReturnableType, org.hibernate.metamodel.model.domain.SimpleDomainType, jakarta.persistence.metamodel.Type, org.hibernate.metamodel.model.domain.DomainType, org.hibernate.query.sqm.SqmExpressible, org.hibernate.query.BindableType
Imports
org.hibernate.metamodel.model.domain.BasicDomainType, .DomainType, org.hibernate.query.ReturnableType, org.hibernate.query.sqm.TerminalPathException, .SqmPathSource, org.hibernate.query.sqm.tree.domain.SqmBasicValuedSimplePath, .SqmPath, org.hibernate.type.descriptor.java.JavaType

Author
Steve Ebersole

Field Summary

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

Constructor Summary

AccessConstructor and Description
public
BasicSqmPathSource(String localPathName, SqmPathSource<J> pathModel, BasicDomainType<J> domainType, JavaType<?> relationalJavaType, Bindable.BindableType jpaBindableType, boolean isGeneric)

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 Class<J>
getJavaType()

Implements jakarta.persistence.metamodel.Type.getJavaType.

Return the represented Java type.
public Type.PersistenceType
public JavaType<?>
public BasicDomainType<J>
public DomainType<J>
public boolean
isGeneric()

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

Indicates if this path source is generically typed
public String
toString()

Overrides java.lang.Object.toString.

Returns a string representation of the object.
Inherited from org.hibernate.metamodel.model.domain.internal.AbstractSqmPathSource:
getBindableJavaTypegetBindableTypegetExpressibleJavaTypegetPathName

Field Detail

isGenericback to summary
private final boolean isGeneric
relationalJavaTypeback to summary
private final JavaType<?> relationalJavaType

Constructor Detail

BasicSqmPathSourceback to summary
public BasicSqmPathSource(String localPathName, SqmPathSource<J> pathModel, BasicDomainType<J> domainType, JavaType<?> relationalJavaType, Bindable.BindableType jpaBindableType, boolean isGeneric)

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
getJavaTypeback to summary
public Class<J> getJavaType()

Implements jakarta.persistence.metamodel.Type.getJavaType.

Doc from jakarta.persistence.metamodel.Type.getJavaType.

Return the represented Java type.

Returns:Class<J>

Java type

Annotations
@Override
getPersistenceTypeback to summary
public Type.PersistenceType getPersistenceType()

Implements jakarta.persistence.metamodel.Type.getPersistenceType.

Doc from jakarta.persistence.metamodel.Type.getPersistenceType.

Return the persistence type.

Returns:Type.PersistenceType

persistence type

Annotations
@Override
getRelationalJavaTypeback to summary
public JavaType<?> getRelationalJavaType()

Overrides default org.hibernate.query.sqm.SqmExpressible.getRelationalJavaType.

Annotations
@Override
getSqmPathTypeback to summary
public BasicDomainType<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
getSqmTypeback to summary
public DomainType<J> getSqmType()

Overrides default org.hibernate.metamodel.model.domain.DomainType.getSqmType, org.hibernate.query.sqm.SqmPathSource.getSqmType.

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
toStringback to summary
public String toString()

Overrides java.lang.Object.toString.

Doc from java.lang.Object.toString.

Returns a string representation of the object.

Returns:String

a string representation of the object.

Annotations
@Override