Package org.apache.drill.exec.store.sys.local

Examples of org.apache.drill.exec.store.sys.local.LocalEStoreProvider


  private final String mongoURL;
  private final LocalEStoreProvider localEStoreProvider;

  public MongoPStoreProvider(PStoreRegistry registry) {
    mongoURL = registry.getConfig().getString(SYS_STORE_PROVIDER_MONGO_URL);
    localEStoreProvider = new LocalEStoreProvider();
  }
View Full Code Here


    if ((coord instanceof ZKClusterCoordinator)) {
      this.localEStoreProvider = null;
      this.zkEStoreProvider = new ZkEStoreProvider(((ZKClusterCoordinator)registry.getClusterCoordinator()).getCurator());
      this.zkAvailable = true;
    } else {
      this.localEStoreProvider = new LocalEStoreProvider();
      this.zkEStoreProvider = null;
      this.zkAvailable = false;
    }

  }
View Full Code Here

  @VisibleForTesting
  public HBasePStoreProvider(Configuration conf, String storeTableName) {
    this.hbaseConf = conf;
    this.storeTableName = storeTableName;
    this.localEStoreProvider = new LocalEStoreProvider();
    this.zkEStoreProvider = null;
    this.zkAvailable = false;
  }
View Full Code Here

TOP

Related Classes of org.apache.drill.exec.store.sys.local.LocalEStoreProvider

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.