コード例 #1
0
 private List<Object> explainInputs(List<RelNode> inputs) {
   final List<Object> list = jsonBuilder.list();
   for (RelNode input : inputs) {
     String id = relIdMap.get(input);
     if (id == null) {
       input.explain(this);
       id = previousId;
     }
     list.add(id);
   }
   return list;
 }
コード例 #2
0
 public RelJsonWriter() {
   jsonBuilder = new JsonBuilder();
   relList = jsonBuilder.list();
   relJson = new RelJson(jsonBuilder);
 }