Interface DOMDataTreeQueryOperations

All Known Subinterfaces:
DOMDataTreeQueryReadTransaction, DOMDataTreeQueryReadWriteTransaction

@Beta public interface DOMDataTreeQueryOperations
Query-like operations supported by DOMDataTreeReadTransaction and DOMDataTreeReadWriteTransaction. This interface defines the operations without a tie-in with lifecycle management.
  • 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 null
      IllegalArgumentException - if the query or store is not supported