public static List<IDeviceSchemaInfo> getTableDevice(
      final ISchemaRegion schemaRegion,
      final String table,
      final int idColumnNum,
      final List<SchemaFilter> idDeterminedFilterList) {
    final List<PartialPath> patternList =
        DeviceFilterUtil.convertToDevicePattern(
            new String[] {PATH_ROOT, schemaRegion.getDatabaseFullPath(), table},
            idColumnNum,
            Collections.singletonList(idDeterminedFilterList),
            false);
    final List<IDeviceSchemaInfo> result = new ArrayList<>();
    for (final PartialPath pattern : patternList) {
      try (final ISchemaReader<IDeviceSchemaInfo> reader =
          schemaRegion.getTableDeviceReader(pattern)) {
        while (reader.hasNext()) {
          result.add(reader.next());
        }
      } catch (final Exception e) {
        throw new RuntimeException(e);
      }
    }
    return result;
  }
Create time series quickly using createSimpleTimeSeriesInt64 with given string list of paths.

@param schemaRegion schemaRegion which you want to create time series
@param pathList
iotdb-core/datanode/src/test/java/org/apache/iotdb/db/metadata/schemaRegion/SchemaRegionTestUtil.java