Package org.apache.drill.exec.ref.rse

Examples of org.apache.drill.exec.ref.rse.ReferenceStorageEngine


  }

  private ReferenceStorageEngine getEngine(String name){
    StorageEngineConfig config = plan.getStorageEngineConfig(name);
    if(config == null) throw new SetupException(String.format("Unable to find define storage engine of name [%s].", name));
    ReferenceStorageEngine engine = engineRegistry.getEngine(config);
    return engine;
  }
View Full Code Here


    rop.init(registry, builder);
  }

  public void convertSpecific(Scan scan) throws SetupException {
    StorageEngineConfig engineConfig = plan.getStorageEngineConfig(scan.getStorageEngine());
    ReferenceStorageEngine engine = engineRegistry.getEngine(engineConfig);
    Collection<ReadEntry> readEntries;
    try {
      readEntries = engine.getReadEntries(scan);
    } catch (IOException e1) {
      throw new SetupException("Failure reading input entries.", e1);
    }
   
    switch(readEntries.size()){
View Full Code Here

TOP

Related Classes of org.apache.drill.exec.ref.rse.ReferenceStorageEngine

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.