public List<TConsensusGroupId> getRegionId(TSeriesPartitionSlot seriesSlotId) {
    if (seriesSlotId.getSlotId() == -1) {
      return new ArrayList<>(schemaPartitionMap.values());
    }
    if (!schemaPartitionMap.containsKey(seriesSlotId)) {
      return new ArrayList<>();
    }
    return Collections.singletonList(schemaPartitionMap.get(seriesSlotId));
  }
Query a timePartition's corresponding schemaRegionIds

@param seriesSlotId SeriesPartitionSlot
@return the timePartition's corresponding dataRegionIds, if seriesSlotId==-1, then return all
    seriesPartitionTable's schemaRegionIds;
iotdb-core/node-commons/src/main/java/org/apache/iotdb/commons/partition/SchemaPartitionTable.java