Package org.opendaylight.mdsal.dom.api
Interface DOMDataTreeQueryOperations
- All Known Subinterfaces:
DOMDataTreeQueryReadTransaction
,DOMDataTreeQueryReadWriteTransaction
Query-like operations supported by
DOMDataTreeReadTransaction
and DOMDataTreeReadWriteTransaction
.
This interface defines the operations without a tie-in with lifecycle management.-
Method Summary
Modifier and TypeMethodDescriptionexecute
(LogicalDatastoreType store, DOMQuery query) Executes a query on the provided logical data store.
-
Method Details
-
execute
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
-