Class SimpleQueryTerminator

    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected java.util.concurrent.ScheduledExecutorService scheduledExecutor  
    • Constructor Summary

      Constructors 
      Constructor Description
      SimpleQueryTerminator​(java.util.concurrent.ScheduledExecutorService scheduledExecutor, MPPQueryContext queryContext, java.util.List<FragmentInstance> fragmentInstances, org.apache.iotdb.commons.client.IClientManager<org.apache.iotdb.common.rpc.thrift.TEndPoint,​org.apache.iotdb.commons.client.sync.SyncDataNodeInternalServiceClient> internalServiceClientManager)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Boolean syncTerminate()  
      java.util.concurrent.Future<java.lang.Boolean> terminate()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • scheduledExecutor

        protected java.util.concurrent.ScheduledExecutorService scheduledExecutor
    • Constructor Detail

      • SimpleQueryTerminator

        public SimpleQueryTerminator​(java.util.concurrent.ScheduledExecutorService scheduledExecutor,
                                     MPPQueryContext queryContext,
                                     java.util.List<FragmentInstance> fragmentInstances,
                                     org.apache.iotdb.commons.client.IClientManager<org.apache.iotdb.common.rpc.thrift.TEndPoint,​org.apache.iotdb.commons.client.sync.SyncDataNodeInternalServiceClient> internalServiceClientManager)
    • Method Detail

      • terminate

        public java.util.concurrent.Future<java.lang.Boolean> terminate()
        Specified by:
        terminate in interface IQueryTerminator
      • syncTerminate

        public java.lang.Boolean syncTerminate()