public interface DataStoreService
| Modifier and Type | Method and Description |
|---|---|
<T> T |
execute(ReadQuery<T> query)
Executes a query operation on the persistence layer.
|
<T> T |
execute(WriteQuery<T> update)
Executes an update operation on the persistence layer.
|
<T> T execute(ReadQuery<T> query) throws Exception
T - type of the query result.query - the query to execute.Exception - if exception happen while executing the query.<T> T execute(WriteQuery<T> update) throws Exception
T - type of the update result.update - the database update to execute.Exception - if exception happen while executing the update.Copyright © 2014. All Rights Reserved.