public class NamedQuery extends Object
| Constructor and Description |
|---|
NamedQuery(String sName, String sExpression, String sQueryEngine, int cMaxResults)
Construct an instance of NamedQuery.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getExpression()
Return the query expression.
|
int |
getMaxResults()
Return the max allowed result set size.
|
String |
getName()
Return the query name.
|
String |
getQueryEngineName()
Return the name of the query engine responsible to execute this query.
|
public NamedQuery(String sName, String sExpression, String sQueryEngine, int cMaxResults)
sName - query namesExpression - query expressionsQueryEngine - name of query engine responsible to execute this querycMaxResults - max size of result set that this query can returnpublic String getName()
public String getExpression()
public String getQueryEngineName()
public int getMaxResults()