Package | Description |
---|---|
com.basho.riak.client.core.query.indexes |
Low-level API for managing Riak Secondary Indexes (2i)
|
Modifier and Type | Class and Description |
---|---|
static class |
RiakIndex.Name<T extends RiakIndex<?>>
Abstract base class used to encapsulate a
RiakIndex name and type. |
Modifier and Type | Class and Description |
---|---|
class |
BigIntIndex |
class |
LongIntIndex
RiakIndex implementation used to access a Riak _int Secondary Index using Long values. |
class |
RawIndex
RiakIndex implementation used to access a Riak _int or _bin
Secondary Index using BinaryValue (byte[] ) values. |
class |
StringBinIndex
RiakIndex implementation used to access a Riak _bin Secondary Index using String values. |
Modifier and Type | Method and Description |
---|---|
<V extends RiakIndex<?>,T extends RiakIndex.Name<V>> |
RiakIndexes.getIndex(T name)
Get the named RiakIndex
|
<T extends RiakIndex<?>> |
RiakIndexes.hasIndex(RiakIndex.Name<T> name)
Returns whether a specific RiakIndex is present
|
<V,T extends RiakIndex<V>> |
RiakIndexes.removeIndex(RiakIndex.Name<T> name)
Remove the named RiakIndex
|
Modifier and Type | Method and Description |
---|---|
RiakIndex<T> |
RiakIndex.add(Collection<T> values)
Add a asSet of values to this secondary index.
|
RiakIndex<T> |
RiakIndex.add(T value)
Add a value to this secondary index.
|
RiakIndex<T> |
RiakIndex.remove(Collection<T> values)
Remove a asSet of values from this index
|
RiakIndex<T> |
RiakIndex.remove(T value)
Remove a value from this index.
|
RiakIndex<T> |
RiakIndex.removeAll()
Remove all values from this index
|
Modifier and Type | Method and Description |
---|---|
Iterator<RiakIndex<?>> |
RiakIndexes.iterator() |
Copyright © 2016. All rights reserved.