Ejemplo n.º 1
0
 public static void main(String[] args) throws Exception {
   File indexDir =
       new File("/home/kgopalak/pinot_perf/index_dir/scinPricing_OFFLINE/scinPricing_pricing_0");
   ReadMode mode = ReadMode.heap;
   Loaders.IndexSegment.load(indexDir, mode);
 }
Ejemplo n.º 2
0
 public static IndexSegment loadSegment(
     File indexDir, ReadMode readMode, IndexLoadingConfigMetadata indexLoadingConfigMetadata)
     throws Exception {
   return Loaders.IndexSegment.load(indexDir, readMode, indexLoadingConfigMetadata);
 }