com.basho.riak.client.query.indexes
Class BinIndex

java.lang.Object
  extended by com.basho.riak.client.query.indexes.RiakIndex<String>
      extended by com.basho.riak.client.query.indexes.BinIndex
Direct Known Subclasses:
KeyIndex

public class BinIndex
extends RiakIndex<String>

Author:
russell

Constructor Summary
protected BinIndex(String name)
           
 
Method Summary
protected  String getSuffix()
           
static BinIndex named(String name)
          Factory method, create a new IntIndex
 
Methods inherited from class com.basho.riak.client.query.indexes.RiakIndex
equals, getFullname, getName, hashCode
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BinIndex

protected BinIndex(String name)
Method Detail

named

public static BinIndex named(String name)
Factory method, create a new IntIndex

Parameters:
name - the index name (**WITHOUT** any Riak specific suffix! e.g. use "email" not "email_bin")
Returns:
an BinIndex named name

getSuffix

protected String getSuffix()
Specified by:
getSuffix in class RiakIndex<String>


Copyright © 2012. All Rights Reserved.