org.plasma.query.dsl
Interface DomainQuery

All Superinterfaces:
Query, Term
All Known Implementing Classes:
DomainRoot, QConstraint, QGlobalVariable, QGlobalVariable, QTable, QTable, QTableColumn, QTableColumn, QTableColumnComment, QTableColumnConstraint, QTableColumnConstraint, QTableColumnKeyUsage, QTableComment, QTableConstraint, QVersion, QVersion, QView, QView, QViewColumn, QViewColumnComment, QViewComment

public interface DomainQuery
extends Query

A domain specific query serving as the entry point for assembly of a data graph.


Method Summary
 DomainQuery groupBy(DataProperty property)
          Appends the given data property to the group by clause within this query and returns the query.
 DomainQuery orderBy(DataProperty property)
          Appends the given data property to the order by clause within this query and returns the query.
 DomainQuery select(DataProperty property)
          Appends the given property to the select clause within this query and returns the query.
 DomainQuery select(Wildcard property)
          Appends the given wildcard property to the select clause within this query and returns the query.
 DomainQuery where(Expression expr)
          Appends the given expression to the where clause within this query and returns the query.
 
Methods inherited from interface org.plasma.query.Query
clearOrderByClause, findGroupByClause, findOrderByClause, findWhereClause, getEndRange, getFromClause, getModel, getName, getSelectClause, getStartRange, getWhereClause, setEndRange, setName, setStartRange
 

Method Detail

select

DomainQuery select(DataProperty property)
Appends the given property to the select clause within this query and returns the query.

Parameters:
property - the property
Returns:
the query

select

DomainQuery select(Wildcard property)
Appends the given wildcard property to the select clause within this query and returns the query.

Parameters:
property - the wildcard property
Returns:
the query

where

DomainQuery where(Expression expr)
Appends the given expression to the where clause within this query and returns the query.

Parameters:
expr - the expression
Returns:
the query

orderBy

DomainQuery orderBy(DataProperty property)
Appends the given data property to the order by clause within this query and returns the query.

Parameters:
property - the data property
Returns:
the query

groupBy

DomainQuery groupBy(DataProperty property)
Appends the given data property to the group by clause within this query and returns the query.

Parameters:
property - the data property
Returns:
the query


Copyright © 2013. All Rights Reserved.