T
- Type of the result of the query.public class TransWriteQueryDecorator<T extends TransportObject<? super T,?>> extends WriteQueryDecorator<T,DataStoreContext>
Constructor and Description |
---|
TransWriteQueryDecorator(WriteQuery<T,DataStoreContext> update)
Constructor for Write Query Decorator with locks.
|
Modifier and Type | Method and Description |
---|---|
T |
execute(DataStoreContext context)
This is the single execute method provided by the WriteQuery interface.
|
public TransWriteQueryDecorator(WriteQuery<T,DataStoreContext> update)
update
- The write query to be executed. This can be an already
decorated query.public T execute(DataStoreContext context) throws Exception
WriteQuery
context
- - The DataStore context. Provides the context to the
query.Exception
Copyright © 2016. All Rights Reserved.