Package com.illumon.iris.db.v2.utils
Class Index.AbstractRandomBuilder
java.lang.Object
com.illumon.iris.db.v2.utils.Index.AbstractRandomBuilder
- All Implemented Interfaces:
Index.RandomBuilder,IndexBuilder
- Direct Known Subclasses:
Index.AdaptiveIndexBuilder
- Enclosing interface:
- Index
public abstract static class Index.AbstractRandomBuilder
extends Object
implements Index.RandomBuilder
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.illumon.iris.db.v2.utils.IndexBuilder
IndexBuilder.Helper -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.illumon.iris.db.v2.utils.IndexBuilder
addIndex, addKeyIndicesChunk, addKeyIndicesChunk, addKeys, addOrderedKeyIndicesChunk, addRanges, getIndex
-
Field Details
-
builder
-
-
Constructor Details
-
AbstractRandomBuilder
public AbstractRandomBuilder()
-
-
Method Details
-
addKey
public void addKey(long key) Description copied from interface:IndexBuilderAdd the specified key to the builder.- Specified by:
addKeyin interfaceIndexBuilder- Parameters:
key- the key
-
addRange
public void addRange(long start, long endInclusive) Description copied from interface:IndexBuilderAppend the specified range of keys to the builder.- Specified by:
addRangein interfaceIndexBuilder- Parameters:
start- the first key in the range (inclusive)endInclusive- the last key in the range (inclusive)
-