@Override
  public Set<Long> getStatementIds() {
    return statementIdToQueryId.keySet();
  }
For Internal usage, like CQ and Select Into.
iotdb-core/datanode/src/main/java/org/apache/iotdb/db/protocol/session/InternalClientSession.java