public class RootPath extends AbstractDomainObject implements DomainObject
_operator, _owner, _parent, _part2CLOSE_BRACE, COMMA, EMPTY, OPEN_BRACE, SPACE| Constructor and Description |
|---|
RootPath(QueryDefinitionImpl owner,
Class cls) |
| Modifier and Type | Method and Description |
|---|---|
String |
asExpression(AliasContext ctx)
Get a JPQL fragment as used in WHERE clause.
|
String |
asJoinable(AliasContext ctx)
Gets the string representation in FROM clause.
|
String |
asProjection(AliasContext ctx)
Gets the string representation in SELECT projection.
|
String |
getAliasHint(AliasContext ctx)
Gets the hint to be used while creating alias.
|
Class |
getLastSegment()
Gets the last segment of this path.
|
String |
toString() |
addRoot, addSubqueryRoot, all, any, coalesce, coalesce, coalesce, coalesce, currentDate, currentTime, currentTimestamp, entry, exists, generalCase, get, groupBy, groupBy, having, index, join, joinFetch, key, leftJoin, leftJoinFetch, literal, literal, literal, literal, literal, literal, literal, literal, newInstance, nullif, nullif, nullif, nullif, nullif, nullif, nullif, nullLiteral, orderBy, orderBy, param, predicate, select, select, selectDistinct, selectDistinct, simpleCase, simpleCase, simpleCase, simpleCase, simpleCase, simpleCase, simpleCase, some, value, whereavg, count, getOperator, getOwner, getParent, isEmpty, max, min, size, split, sum, typeabs, asc, between, between, between, between, between, between, between, between, between, between, between, between, between, concat, concat, desc, dividedBy, dividedBy, equal, equal, equal, equal, equal, equal, equal, equal, greaterEqual, greaterEqual, greaterEqual, greaterEqual, greaterEqual, greaterThan, greaterThan, greaterThan, greaterThan, greaterThan, in, in, in, in, in, in, isNull, length, lessEqual, lessEqual, lessEqual, lessEqual, lessEqual, lessThan, lessThan, lessThan, lessThan, lessThan, like, like, like, like, like, like, locate, locate, locate, locate, locate, locate, lower, member, minus, minus, minus, mod, mod, notEqual, notEqual, notEqual, notEqual, notEqual, notEqual, notEqual, notEqual, plus, plus, sqrt, substring, substring, substring, substring, substring, substring, times, times, trim, trim, trim, trim, trim, trim, upperclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitentry, index, join, joinFetch, key, leftJoin, leftJoinFetch, valueavg, count, get, isEmpty, max, min, size, sum, typeabs, concat, concat, dividedBy, dividedBy, in, in, in, in, in, in, isNull, length, locate, locate, locate, locate, locate, locate, lower, member, minus, minus, minus, mod, mod, plus, plus, sqrt, substring, substring, substring, substring, substring, substring, times, times, trim, trim, trim, trim, trim, trim, upperasc, descaddRoot, addSubqueryRoot, all, any, coalesce, coalesce, coalesce, coalesce, currentDate, currentTime, currentTimestamp, exists, generalCase, groupBy, groupBy, having, literal, literal, literal, literal, literal, literal, literal, literal, newInstance, nullif, nullif, nullif, nullif, nullif, nullif, nullif, nullLiteral, orderBy, orderBy, param, predicate, select, select, selectDistinct, selectDistinct, simpleCase, simpleCase, simpleCase, simpleCase, simpleCase, simpleCase, simpleCase, some, wherebetween, between, between, between, between, between, between, between, between, between, between, between, between, equal, equal, equal, equal, equal, equal, equal, equal, greaterEqual, greaterEqual, greaterEqual, greaterEqual, greaterEqual, greaterThan, greaterThan, greaterThan, greaterThan, greaterThan, lessEqual, lessEqual, lessEqual, lessEqual, lessEqual, lessThan, lessThan, lessThan, lessThan, lessThan, like, like, like, like, like, like, notEqual, notEqual, notEqual, notEqual, notEqual, notEqual, notEqual, notEqualpublic RootPath(QueryDefinitionImpl owner, Class cls)
public Class getLastSegment()
AbstractPathgetLastSegment in class AbstractPathpublic String getAliasHint(AliasContext ctx)
VisitablegetAliasHint in interface VisitablegetAliasHint in class ExpressionImplpublic String asExpression(AliasContext ctx)
VisitableasExpression in interface VisitableasExpression in class AbstractVisitablepublic String asJoinable(AliasContext ctx)
VisitableasJoinable in interface VisitableasJoinable in class AbstractVisitablepublic String asProjection(AliasContext ctx)
VisitableasProjection in interface VisitableasProjection in class AbstractVisitableCopyright © 2006–2013 Apache Software Foundation. All rights reserved.