public final class OrderByItemConverterUtil extends Object
| Constructor and Description |
|---|
OrderByItemConverterUtil() |
| Modifier and Type | Method and Description |
|---|---|
static Collection<org.apache.calcite.sql.SqlNode> |
convertToSQLNode(Collection<org.apache.shardingsphere.sql.parser.sql.common.segment.dml.order.item.OrderByItemSegment> orderByItems)
Convert order by items to sql node.
|
static Collection<org.apache.shardingsphere.sql.parser.sql.common.segment.dml.order.item.OrderByItemSegment> |
convertToSQLSegment(org.apache.calcite.sql.SqlNodeList sqlNodeList)
Convert sql node list to order by items.
|
public static Collection<org.apache.calcite.sql.SqlNode> convertToSQLNode(Collection<org.apache.shardingsphere.sql.parser.sql.common.segment.dml.order.item.OrderByItemSegment> orderByItems)
orderByItems - order by item listpublic static Collection<org.apache.shardingsphere.sql.parser.sql.common.segment.dml.order.item.OrderByItemSegment> convertToSQLSegment(org.apache.calcite.sql.SqlNodeList sqlNodeList)
sqlNodeList - sql node listCopyright © 2022 The Apache Software Foundation. All rights reserved.