public static TablePattern parsePipePatternFromSourceParameters(
      final PipeParameters sourceParameters) {
    final boolean isTableModelDataAllowedToBeCaptured =
        isTableModelDataAllowToBeCaptured(sourceParameters);
    final String databaseNamePattern =
        sourceParameters.getStringOrDefault(
            Arrays.asList(
                EXTRACTOR_DATABASE_NAME_KEY,
                SOURCE_DATABASE_NAME_KEY,
                EXTRACTOR_DATABASE_KEY,
                SOURCE_DATABASE_KEY),
            EXTRACTOR_DATABASE_NAME_DEFAULT_VALUE);
    final String tableNamePattern =
        sourceParameters.getStringOrDefault(
            Arrays.asList(
                EXTRACTOR_TABLE_NAME_KEY,
                SOURCE_TABLE_NAME_KEY,
                EXTRACTOR_TABLE_KEY,
                SOURCE_TABLE_KEY),
            EXTRACTOR_TABLE_NAME_DEFAULT_VALUE);
    try {
      return new TablePattern(
          isTableModelDataAllowedToBeCaptured, databaseNamePattern, tableNamePattern);
    } catch (final Exception e) {
      throw new PipeException("Illegal database or table pattern. Detail: " + e.getMessage(), e);
    }
  }
Interpret from source parameters and get a pipe pattern.

@return The interpreted {@link TablePattern} which is not {@code null}.
iotdb-core/node-commons/src/main/java/org/apache/iotdb/commons/pipe/datastructure/pattern/TablePattern.java