Class GenericQueryTemplate
java.lang.Object
com.emc.documentum.rest.dfc.query.GenericQueryTemplate
An abstract query template to build DQL for collection without pagination.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfields()
get the fields list which is used by query "select", exclude "select" key wordprotected abstract String
from()
get the query from clause, exclude "from" key wordfinal String
getQuery()
Get DQL query expression for the templateprotected abstract String
get the qualification of the query, exclude "where" key wordsort()
get the sort definition list, used as order
-
Constructor Details
-
GenericQueryTemplate
public GenericQueryTemplate()
-
-
Method Details
-
getQuery
Get DQL query expression for the template- Returns:
- DQL query expression
-
fields
get the fields list which is used by query "select", exclude "select" key word- Returns:
- attributes selected
-
qualification
get the qualification of the query, exclude "where" key word- Returns:
- qualification
-
from
get the query from clause, exclude "from" key word- Returns:
- from clause
-
sort
get the sort definition list, used as order- Returns:
- sort definition list
-