public class RawIndex extends RiakIndex<BinaryValue>
RiakIndex implementation used to access a Riak _int or _bin
Secondary Index using BinaryValue (byte[]) values.
Data in Riak including secondary indexes is stored as bytes. This implementation
of RiakIndex provides direct access to those bytes.
| Modifier and Type | Class and Description |
|---|---|
static class |
RawIndex.Name
Encapsulates the name and
IndexType for a RawIndex |
| Modifier and Type | Method and Description |
|---|---|
protected BinaryValue |
convert(BinaryValue value)
Convert bytes to a value type.
|
static RawIndex.Name |
named(String name,
IndexType type) |
protected BinaryValue convert(BinaryValue value)
RiakIndexIndex values are stored internally as bytes. Concrete classes implement this method to convert bytes to values.
convert in class RiakIndex<BinaryValue>value - the value to convertpublic static RawIndex.Name named(String name, IndexType type)
Copyright © 2015. All rights reserved.