C - type of the data store execution context.public interface DataStoreService<C>
DataStoreService Provides services to interact with the model
data store.| Modifier and Type | Method and Description |
|---|---|
<T> T |
execute(ReadQuery<T,C> query)
Executes a read query.
|
<T> T |
execute(WriteQuery<T,C> query)
Executes a write query.
|
void |
resetClientContext() |
<T> T execute(ReadQuery<T,C> query) throws Exception
T - type of the query result.query - the read query to execute.Exception - if errors happen while executing the query.<T> T execute(WriteQuery<T,C> query) throws Exception
T - type of the transaction result.query - the write query to execute.Exception - if errors happen while executing the query.void resetClientContext()
Copyright © 2014. All Rights Reserved.