Package org.apache.drill.exec.ref.rops

Examples of org.apache.drill.exec.ref.rops.ROP


      Constructor<?> ctor = c.getConstructor(o.getClass());
      if (ctor == null)
        throw new IllegalArgumentException(
            "Class does not have an available constructor that supports a single argument of the class "
                + o.getClass().getSimpleName());
      ROP r = (ROP) ctor.newInstance(o);
      r.init(registry, builder);
      return;

    } catch (NoSuchMethodException | ClassNotFoundException | IllegalAccessException | InstantiationException e) {
      logger.debug("No {} class that accepts a single parameter or type {}.", name, o.getClass().getCanonicalName());
    } catch (InvocationTargetException e) {
View Full Code Here


      scanner.init(registry, builder);
      return;
    default:
      Union logOp = new Union(null, false);

      ROP parentUnion = new UnionROP(logOp);
      ScanROP[] scanners = new ScanROP[readEntries.size()];
      int i = 0;
      for (ReadEntry e : readEntries) {
        scanners[i] = new ScanROP(scan, e, engine);
        scanners[i].init(registry, builder);
        i++;
      }

      parentUnion.init(registry, builder);
      registry.swap(logOp, scan); // make it so future things point to the union as the original scans.
      return;
    }
  }
View Full Code Here

TOP

Related Classes of org.apache.drill.exec.ref.rops.ROP

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.