Package org.hibernate.query.hql.internal
Class FullyQualifiedReflectivePath
java.lang.Object
org.hibernate.query.hql.internal.FullyQualifiedReflectivePath
- All Implemented Interfaces:
FullyQualifiedReflectivePathSource
,SemanticPathPart
,DotIdentifierSequence
- Direct Known Subclasses:
FullyQualifiedReflectivePathTerminal
public class FullyQualifiedReflectivePath
extends Object
implements SemanticPathPart, FullyQualifiedReflectivePathSource
-
Constructor Summary
ConstructorsConstructorDescriptionFullyQualifiedReflectivePath
(FullyQualifiedReflectivePathSource pathSource, String localName) -
Method Summary
Modifier and TypeMethodDescriptionAppend a new part to the end of this sequence, returning the new representation.The full sequence text.The name of this leaf sequence part.The parent sequence part.SqmPath<?>
resolveIndexedAccess
(SqmExpression<?> selector, boolean isTerminal, SqmCreationState creationState) resolvePathPart
(String name, boolean isTerminal, SqmCreationState creationState) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.hibernate.spi.DotIdentifierSequence
getParts, isRoot
-
Constructor Details
-
FullyQualifiedReflectivePath
public FullyQualifiedReflectivePath(FullyQualifiedReflectivePathSource pathSource, String localName)
-
-
Method Details
-
resolvePathPart
public FullyQualifiedReflectivePath resolvePathPart(String name, boolean isTerminal, SqmCreationState creationState) - Specified by:
resolvePathPart
in interfaceSemanticPathPart
-
resolveIndexedAccess
public SqmPath<?> resolveIndexedAccess(SqmExpression<?> selector, boolean isTerminal, SqmCreationState creationState) - Specified by:
resolveIndexedAccess
in interfaceSemanticPathPart
-
getParent
Description copied from interface:DotIdentifierSequence
The parent sequence part.Given the sequence
a.b.c
, returns the sequencea.b
.- Specified by:
getParent
in interfaceDotIdentifierSequence
-
getLocalName
Description copied from interface:DotIdentifierSequence
The name of this leaf sequence part.Given the sequence
a.b.c
, returns the string"c"
.- Specified by:
getLocalName
in interfaceDotIdentifierSequence
-
getFullPath
Description copied from interface:DotIdentifierSequence
The full sequence text.Given the sequence
a.b.c
, returns the string"a.b.c"
.- Specified by:
getFullPath
in interfaceDotIdentifierSequence
-
append
Description copied from interface:DotIdentifierSequence
Append a new part to the end of this sequence, returning the new representation.Given the sequence
a.b.c
, appendingd
results in the new sequencea.b.c.d
.- Specified by:
append
in interfaceDotIdentifierSequence
-