|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface Query
Represents a single query to be executed by an associated persistence adapter.
| Method Summary | |
|---|---|
int |
getFirstResult()
Returns the zero-based offset of the first result. |
Map<String,Object> |
getHints()
Returns the persistence-provider-specific hints for this query. |
int |
getMaxResults()
Returns the maximum number of entities to include in the result. |
QueryMode |
getMode()
Returns the mode for this query. |
Map<String,Object> |
getNamedParameters()
Returns the named parameters for this query. |
Map<Integer,Object> |
getPositionalParameters()
Returns the positional parameters for this query. |
String |
getQuery()
Returns the query as a String. |
boolean |
isNamed()
Checks whether this instance represents a named query. |
| Method Detail |
|---|
boolean isNamed()
QueryMode getMode()
String getQuery()
int getFirstResult()
int getMaxResults()
Map<String,Object> getHints()
Map<String,Object> getNamedParameters()
Map<Integer,Object> getPositionalParameters()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||