public final class BinaryOperationExpressionConverter extends Object implements SQLSegmentConverter<org.apache.shardingsphere.sql.parser.sql.common.segment.dml.expr.BinaryOperationExpression,org.apache.calcite.sql.SqlBasicCall>
| Constructor and Description |
|---|
BinaryOperationExpressionConverter() |
| Modifier and Type | Method and Description |
|---|---|
Optional<org.apache.calcite.sql.SqlBasicCall> |
convertToSQLNode(org.apache.shardingsphere.sql.parser.sql.common.segment.dml.expr.BinaryOperationExpression segment)
Convert SQL segment to SQL node.
|
Optional<org.apache.shardingsphere.sql.parser.sql.common.segment.dml.expr.BinaryOperationExpression> |
convertToSQLSegment(org.apache.calcite.sql.SqlBasicCall sqlBasicCall)
Convert SQL node to SQL segment.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetStartIndex, getStopIndexpublic Optional<org.apache.calcite.sql.SqlBasicCall> convertToSQLNode(org.apache.shardingsphere.sql.parser.sql.common.segment.dml.expr.BinaryOperationExpression segment)
SQLSegmentConverterconvertToSQLNode in interface SQLSegmentConverter<org.apache.shardingsphere.sql.parser.sql.common.segment.dml.expr.BinaryOperationExpression,org.apache.calcite.sql.SqlBasicCall>segment - SQL segment be to convertedpublic Optional<org.apache.shardingsphere.sql.parser.sql.common.segment.dml.expr.BinaryOperationExpression> convertToSQLSegment(org.apache.calcite.sql.SqlBasicCall sqlBasicCall)
SQLSegmentConverterconvertToSQLSegment in interface SQLSegmentConverter<org.apache.shardingsphere.sql.parser.sql.common.segment.dml.expr.BinaryOperationExpression,org.apache.calcite.sql.SqlBasicCall>sqlBasicCall - SQL node be to convertedCopyright © 2022 The Apache Software Foundation. All rights reserved.