public final class SelectStatementConverter extends Object implements SQLStatementConverter<org.apache.shardingsphere.sql.parser.sql.common.statement.dml.SelectStatement,org.apache.calcite.sql.SqlNode>
| Constructor and Description |
|---|
SelectStatementConverter() |
| Modifier and Type | Method and Description |
|---|---|
org.apache.calcite.sql.SqlNode |
convertToSQLNode(org.apache.shardingsphere.sql.parser.sql.common.statement.dml.SelectStatement selectStatement)
Convert SQL statement to SQL node.
|
org.apache.shardingsphere.sql.parser.sql.common.statement.dml.SelectStatement |
convertToSQLStatement(org.apache.calcite.sql.SqlNode sqlNode)
Convert SQL node to SQL statement.
|
public org.apache.calcite.sql.SqlNode convertToSQLNode(org.apache.shardingsphere.sql.parser.sql.common.statement.dml.SelectStatement selectStatement)
SQLStatementConverterconvertToSQLNode in interface SQLStatementConverter<org.apache.shardingsphere.sql.parser.sql.common.statement.dml.SelectStatement,org.apache.calcite.sql.SqlNode>selectStatement - SQL statement be to convertedpublic org.apache.shardingsphere.sql.parser.sql.common.statement.dml.SelectStatement convertToSQLStatement(org.apache.calcite.sql.SqlNode sqlNode)
SQLStatementConverterconvertToSQLStatement in interface SQLStatementConverter<org.apache.shardingsphere.sql.parser.sql.common.statement.dml.SelectStatement,org.apache.calcite.sql.SqlNode>sqlNode - SQL node be to convertedCopyright © 2022 The Apache Software Foundation. All rights reserved.