Interface CreateTableSQLGenerator
-
- All Superinterfaces:
org.apache.shardingsphere.infra.util.spi.type.typed.TypedSPI
public interface CreateTableSQLGenerator extends org.apache.shardingsphere.infra.util.spi.type.typed.TypedSPICreate table SQL generator.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Collection<String>generate(DataSource dataSource, String schemaName, String tableName)Generate create table SQLs.
-
-
-
Method Detail
-
generate
Collection<String> generate(DataSource dataSource, String schemaName, String tableName) throws SQLException
Generate create table SQLs.- Parameters:
dataSource- dataSourceschemaName- schema nametableName- table name- Returns:
- generated SQLs
- Throws:
SQLException- SQL exception
-
-