public class DerivedDeclaration extends AbstractRangeDeclaration
DerivedDeclaration
represents an identification variable declaration that was
declared in the FROM
clause of a SELECT
subquery. The
"root" object is not an entity name but a derived path expression.IdentificationVariableDeclaration
JPQLQueryDeclaration.Type
joins
baseExpression, declarationExpression, identificationVariable, rootPath
Constructor and Description |
---|
DerivedDeclaration()
Creates a new
DerivedDeclaration . |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getSuperqueryVariableName()
If
#isDerived() is true , then returns the identification variable used
in the derived path expression that is defined in the superquery, otherwise returns an
empty string. |
JPQLQueryDeclaration.Type |
getType()
Determines the type this declaration represents.
|
addJoin, getJoins, hasJoins
getBaseExpression, getDeclarationExpression, getIdentificationVariable, getRootPath, getVariableName, toString
public java.lang.String getSuperqueryVariableName()
#isDerived()
is true
, then returns the identification variable used
in the derived path expression that is defined in the superquery, otherwise returns an
empty string.public JPQLQueryDeclaration.Type getType()