T - type of the transaction result.public abstract class WriteQuery<T> extends Object
| Constructor and Description |
|---|
WriteQuery() |
| Modifier and Type | Method and Description |
|---|---|
protected abstract T |
execute(DataStoreContext context)
Executes the query.
|
T |
execute(DataStoreContext context,
org.slf4j.Logger log)
Executes the transaction.
|
public T execute(DataStoreContext context, org.slf4j.Logger log) throws Exception
context - data store context.log - logger to use.Exception - if any error occurs during query executionprotected abstract T execute(DataStoreContext context)
context - data store context.Copyright © 2014. All Rights Reserved.