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

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


   
    switch(readEntries.size()){
    case 0:
      throw new SetupException(String.format("Scan provided did not correspond to any available data.", scan));
    case 1:
      ScanROP scanner = new ScanROP(scan, readEntries.iterator().next(), engine);
      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);
View Full Code Here

TOP

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

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.