|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface Query
Represents a query in ElasticPath.
| Method Summary | |
|---|---|
java.util.List |
list()
Return the query results as a List. |
void |
setFetchSize(int fetchSize)
Set a fetch size for the underlying JDBC query. |
void |
setMaxResults(int maxResults)
Set the maximum number of rows to retrieve. |
void |
setParameter(int position,
java.lang.Object val)
Bind a value to a JDBC-style query parameter. |
| Method Detail |
|---|
java.util.List list()
throws EpPersistenceException
EpPersistenceException - in case of errorsvoid setFetchSize(int fetchSize)
fetchSize - the fetch sizevoid setMaxResults(int maxResults)
maxResults - the maximum number of rows
void setParameter(int position,
java.lang.Object val)
throws EpPersistenceException
position - the position of the parameter in the query string, numbered from 0.val - the non-null parameter value
EpPersistenceException - if no type could be determined for the parameter
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||