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 Modifier and Type Field Description protected AdaptiveBuilder
builder
-
Constructor Summary
Constructors Constructor Description AbstractRandomBuilder()
-
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.illumon.iris.db.v2.utils.IndexBuilder
addIndex, addKeyIndicesChunk, addKeyIndicesChunk, addKeys, addOrderedKeyIndicesChunk, addRanges, getIndex
-
Field Details
-
Constructor Details
-
AbstractRandomBuilder
public AbstractRandomBuilder()
-
-
Method Details
-
addKey
public void addKey(long key)Description copied from interface:IndexBuilder
Add the specified key to the builder.- Specified by:
addKey
in interfaceIndexBuilder
- Parameters:
key
- the key
-
addRange
public void addRange(long start, long endInclusive)Description copied from interface:IndexBuilder
Append the specified range of keys to the builder.- Specified by:
addRange
in interfaceIndexBuilder
- Parameters:
start
- the first key in the range (inclusive)
-