@Override
  @Deprecated
  public void createSchemaTemplate(
      String name,
      List<String> schemaNames,
      List<List<String>> measurements,
      List<List<TSDataType>> dataTypes,
      List<List<TSEncoding>> encodings,
      List<CompressionType> compressors)
      throws IoTDBConnectionException, StatementExecutionException {
    List<String> flatMeasurements = new ArrayList<>();
    List<TSDataType> flatDataTypes = new ArrayList<>();
    List<TSEncoding> flatEncodings = new ArrayList<>();
    for (int idx = 0; idx < measurements.size(); idx++) {
      flatMeasurements.add(measurements.get(idx).get(0));
      flatDataTypes.add(dataTypes.get(idx).get(0));
      flatEncodings.add(encodings.get(idx).get(0));
    }
    try {
      createSchemaTemplate(
          name, flatMeasurements, flatDataTypes, flatEncodings, compressors, false);
    } catch (IOException e) {
      throw new StatementExecutionException(e.getMessage());
    }
  }
Compatible for rel/0.12, this method will create an unaligned flat template as a result. Notice
that there is no aligned concept in 0.12, so only the first measurement in each nested list
matters.

@param name name of the template
@param schemaNames it works as a virtual layer inside template in 0.12, and makes no difference
    after 0.13
@param measurements the first measurement in each nested list will constitute the final flat
    template
@param dataTypes the data type of each measurement, only the first one in each nested list
    matters as above
@param encodings the encoding of each measurement, only the first one in each nested list
    matters as above
@param compressors the compressor of each measurement
@deprecated
iotdb-client/session/src/main/java/org/apache/iotdb/session/Session.java