Returns the sort expressions.
()
| 253 | |
| 254 | /** Returns the sort expressions. */ |
| 255 | public List<RexNode> getSortExps() { |
| 256 | //noinspection StaticPseudoFunctionalStyleMethod |
| 257 | return Util.transform(collation.getFieldCollations(), field -> |
| 258 | getCluster().getRexBuilder().makeInputRef(input, |
| 259 | requireNonNull(field, "field").getFieldIndex())); |
| 260 | } |
| 261 | |
| 262 | @Override public RelWriter explainTerms(RelWriter pw) { |
| 263 | super.explainTerms(pw); |