Package org.apache.calcite.sql
Class SqlByRewriter
java.lang.Object
org.apache.calcite.sql.SqlByRewriter
Rewrites the parser-level
SELECT ... BY clause into equivalent
GROUP BY and ORDER BY lists, and updates SqlSelect
accordingly.-
Method Summary
Modifier and TypeMethodDescriptionstatic voidrewrite(SqlSelect select, @Nullable SqlNodeList by) Rewritesbywhen it is specified onselect.
-
Method Details
-
rewrite
Rewritesbywhen it is specified onselect. No action is taken whenbyis null or empty.
-