public boolean getDataPartition(
      final Map<TSeriesPartitionSlot, TTimeSlotList> partitionSlots,
      final DataPartitionTable dataPartition) {
    return dataPartitionTable.getDataPartition(partitionSlots, dataPartition);
  }
Thread-safely get DataPartition within the specific StorageGroup.

@param partitionSlots SeriesPartitionSlots and TimePartitionSlots
@param dataPartition Where the results are stored
@return True if all the PartitionSlots are matched, false otherwise
iotdb-core/confignode/src/main/java/org/apache/iotdb/confignode/persistence/partition/DatabasePartitionTable.java