abstract class AbstractPath extends ExpressionImpl implements PathExpression
Modifier and Type | Field and Description |
---|---|
protected PathOperator |
_operator |
protected QueryDefinitionImpl |
_owner |
protected AbstractPath |
_parent |
protected java.lang.Object |
_part2 |
CLOSE_BRACE, COMMA, EMPTY, OPEN_BRACE, SPACE
Modifier | Constructor and Description |
---|---|
protected |
AbstractPath(QueryDefinitionImpl owner,
AbstractPath parent,
PathOperator op,
java.lang.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.
|
java.lang.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) java.util.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, upper
asExpression, asJoinable, asProjection
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
get
abs, 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, upper
asc, desc
between, 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, notEqual
asExpression, asJoinable, asProjection
protected final AbstractPath _parent
protected final java.lang.Object _part2
protected final PathOperator _operator
protected final QueryDefinitionImpl _owner
protected AbstractPath(QueryDefinitionImpl owner, AbstractPath parent, PathOperator op, java.lang.Object part2)
final QueryDefinitionImpl getOwner()
public AbstractPath getParent()
public PathOperator getOperator()
public java.lang.Object getLastSegment()
public Aggregate avg()
PathExpression
avg
in interface PathExpression
public Aggregate count()
PathExpression
count
in interface PathExpression
public Predicate isEmpty()
PathExpression
isEmpty
in interface PathExpression
public Aggregate max()
PathExpression
max
in interface PathExpression
public Aggregate min()
PathExpression
min
in interface PathExpression
public Expression size()
PathExpression
size
in interface PathExpression
public Aggregate sum()
PathExpression
sum
in interface PathExpression
public Expression type()
PathExpression
type
in interface PathExpression
java.util.LinkedList<AbstractPath> split()
Copyright © 2006-2013 Apache Software Foundation. All Rights Reserved.