Package org.apache.drill.exec.proto.UserBitShared.QueryResult

Examples of org.apache.drill.exec.proto.UserBitShared.QueryResult.QueryState


      updateCache();
    }
  }

  public void updateCache(){
    QueryState queryState = foreman.getQueryState();
    boolean fullStatus = queryState == QueryState.COMPLETED || queryState == QueryState.FAILED;
    profileCache.put(queryId, getAsProfile(fullStatus));
  }
View Full Code Here


    int minorFragmentId = fragmentStatus.getHandle().getMinorFragmentId();
    fragmentDataMap.get(majorFragmentId).get(minorFragmentId).setStatus(fragmentStatus);
  }

  public void updateQueryStateInStore() {
    QueryState queryState = foreman.getQueryState();
    switch (queryState) {
      case PENDING:
        // only foreman will put one node for "pending" query into PStore. This is to avoid concurrency issue when multiple threads fail and
        // call this method.
        profilePStore.put(queryId, getAsProfile(false));
View Full Code Here

TOP

Related Classes of org.apache.drill.exec.proto.UserBitShared.QueryResult.QueryState

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.