OmniSciDB
a5dc49c757
|
Public Member Functions | |
HeavyDBRelJsonReader (RelOptCluster cluster, RelOptSchema relOptSchema, Schema schema) | |
RelNode | read (String s) throws IOException |
Private Member Functions | |
void | readRels (List< Map< String, Object >> jsonRels) |
void | readRel (final Map< String, Object > jsonRel) |
AggregateCall | toAggCall (RelInput relInput, Map< String, Object > jsonAggCall) |
RelNode | lookupInput (String jsonInput) |
Private Attributes | |
final RelOptCluster | cluster |
final RelOptSchema | relOptSchema |
final HeavyDBRelJson | relJson = new HeavyDBRelJson(null) |
final Map< String, RelNode > | relMap = new LinkedHashMap<>() |
RelNode | lastRel |
Static Private Attributes | |
static final TypeReference < LinkedHashMap< String, Object > > | TYPE_REF |
Reads a JSON plan and converts it back to a tree of relational expressions.
Definition at line 61 of file HeavyDBRelJsonReader.java.
|
inline |
Definition at line 71 of file HeavyDBRelJsonReader.java.
References org.apache.calcite.rel.externalize.HeavyDBRelJsonReader.cluster, and org.apache.calcite.rel.externalize.HeavyDBRelJsonReader.relOptSchema.
|
inlineprivate |
Definition at line 311 of file HeavyDBRelJsonReader.java.
Referenced by org.apache.calcite.rel.externalize.HeavyDBRelJsonReader.readRel().
|
inline |
Definition at line 78 of file HeavyDBRelJsonReader.java.
References org.apache.calcite.rel.externalize.HeavyDBRelJsonReader.lastRel, org.apache.calcite.rel.externalize.HeavyDBRelJsonReader.readRels(), and org.apache.calcite.rel.externalize.HeavyDBRelJsonReader.TYPE_REF.
|
inlineprivate |
Definition at line 96 of file HeavyDBRelJsonReader.java.
References org.apache.calcite.rel.externalize.HeavyDBRelJsonReader.cluster, org.apache.calcite.rel.externalize.HeavyDBRelJsonReader.lastRel, org.apache.calcite.rel.externalize.HeavyDBRelJsonReader.lookupInput(), org.apache.calcite.rel.externalize.HeavyDBRelJsonReader.relJson, org.apache.calcite.rel.externalize.HeavyDBRelJsonReader.relOptSchema, org.apache.calcite.rel.externalize.HeavyDBRelJsonReader.toAggCall(), org.apache.calcite.rel.externalize.HeavyDBRelJson.toRex(), and run_benchmark_import.type.
Referenced by org.apache.calcite.rel.externalize.HeavyDBRelJsonReader.readRels().
|
inlineprivate |
Definition at line 90 of file HeavyDBRelJsonReader.java.
References org.apache.calcite.rel.externalize.HeavyDBRelJsonReader.readRel().
Referenced by org.apache.calcite.rel.externalize.HeavyDBRelJsonReader.read().
|
inlineprivate |
Definition at line 290 of file HeavyDBRelJsonReader.java.
References Integer, setup.name, and run_benchmark_import.type.
Referenced by org.apache.calcite.rel.externalize.HeavyDBRelJsonReader.readRel().
|
private |
Definition at line 65 of file HeavyDBRelJsonReader.java.
Referenced by org.apache.calcite.rel.externalize.HeavyDBRelJsonReader.HeavyDBRelJsonReader(), and org.apache.calcite.rel.externalize.HeavyDBRelJsonReader.readRel().
|
private |
Definition at line 69 of file HeavyDBRelJsonReader.java.
Referenced by org.apache.calcite.rel.externalize.HeavyDBRelJsonReader.read(), and org.apache.calcite.rel.externalize.HeavyDBRelJsonReader.readRel().
|
private |
Definition at line 67 of file HeavyDBRelJsonReader.java.
Referenced by org.apache.calcite.rel.externalize.HeavyDBRelJsonReader.readRel().
|
private |
Definition at line 68 of file HeavyDBRelJsonReader.java.
|
private |
Definition at line 66 of file HeavyDBRelJsonReader.java.
Referenced by org.apache.calcite.rel.externalize.HeavyDBRelJsonReader.HeavyDBRelJsonReader(), and org.apache.calcite.rel.externalize.HeavyDBRelJsonReader.readRel().
|
staticprivate |
Definition at line 62 of file HeavyDBRelJsonReader.java.
Referenced by org.apache.calcite.rel.externalize.HeavyDBRelJsonReader.read().