abstract class AbstractPath extends ExpressionImpl implements PathExpression
| Modifier and Type | Field and Description |
|---|---|
protected PathOperator |
_operator |
protected QueryDefinitionImpl |
_owner |
protected AbstractPath |
_parent |
protected Object |
_part2 |
CLOSE_BRACE, COMMA, EMPTY, OPEN_BRACE, SPACE| Modifier | Constructor and Description |
|---|---|
protected |
AbstractPath(QueryDefinitionImpl owner,
AbstractPath parent,
PathOperator op,
Object part2) |
| Modifier and Type | Method and Description |
|---|---|
Aggregate |
avg()
Specify that the avg operation is to be applied.
|
Aggregate |
count()
Specify that the count operation is to be applied.
|
Object |
getLastSegment()
Gets the last segment of this path.
|
PathOperator |
getOperator()
Gets operator that derived this receiver from its parent.
|
(package private) QueryDefinitionImpl |
getOwner() |
AbstractPath |
getParent()
Gets the parent from which this receiver has been derived.
|
Predicate |
isEmpty()
Add a restriction that the path expression must correspond to an
association or element collection that is empty (has no elements).
|
Aggregate |
max()
Specify that the max operation is to be applied.
|
Aggregate |
min()
Specify that the min operation is to be applied.
|
Expression |
size()
Return an expression that corresponds to the number of elements
association or element collection corresponding to the path expression.
|
(package private) LinkedList<AbstractPath> |
split() |
Aggregate |
sum()
Specify that the sum operation is to be applied.
|
Expression |
type()
Return an expression that corresponds to the type of the entity.
|
abs, 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, getAliasHint, 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, upperasExpression, asJoinable, asProjectionclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetabs, 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, descbetween, 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, notEqualasExpression, asJoinable, asProjectionprotected final AbstractPath _parent
protected final Object _part2
protected final PathOperator _operator
protected final QueryDefinitionImpl _owner
protected AbstractPath(QueryDefinitionImpl owner, AbstractPath parent, PathOperator op, Object part2)
final QueryDefinitionImpl getOwner()
public AbstractPath getParent()
public PathOperator getOperator()
public Object getLastSegment()
public Aggregate avg()
PathExpressionavg in interface PathExpressionpublic Aggregate count()
PathExpressioncount in interface PathExpressionpublic Predicate isEmpty()
PathExpressionisEmpty in interface PathExpressionpublic Aggregate max()
PathExpressionmax in interface PathExpressionpublic Aggregate min()
PathExpressionmin in interface PathExpressionpublic Expression size()
PathExpressionsize in interface PathExpressionpublic Aggregate sum()
PathExpressionsum in interface PathExpressionpublic Expression type()
PathExpressiontype in interface PathExpressionLinkedList<AbstractPath> split()
Copyright © 2006–2013 Apache Software Foundation. All rights reserved.