예제 #1
0
 @Override
 public PhysicalOperator visitStore(Store store, Object obj) throws OptimizerException {
   if (!store.iterator().hasNext()) {
     throw new OptimizerException("Store node in logical plan does not have a child.");
   }
   return new Screen(store.iterator().next().accept(this, obj), context.getCurrentEndpoint());
 }