me.prettyprint.cassandra.service.template
Class IndexedSlicesPredicate<K,N,V>
java.lang.Object
me.prettyprint.cassandra.service.template.IndexedSlicesPredicate<K,N,V>
- Type Parameters:
K - Key classN - Column name classV - Column value class
public class IndexedSlicesPredicate<K,N,V>
- extends Object
Predicate wrapping the Thrift IndexClause for the get_indexed_slices call.
- Author:
- Jim Ancona (jim@anconafamily.com)
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
IndexedSlicesPredicate
public IndexedSlicesPredicate(Serializer<K> keySerializer,
Serializer<N> nameSerializer,
Serializer<V> valueSerializer)
count
public IndexedSlicesPredicate<K,N,V> count(int count)
startKey
public IndexedSlicesPredicate<K,N,V> startKey(K key)
addExpression
public IndexedSlicesPredicate<K,N,V> addExpression(N columnName,
org.apache.cassandra.thrift.IndexOperator op,
V value)
toThrift
public org.apache.cassandra.thrift.IndexClause toThrift()
Copyright © 2013. All Rights Reserved.