Interface CreateTableSQLGenerator

All Superinterfaces:
org.apache.shardingsphere.spi.type.typed.TypedSPI

public interface CreateTableSQLGenerator extends org.apache.shardingsphere.spi.type.typed.TypedSPI
Create table SQL generator.
  • Method Summary

    Modifier and Type
    Method
    Description
    generate(String tableName, String schemaName, DataSource dataSource)
    Generate create table SQL.

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

    getType, getTypeAliases
  • Method Details

    • generate

      String generate(String tableName, String schemaName, DataSource dataSource) throws SQLException
      Generate create table SQL.
      Parameters:
      tableName - table name
      schemaName - schema name
      dataSource - dataSource
      Returns:
      generated SQL
      Throws:
      SQLException - SQL exception