Class BinarySearchBuilder
java.lang.Object
org.aksw.commons.io.hadoop.binseach.v2.BinarySearchBuilder
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected org.apache.hadoop.io.compress.SplittableCompressionCodecprotected Pathprotected BinSearchResourceCacheprotected SeekableReadableChannelSource<byte[]> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()static BinarySearchBuildersetCodec(org.apache.hadoop.io.compress.SplittableCompressionCodec codec) setResourceCache(BinSearchResourceCache resourceCache) setSource(SeekableReadableChannelSource<byte[]> source) Usually the source is derived from the path, however, it can be overridden such that a wrapped source can be specified, such as one that tracks read operations.
-
Field Details
-
path
-
source
-
codec
protected org.apache.hadoop.io.compress.SplittableCompressionCodec codec -
resourceCache
-
-
Constructor Details
-
BinarySearchBuilder
public BinarySearchBuilder()
-
-
Method Details
-
newBuilder
-
setSource
-
setSource
Usually the source is derived from the path, however, it can be overridden such that a wrapped source can be specified, such as one that tracks read operations. -
setCodec
-
setResourceCache
-
build
-