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.TypedSPI
Create table SQL generator.
-
Method Summary
Modifier and TypeMethodDescriptiongenerate(DataSource dataSource, String schemaName, String tableName) Generate create table SQLs.Methods inherited from interface org.apache.shardingsphere.infra.util.spi.type.typed.TypedSPI
getType, getTypeAliases, init, isDefault
-
Method Details
-
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
-