|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.plasma.query.dsl.DomainObject
org.plasma.query.dsl.DomainEndpoint
org.plasma.query.dsl.DataNode
public class DataNode
A domain query node which is a data property end point within a query graph.
| Field Summary |
|---|
| Fields inherited from class org.plasma.query.dsl.DomainEndpoint |
|---|
property |
| Fields inherited from class org.plasma.query.dsl.DomainObject |
|---|
source, sourceProperty |
| Constructor Summary | |
|---|---|
DataNode(PathNode source,
String name)
|
|
| Method Summary | |
|---|---|
DataProperty |
asc()
Constructs a ascending ordering within this data property and returns the data property for use in subsequent operations |
DataProperty |
avg()
Constructs a average aggregate within this data property and returns the data property for use in subsequent operations |
Expression |
between(Object min,
Object max)
Returns a 6 term expression, where this property is greater than or equal to the given 'min' literal, and is less than or equal tothe given 'max' literal. |
DataProperty |
desc()
Constructs a descending ordering within this data property and returns the data property for use in subsequent operations |
Expression |
eq(Object value)
Returns a boolean expression where this property is equal to to the given literal. |
Expression |
ge(Object value)
Returns a boolean expression where this property is greater than or equal to the given literal. |
String |
getName()
returns the name of this property |
Expression |
gt(Object value)
Returns a boolean expression where this property is greater than the given literal. |
Expression |
in(Query subquery)
Returns a subquery expression, where this property is found within the given subquery results collection. |
boolean |
isDistinct()
Gets the value of the distinct property. |
Expression |
isNotNull()
Returns a boolean expression where this property is not equal to null. |
Expression |
isNull()
Returns a boolean expression where this property is equal to null. |
Expression |
le(Object value)
Returns a boolean expression where this property is less than or equal to the given literal. |
Expression |
like(String value)
Returns a wildcard expression where this property is like the given literal, and the literal may contain any number of wildcards, the wildcard character being '*' |
Expression |
lt(Object value)
Returns a boolean expression where this property is less than the given literal. |
DataProperty |
max()
Constructs a maximum aggregate within this data property and returns the data property for use in subsequent operations |
DataProperty |
min()
Constructs a minimum aggregate within this data property and returns the data property for use in subsequent operations |
Expression |
ne(Object value)
Returns a boolean expression where this property is not equal to to the given literal. |
Expression |
notIn(Query subquery)
Returns a subquery expression, where this property is not found within the given subquery results collection. |
DataProperty |
sum()
Constructs a summation aggregate within this data property and returns the data property for use in subsequent operations |
| Methods inherited from class org.plasma.query.dsl.DomainEndpoint |
|---|
createPath |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DataNode(PathNode source,
String name)
| Method Detail |
|---|
public Expression eq(Object value)
DataProperty
eq in interface DataPropertyvalue - the literal
public Expression like(String value)
DataProperty
like in interface DataPropertyvalue - the wildcard literal
public Expression between(Object min,
Object max)
DataProperty
between in interface DataPropertymin - the minimum literalmax - the maximum literal
public Expression ge(Object value)
DataProperty
ge in interface DataPropertyvalue - the literal
public Expression gt(Object value)
DataProperty
gt in interface DataPropertyvalue - the literal
public Expression le(Object value)
DataProperty
le in interface DataPropertyvalue - the literal
public Expression lt(Object value)
DataProperty
lt in interface DataPropertyvalue - the literal
public Expression ne(Object value)
DataProperty
ne in interface DataPropertyvalue - the literal
public Expression in(Query subquery)
DataProperty
in in interface DataPropertysubquery - the subquery
public DataProperty min()
DataProperty
min in interface DataPropertypublic DataProperty max()
DataProperty
max in interface DataPropertypublic DataProperty sum()
DataProperty
sum in interface DataPropertypublic DataProperty avg()
DataProperty
avg in interface DataPropertypublic DataProperty asc()
DataProperty
asc in interface DataPropertypublic DataProperty desc()
DataProperty
desc in interface DataPropertypublic Expression isNotNull()
DataProperty
isNotNull in interface DataPropertypublic Expression isNull()
DataProperty
isNull in interface DataPropertypublic Expression notIn(Query subquery)
DataProperty
notIn in interface DataPropertysubquery - the subquery
public String getName()
DataProperty
getName in interface DataPropertypublic boolean isDistinct()
DataProperty
isDistinct in interface DataPropertyBoolean
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||