Class BinarySearchOnSortedFile

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

public class BinarySearchOnSortedFile extends Object implements BinarySearcher
Binary search over sorted files with memory mapped IO TODO Move to a separate project as this is of general use TODO Allow cache to be shared between concurrent readers
Author:
raven
  • Field Details

    • baseSeekable

      protected Seekable baseSeekable
    • closeAction

      protected AutoCloseable closeAction
    • channelSize

      protected long channelSize
    • delimiter

      protected byte delimiter
  • Constructor Details

    • BinarySearchOnSortedFile

      public BinarySearchOnSortedFile(AutoCloseable closeAction, Seekable baseSeekable, long baseSeekableSize, byte delimiter)
  • Method Details