类 DmdbDialect

    • 字段详细资料

      • fieldIde

        public String fieldIde
    • 构造器详细资料

      • DmdbDialect

        public DmdbDialect​(String fieldIde)
    • 方法详细资料

      • getUpsertStatement

        public Optional<String> getUpsertStatement​(String database,
                                                   String tableName,
                                                   String[] fieldNames,
                                                   String[] uniqueKeyFields)
        从接口复制的说明: JdbcDialect
        Constructs the dialects upsert statement if supported; such as MySQL's DUPLICATE KEY UPDATE, or PostgreSQL's ON CONFLICT... DO UPDATE SET...

        If supported, the returned string will be used as a PreparedStatement. Fields in the statement must be in the same order as the fieldNames parameter.

        If the dialect does not support native upsert statements, the writer will fallback to SELECT ROW Exists + UPDATE/INSERT which may have poor performance.

        指定者:
        getUpsertStatement 在接口中 JdbcDialect
        返回:
        the dialects UPSERT statement or Optional.empty().
      • extractTableName

        public String extractTableName​(org.apache.seatunnel.api.table.catalog.TablePath tablePath)
        指定者:
        extractTableName 在接口中 JdbcDialect
      • parse

        public org.apache.seatunnel.api.table.catalog.TablePath parse​(String tablePath)
        指定者:
        parse 在接口中 JdbcDialect
      • tableIdentifier

        public String tableIdentifier​(org.apache.seatunnel.api.table.catalog.TablePath tablePath)
        指定者:
        tableIdentifier 在接口中 JdbcDialect