MCPcopy Create free account
hub / github.com/apache/calcite / getSortExps

Method getSortExps

core/src/main/java/org/apache/calcite/rel/core/Sort.java:255–260  ·  view source on GitHub ↗

Returns the sort expressions.

()

Source from the content-addressed store, hash-verified

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);

Callers 5

acceptMethod · 0.95
explainTermsMethod · 0.95
onMatchMethod · 0.95
testSortMethod · 0.80
visitMethod · 0.80

Calls 6

transformMethod · 0.95
getFieldCollationsMethod · 0.65
getRexBuilderMethod · 0.65
getClusterMethod · 0.65
makeInputRefMethod · 0.45
getFieldIndexMethod · 0.45

Tested by 1

testSortMethod · 0.64