Class NamedQuery
java.lang.Object
com.tangosol.coherence.rest.config.NamedQuery
- Direct Known Subclasses:
DirectQuery
Holder for configured named query data.
- Author:
- ic 2011.12.03
-
Constructor Summary
ConstructorDescriptionNamedQuery
(String sName, String sExpression, String sQueryEngine, int cMaxResults) Construct an instance of NamedQuery. -
Method Summary
Modifier and TypeMethodDescriptionReturn the query expression.int
Return the max allowed result set size.getName()
Return the query name.Return the name of the query engine responsible to execute this query.
-
Constructor Details
-
NamedQuery
Construct an instance of NamedQuery.- Parameters:
sName
- query namesExpression
- query expressionsQueryEngine
- name of query engine responsible to execute this querycMaxResults
- max size of result set that this query can return
-
-
Method Details
-
getName
Return the query name.- Returns:
- query name
-
getExpression
Return the query expression.- Returns:
- query expression
-
getQueryEngineName
Return the name of the query engine responsible to execute this query.- Returns:
- query engine name
-
getMaxResults
public int getMaxResults()Return the max allowed result set size.- Returns:
- max size of the result set
-