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 TypeMethodDescriptiongenerate(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
Generate create table SQL.- Parameters:
tableName- table nameschemaName- schema namedataSource- dataSource- Returns:
- generated SQL
- Throws:
SQLException- SQL exception
-