OmniSciDB  c07336695a
com.mapd.calcite.parser.MapDSerializer Class Reference

Static Public Member Functions

static String toString (final RelNode rel)
 

Detailed Description

Author
michael

Definition at line 26 of file MapDSerializer.java.

Member Function Documentation

◆ toString()

static String com.mapd.calcite.parser.MapDSerializer.toString ( final RelNode  rel)
inlinestatic

Definition at line 27 of file MapDSerializer.java.

References org.apache.calcite.rel.externalize.MapDRelJsonWriter.asString().

Referenced by com.mapd.calcite.parser.MapDParser.getRelAlgebra(), and com.mapd.calcite.planner.tester.main().

27  {
28  if (rel == null) {
29  return null;
30  }
31  final MapDRelJsonWriter planWriter = new MapDRelJsonWriter();
32  rel.explain(planWriter);
33  return planWriter.asString();
34  }
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

The documentation for this class was generated from the following file: