Package org.opendaylight.mdsal.dom.api
Interface DOMDataTreeQueryOperations
-
- All Known Subinterfaces:
DOMDataTreeQueryReadTransaction
,DOMDataTreeQueryReadWriteTransaction
@Beta public interface DOMDataTreeQueryOperations
Query-like operations supported byDOMDataTreeReadTransaction
andDOMDataTreeReadWriteTransaction
. This interface defines the operations without a tie-in with lifecycle management.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description FluentFuture<DOMQueryResult>
execute(LogicalDatastoreType store, DOMQuery query)
Executes a query on the provided logical data store.
-
-
-
Method Detail
-
execute
FluentFuture<DOMQueryResult> execute(LogicalDatastoreType store, DOMQuery query)
Executes a query on the provided logical data store.- Parameters:
store
- Logical data store from which read should occur.query
- DOMQuery to execute- Returns:
- a FluentFuture containing the result of the query. The Future blocks until the operation is complete.
Once complete:
- The Future returns the result of the query
- If the query execution fails, the Future will fail with a
ReadFailedException
or an exception derived from ReadFailedException.
- Throws:
NullPointerException
- if any of the arguments is nullIllegalArgumentException
- if the query is not supported
-
-