Class BinarySearchOnBlockSource
java.lang.Object
org.aksw.commons.io.hadoop.binseach.bz2.BinarySearchOnBlockSource
- All Implemented Interfaces:
AutoCloseable,org.aksw.commons.io.binseach.BinarySearcher
public class BinarySearchOnBlockSource
extends Object
implements org.aksw.commons.io.binseach.BinarySearcher
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected org.aksw.commons.io.block.api.BlockSourceprotected AutoCloseable -
Constructor Summary
ConstructorsConstructorDescriptionBinarySearchOnBlockSource(org.aksw.commons.io.block.api.BlockSource blockSource, AutoCloseable closeAction) -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.aksw.commons.io.binseach.BinarySearcher
parallelSearch, search
-
Field Details
-
blockSource
protected org.aksw.commons.io.block.api.BlockSource blockSource -
closeAction
-
-
Constructor Details
-
BinarySearchOnBlockSource
public BinarySearchOnBlockSource(org.aksw.commons.io.block.api.BlockSource blockSource, AutoCloseable closeAction)
-
-
Method Details
-
search
- Specified by:
searchin interfaceorg.aksw.commons.io.binseach.BinarySearcher- Throws:
IOException
-
close
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceorg.aksw.commons.io.binseach.BinarySearcher- Throws:
Exception
-