Package cleo.search.store

Examples of cleo.search.store.KratiArrayStore


  public KratiArrayStoreIntsScan(int length,
                                 int batchSize,
                                 int numSyncBatches,
                                 String homeDirectoryStr) throws Exception {
    arrayStore =
      new KratiArrayStore(length, batchSize, numSyncBatches, homeDirectoryStr, new MappedSegmentFactory());
  }
View Full Code Here


                                 int numSyncBatches,
                                 String store1HomeDirectory,
                                 String store2HomeDirectory)
  throws Exception {
    arrayStore1 =
      new KratiArrayStore(length, batchSize, numSyncBatches, store1HomeDirectory, new MappedSegmentFactory());
    arrayStore2 =
      new KratiArrayStore(length, batchSize, numSyncBatches, store2HomeDirectory, new MappedSegmentFactory());
  }
View Full Code Here

  protected void setUp() {
    int capacity = 1000;
    String storeName = getClass().getSimpleName();
    try {
      File storeHome = FileUtils.getTestDir(storeName);
      KratiArrayStore kas = StoreFactory.createKratiArrayStore(storeHome, capacity, new MemorySegmentFactory(), 32);
      store = new KratiArrayStoreFilters(kas);
    } catch (Exception e) {
      e.printStackTrace();
    }
  }
View Full Code Here

TOP

Related Classes of cleo.search.store.KratiArrayStore

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.