Interface RALUpdater<T extends org.apache.shardingsphere.sql.parser.sql.common.statement.SQLStatement>

Type Parameters:
T - type of updatable RAL statement
All Superinterfaces:
org.apache.shardingsphere.infra.util.spi.type.typed.TypedSPI

public interface RALUpdater<T extends org.apache.shardingsphere.sql.parser.sql.common.statement.SQLStatement> extends org.apache.shardingsphere.infra.util.spi.type.typed.TypedSPI
RAL updater.
  • Method Summary

    Modifier and Type
    Method
    Description
    default void
    executeUpdate(String databaseName, T sqlStatement)
    Execute update.

    Methods inherited from interface org.apache.shardingsphere.infra.util.spi.type.typed.TypedSPI

    getType, getTypeAliases, init, isDefault
  • Method Details

    • executeUpdate

      default void executeUpdate(String databaseName, T sqlStatement) throws SQLException
      Execute update.
      Parameters:
      databaseName - database name
      sqlStatement - updatable RAL statement
      Throws:
      SQLException - SQL exception