com.basho.riak.client.raw.query.indexes
Class BinValueQuery

java.lang.Object
  extended by com.basho.riak.client.raw.query.indexes.AbstractIndexQuery
      extended by com.basho.riak.client.raw.query.indexes.AbstractValueQuery<String>
          extended by com.basho.riak.client.raw.query.indexes.BinValueQuery
All Implemented Interfaces:
IndexQuery, ValueQuery<String>

public class BinValueQuery
extends AbstractValueQuery<String>

Concrete value query for a BinIndex

Author:
russell

Constructor Summary
BinValueQuery(BinIndex index, String bucket, String value)
          Create a query that matches the given value for the given index
 
Method Summary
 void write(IndexWriter executor)
          Write the index query to the given writer
 
Methods inherited from class com.basho.riak.client.raw.query.indexes.AbstractValueQuery
equals, getValue, hashCode
 
Methods inherited from class com.basho.riak.client.raw.query.indexes.AbstractIndexQuery
getBucket, getIndex
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.basho.riak.client.raw.query.indexes.IndexQuery
getBucket, getIndex
 

Constructor Detail

BinValueQuery

public BinValueQuery(BinIndex index,
                     String bucket,
                     String value)
Create a query that matches the given value for the given index

Parameters:
index - the index to query
bucket - the bucket to query
value - the value to match
Method Detail

write

public void write(IndexWriter executor)
           throws IOException
Description copied from interface: IndexQuery
Write the index query to the given writer

Parameters:
executor - an IndexWriter
Throws:
IOException


Copyright © 2012. All Rights Reserved.