T
- type of the query result.public abstract class ReadQuery<T> extends Object
Constructor and Description |
---|
ReadQuery() |
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 query.
|
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 © 2015. All Rights Reserved.