com.basho.riak.client.query.indexes
Class FetchIndex<T>

java.lang.Object
  extended by com.basho.riak.client.query.indexes.FetchIndex<T>
Type Parameters:
T -
All Implemented Interfaces:
RiakOperation<List<String>>

public class FetchIndex<T>
extends Object
implements RiakOperation<List<String>>

Author:
russell

Field Summary
protected  T from
           
protected  RiakIndex<T> index
           
protected  T to
           
protected  T value
           
 
Constructor Summary
FetchIndex(RawClient client, String bucket, RiakIndex<T> index, Retrier retrier)
           
 
Method Summary
 List<String> execute()
           
 FetchIndex<T> from(T from)
           
 FetchIndex<T> to(T to)
           
 FetchIndex<T> withValue(T value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

index

protected final RiakIndex<T> index

value

protected T value

from

protected T from

to

protected T to
Constructor Detail

FetchIndex

public FetchIndex(RawClient client,
                  String bucket,
                  RiakIndex<T> index,
                  Retrier retrier)
Parameters:
index -
Method Detail

execute

public List<String> execute()
                     throws RiakException
Specified by:
execute in interface RiakOperation<List<String>>
Throws:
RiakException

withValue

public FetchIndex<T> withValue(T value)

from

public FetchIndex<T> from(T from)

to

public FetchIndex<T> to(T to)


Copyright © 2012. All Rights Reserved.