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

java.lang.Object
  extended by com.basho.riak.client.raw.query.indexes.AbstractIndexQuery
      extended by com.basho.riak.client.raw.query.indexes.AbstractRangeQuery<String>
          extended by com.basho.riak.client.raw.query.indexes.BinRangeQuery
All Implemented Interfaces:
IndexQuery, RangeQuery<String>

public final class BinRangeQuery
extends AbstractRangeQuery<String>

Concrete range, index query for _bin type indexes

Author:
russell

Constructor Summary
BinRangeQuery(BinIndex index, String bucket, String from, String to)
          Create a bew BinRangeQuery
 
Method Summary
 void write(IndexWriter writer)
          Write the index query to the given writer
 
Methods inherited from class com.basho.riak.client.raw.query.indexes.AbstractRangeQuery
equals, from, hashCode, to
 
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

BinRangeQuery

public BinRangeQuery(BinIndex index,
                     String bucket,
                     String from,
                     String to)
Create a bew BinRangeQuery

Parameters:
index - the index
bucket - the bucket to query
from - the start value in the range
to - the end value in the range
Method Detail

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.