Interface IAsyncAttachedQuery<ResultT>

All Superinterfaces:
IAttachedQuery<ResultT>, IExtendedPluginValue
All Known Implementing Classes:
AAsyncAttachedQuery, ActivePivotSyncActionAttachedQuery, ASyncAttachedQuery, DrillthroughAttachedQuery, DrillthroughHeadersAttachedQuery, ExpandLocationsAttachedQuery, GetAggregatesAttachedQuery, MDXAttachedQuery, MdxDrillthroughAttachedQuery, MDXDrillthroughHeadersAttachedQuery, MultiGetAggregatesNotificationAttachedQuery, StreamEventProcessingQuery.StreamEventProcessingAttachedQuery

public interface IAsyncAttachedQuery<ResultT> extends IAttachedQuery<ResultT>
An attached query that can be executed asynchronously using executeAsync(CountedCompleter).
Author:
ActiveViam
  • Method Details

    • executeAsync

      Future<ResultT> executeAsync(CountedCompleter<?> parent) throws QueryException
      Asynchronously executes this query and notifies our parent completer.
      Parameters:
      parent - The parent completer to notify once the query has been executed
      Returns:
      A future representing the result of this query. It will be available without waiting once our parent completer is done.
      Throws:
      QueryException - If an exception occurred while executing this query