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