@Override
  public boolean equals(Object o) {
    if (this == o) return true;
    if (o == null || getClass() != o.getClass()) return false;
    QueryExecutor that = (QueryExecutor) o;
    return Objects.equals(dataNodeLocation, that.dataNodeLocation);
  }
QueryExecutor indicates this query can execute directly without data from StorageEngine
iotdb-core/node-commons/src/main/java/org/apache/iotdb/commons/partition/QueryExecutor.java