com.basho.riak.client.raw.query.indexes
Class IntValueQuery
java.lang.Object
com.basho.riak.client.raw.query.indexes.AbstractIndexQuery
com.basho.riak.client.raw.query.indexes.AbstractValueQuery<Integer>
com.basho.riak.client.raw.query.indexes.IntValueQuery
- All Implemented Interfaces:
- IndexQuery, ValueQuery<Integer>
public class IntValueQuery
- extends AbstractValueQuery<Integer>
Concrete value query for an IntIndex
- Author:
- russell
Method Summary |
void |
write(IndexWriter writer)
Write the index query to the given writer |
IntValueQuery
public IntValueQuery(IntIndex index,
String bucket,
Integer value)
- Create a query that matches
value
in index
- Parameters:
index
- the IntIndex
to querybucket
- the bucket to queryvalue
- the value to match
write
public void write(IndexWriter writer)
throws IOException
- Description copied from interface:
IndexQuery
- Write the index query to the given writer
- Parameters:
writer
- an IndexWriter
- Throws:
IOException
Copyright © 2012. All Rights Reserved.