Class BinarySearcherOverBlockSource

java.lang.Object
org.aksw.commons.io.hadoop.binseach.v2.BinarySearcherOverBlockSource
All Implemented Interfaces:
AutoCloseable, BinarySearcher

public class BinarySearcherOverBlockSource extends Object implements BinarySearcher
Binary search implementation that finds lines matching a prefix in a 'block' source such as a bzip2 compressed file.
  • Field Details

    • blockSource

      protected BlockSource blockSource
    • cacheSupplier

      protected Supplier<org.aksw.commons.io.hadoop.binseach.v2.BinSearchResourceCache.CacheEntry> cacheSupplier
  • Constructor Details

    • BinarySearcherOverBlockSource

      public BinarySearcherOverBlockSource(BlockSource blockSource, Supplier<org.aksw.commons.io.hadoop.binseach.v2.BinSearchResourceCache.CacheEntry> cacheSupplier)
  • Method Details