Class Overview
Performs a search on a reverse index and fetches all the matching rows
CFData:K C=V1 C=V2
CFIndex: V1:K
Data and Index column family
The CFData column family has key of
type K and fields or columns of type C. Each column may have a different
value type. The CFIndex column family is a sorted index by one of the value
types V. The column names in the reverse index are a composite of the value
type V and the CFData rowkey type K (V:K).
Summary
Nested Classes |
interface |
ReverseIndexQuery.IndexEntryCallback<K, V> |
|
class |
ReverseIndexQuery.Task |
|
Public Methods |
void
|
execute()
|
ReverseIndexQuery<K, C, V>
|
forEach( callback)
|
ReverseIndexQuery<K, C, V>
|
forEachIndexEntry(IndexEntryCallback<K, V> callback)
|
ReverseIndexQuery<K, C, V>
|
fromIndexValue(V startValue)
|
static
<K, C, V>
ReverseIndexQuery<K, C, V>
|
newQuery(Keyspace ks, ColumnFamily<K, C> cf, String indexCf, Serializer<V> valSerializer)
|
ReverseIndexQuery<K, C, V>
|
setShardBlockSize(int size)
Set the number shard keys to fetch for the first query
|
ReverseIndexQuery<K, C, V>
|
setShardNextPageSize(int size)
|
ReverseIndexQuery<K, C, V>
|
setShardPageSize(int size)
Set the number columns to read from each shard when paginating.
|
ReverseIndexQuery<K, C, V>
|
toIndexValue(V endValue)
|
ReverseIndexQuery<K, C, V>
|
useExecutor(ExecutorService executor)
|
ReverseIndexQuery<K, C, V>
|
useRetryPolicy(RetryPolicy retry)
|
ReverseIndexQuery<K, C, V>
|
withColumnSlice(Collection<C> columnSlice)
|
ReverseIndexQuery<K, C, V>
|
withConsistencyLevel(ConsistencyLevel consistencyLevel)
|
ReverseIndexQuery<K, C, V>
|
withIndexShards(Collection<ByteBuffer> shardKeys)
|
[Expand]
Inherited Methods |
From class
java.lang.Object
Object
|
clone()
|
boolean
|
equals(Object arg0)
|
void
|
finalize()
|
final
Class<?>
|
getClass()
|
int
|
hashCode()
|
final
void
|
notify()
|
final
void
|
notifyAll()
|
String
|
toString()
|
final
void
|
wait()
|
final
void
|
wait(long arg0, int arg1)
|
final
void
|
wait(long arg0)
|
|
Public Constructors
Public Methods
public
ReverseIndexQuery<K, C, V>
setShardBlockSize
(int size)
Set the number shard keys to fetch for the first query
public
ReverseIndexQuery<K, C, V>
setShardPageSize
(int size)
Set the number columns to read from each shard when paginating.