public boolean canShowDrilldownLink(OperationHandle operationHandle) {
    try {
      if (!getHiveConf().isWebUiEnabled()) {
        return false;
      }
      Operation operation = getOperation(operationHandle);
      if (operation instanceof SQLOperation) {
        HiveConf hiveConf = ((SQLOperation)operation).queryState.getConf();
        return hiveConf.getBoolVar(HiveConf.ConfVars.HIVE_SERVER2_SHOW_OPERATION_DRILLDOWN_LINK);
      }
    } catch (HiveSQLException e) {
      // The operation not found, disable showing it
    }
    return false;
  }
@param handle handle of SQLOperation.
@return display representing a particular SQLOperation.
service/src/java/org/apache/hive/service/cli/operation/OperationManager.java