public long getLogicalPlanCost() {
    return queryPlanStatistics.getLogicalPlanCost();
  }
This class is used to record the context of a query including QueryId, query statement, session
info and so on.
iotdb-core/datanode/src/main/java/org/apache/iotdb/db/queryengine/common/MPPQueryContext.java