Top Fields Constructors Methods
org.hibernate.query.derived

public Class AnonymousTupleSqmPathSource<J>

extends Object
implements SqmPathSource<J>
Class Inheritance
All Implemented Interfaces
org.hibernate.query.sqm.SqmPathSource, org.hibernate.query.sqm.tree.SqmExpressibleAccessor, jakarta.persistence.metamodel.Bindable, org.hibernate.query.sqm.SqmExpressible, org.hibernate.query.BindableType
Known Direct Subclasses
org.hibernate.query.derived.AnonymousTupleSqmAssociationPathSource
Annotations
@Incubating
Imports
org.hibernate.Incubating, org.hibernate.metamodel.model.domain.BasicDomainType, .DomainType, .EmbeddableDomainType, .EntityDomainType, org.hibernate.metamodel.model.domain.internal.PathHelper, org.hibernate.query.sqm.SqmPathSource, org.hibernate.query.sqm.tree.domain.SqmBasicValuedSimplePath, .SqmEmbeddedValuedSimplePath, .SqmEntityValuedSimplePath, .SqmPath, org.hibernate.type.descriptor.java.JavaType

Author
Christian Beikov

Field Summary

Modifier and TypeField and Description
private final String
private final SqmPath<J>

Constructor Summary

AccessConstructor and Description
public
AnonymousTupleSqmPathSource(String localPathName, SqmPath<J> path)

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>
public Bindable.BindableType
getBindableType()

Implements jakarta.persistence.metamodel.Bindable.getBindableType.

Return the bindable type of the represented object.
public JavaType<J>
getExpressibleJavaType()

Implements org.hibernate.query.sqm.SqmExpressible.getExpressibleJavaType.

The Java type descriptor for this expressible
public String
public DomainType<J>
getSqmPathType()

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

The type of path this source creates.
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

localPathNameback to summary
private final String localPathName
pathback to summary
private final SqmPath<J> path

Constructor Detail

AnonymousTupleSqmPathSourceback to summary
public AnonymousTupleSqmPathSource(String localPathName, SqmPath<J> path)

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
getBindableJavaTypeback to summary
public Class<J> getBindableJavaType()

Implements org.hibernate.query.BindableType.getBindableJavaType, jakarta.persistence.metamodel.Bindable.getBindableJavaType.

Doc from jakarta.persistence.metamodel.Bindable.getBindableJavaType.

Return the Java type of the represented object. If the bindable type of the object is PLURAL_ATTRIBUTE, the Java element type is returned. If the bindable type is SINGULAR_ATTRIBUTE or ENTITY_TYPE, the Java type of the represented entity or attribute is returned.

Returns:Class<J>

Java type

Annotations
@Override
getBindableTypeback to summary
public Bindable.BindableType getBindableType()

Implements jakarta.persistence.metamodel.Bindable.getBindableType.

Doc from jakarta.persistence.metamodel.Bindable.getBindableType.

Return the bindable type of the represented object.

Returns:Bindable.BindableType

bindable type

Annotations
@Override
getExpressibleJavaTypeback to summary
public JavaType<J> getExpressibleJavaType()

Implements org.hibernate.query.sqm.SqmExpressible.getExpressibleJavaType.

Doc from org.hibernate.query.sqm.SqmExpressible.getExpressibleJavaType.

The Java type descriptor for this expressible

Annotations
@Override
getPathNameback to summary
public String getPathName()

Implements org.hibernate.query.sqm.SqmPathSource.getPathName.

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

The name of this thing.

Annotations
@Override
getSqmPathTypeback to summary
public DomainType<J> 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