public final class ShardingSphereOptimizer extends Object
| Constructor and Description |
|---|
ShardingSphereOptimizer() |
| Modifier and Type | Method and Description |
|---|---|
org.apache.calcite.rel.RelNode |
optimize(String databaseName,
String schemaName,
org.apache.shardingsphere.sql.parser.sql.common.statement.SQLStatement sqlStatement)
Optimize query execution plan.
|
public org.apache.calcite.rel.RelNode optimize(String databaseName, String schemaName, org.apache.shardingsphere.sql.parser.sql.common.statement.SQLStatement sqlStatement)
databaseName - database nameschemaName - schema namesqlStatement - SQL statement to be optimizedCopyright © 2022 The Apache Software Foundation. All rights reserved.