OmniSciDB
a5dc49c757
|
Public Member Functions | |
HeavyDBRelJsonWriter () | |
final void | explain (RelNode rel, List< Pair< String, Object >> valueList) |
SqlExplainLevel | getDetailLevel () |
RelWriter | input (String term, RelNode input) |
RelWriter | item (String term, Object value) |
RelWriter | itemIf (String term, Object value, boolean condition) |
RelWriter | done (RelNode node) |
boolean | nest () |
String | asString () |
Map< String, Object > | asJsonMap () |
Protected Member Functions | |
void | explain_ (RelNode rel, List< Pair< String, Object >> values) |
Private Member Functions | |
void | put (Map< String, Object > map, String name, Object value) |
List< Object > | explainInputs (List< RelNode > inputs) |
boolean | deliverHints (RelNode rel) |
String | explainHints (RelNode rel) |
List< Object > | getList (List< Pair< String, Object >> values, String tag) |
Private Attributes | |
final EscapedStringJsonBuilder | jsonBuilder |
final HeavyDBRelJson | relJson |
final Map< RelNode, String > | relIdMap = new IdentityHashMap<RelNode, String>() |
final List< Object > | relList |
final List< Pair< String, Object > > | values = new ArrayList<Pair<String, Object>>() |
String | previousId |
Callback for a relational expression to dump itself as JSON.
Definition at line 39 of file HeavyDBRelJsonWriter.java.
|
inline |
Definition at line 51 of file HeavyDBRelJsonWriter.java.
References org.apache.calcite.rel.externalize.HeavyDBRelJsonWriter.jsonBuilder, org.apache.calcite.rel.externalize.HeavyDBRelJsonWriter.relJson, and org.apache.calcite.rel.externalize.HeavyDBRelJsonWriter.relList.
|
inline |
Definition at line 234 of file HeavyDBRelJsonWriter.java.
References org.apache.calcite.rel.externalize.HeavyDBRelJsonWriter.relList.
Referenced by org.apache.calcite.rel.externalize.HeavyDBRelJsonWriter.asString().
|
inline |
Returns a JSON string describing the relational expressions that were just explained.
Definition at line 230 of file HeavyDBRelJsonWriter.java.
References org.apache.calcite.rel.externalize.HeavyDBRelJsonWriter.asJsonMap().
|
inlineprivate |
Definition at line 118 of file HeavyDBRelJsonWriter.java.
Referenced by org.apache.calcite.rel.externalize.HeavyDBRelJsonWriter.explain_().
|
inline |
Definition at line 215 of file HeavyDBRelJsonWriter.java.
References org.apache.calcite.rel.externalize.HeavyDBRelJsonWriter.explain_(), and org.apache.calcite.rel.externalize.HeavyDBRelJsonWriter.values.
|
inline |
Definition at line 179 of file HeavyDBRelJsonWriter.java.
References org.apache.calcite.rel.externalize.HeavyDBRelJsonWriter.explain_().
|
inlineprotected |
Definition at line 59 of file HeavyDBRelJsonWriter.java.
References org.apache.calcite.rel.externalize.HeavyDBRelJsonWriter.deliverHints(), org.apache.calcite.rel.externalize.HeavyDBRelJsonWriter.explainHints(), org.apache.calcite.rel.externalize.HeavyDBRelJsonWriter.explainInputs(), org.apache.calcite.rel.externalize.HeavyDBRelJsonWriter.previousId, org.apache.calcite.rel.externalize.HeavyDBRelJsonWriter.put(), and org.apache.calcite.rel.externalize.HeavyDBRelJsonWriter.values.
Referenced by org.apache.calcite.rel.externalize.HeavyDBRelJsonWriter.done(), and org.apache.calcite.rel.externalize.HeavyDBRelJsonWriter.explain().
|
inlineprivate |
Definition at line 158 of file HeavyDBRelJsonWriter.java.
Referenced by org.apache.calcite.rel.externalize.HeavyDBRelJsonWriter.explain_().
|
inlineprivate |
Definition at line 105 of file HeavyDBRelJsonWriter.java.
References org.apache.calcite.rel.externalize.HeavyDBRelJsonWriter.input(), and org.apache.calcite.rel.externalize.HeavyDBRelJsonWriter.previousId.
Referenced by org.apache.calcite.rel.externalize.HeavyDBRelJsonWriter.explain_().
|
inline |
Definition at line 183 of file HeavyDBRelJsonWriter.java.
|
inlineprivate |
Definition at line 196 of file HeavyDBRelJsonWriter.java.
References org.apache.calcite.rel.externalize.HeavyDBRelJsonWriter.values.
|
inline |
Definition at line 187 of file HeavyDBRelJsonWriter.java.
Referenced by org.apache.calcite.rel.externalize.HeavyDBRelJsonWriter.explainInputs().
|
inline |
Definition at line 191 of file HeavyDBRelJsonWriter.java.
Referenced by org.apache.calcite.rel.externalize.HeavyDBRelJsonWriter.itemIf().
|
inline |
Definition at line 208 of file HeavyDBRelJsonWriter.java.
References org.apache.calcite.rel.externalize.HeavyDBRelJsonWriter.item().
|
inline |
Definition at line 222 of file HeavyDBRelJsonWriter.java.
|
inlineprivate |
Definition at line 101 of file HeavyDBRelJsonWriter.java.
References setup.name.
Referenced by org.apache.calcite.rel.externalize.HeavyDBRelJsonWriter.explain_().
|
private |
Definition at line 42 of file HeavyDBRelJsonWriter.java.
Referenced by org.apache.calcite.rel.externalize.HeavyDBRelJsonWriter.HeavyDBRelJsonWriter().
|
private |
Definition at line 47 of file HeavyDBRelJsonWriter.java.
Referenced by org.apache.calcite.rel.externalize.HeavyDBRelJsonWriter.explain_(), and org.apache.calcite.rel.externalize.HeavyDBRelJsonWriter.explainInputs().
|
private |
Definition at line 44 of file HeavyDBRelJsonWriter.java.
|
private |
Definition at line 43 of file HeavyDBRelJsonWriter.java.
Referenced by org.apache.calcite.rel.externalize.HeavyDBRelJsonWriter.HeavyDBRelJsonWriter().
|
private |
Definition at line 45 of file HeavyDBRelJsonWriter.java.
Referenced by org.apache.calcite.rel.externalize.HeavyDBRelJsonWriter.asJsonMap(), and org.apache.calcite.rel.externalize.HeavyDBRelJsonWriter.HeavyDBRelJsonWriter().
|
private |