com.basho.riak.client.raw.query.indexes
Class AbstractRangeQuery<T>
java.lang.Object
com.basho.riak.client.raw.query.indexes.AbstractIndexQuery
com.basho.riak.client.raw.query.indexes.AbstractRangeQuery<T>
- Type Parameters:
T
- the Type for the query index parameters
- All Implemented Interfaces:
- IndexQuery, RangeQuery<T>
- Direct Known Subclasses:
- BinRangeQuery, IntRangeQuery
public abstract class AbstractRangeQuery<T>
- extends AbstractIndexQuery
- implements RangeQuery<T>
Base, common, generic RangeQuery
implementation
- Author:
- russell
Method Summary |
boolean |
equals(Object obj)
|
T |
from()
The start value for the range query |
int |
hashCode()
|
T |
to()
The end value for the range query |
AbstractRangeQuery
protected AbstractRangeQuery(String indexName,
String bucket,
T from,
T to)
- Called by concrete implementations
- Parameters:
indexName
- the full name (including suffix) of the indexbucket
- the bucket to query
from
public T from()
- The start value for the range query
- Specified by:
from
in interface RangeQuery<T>
- Returns:
- the from
to
public T to()
- The end value for the range query
- Specified by:
to
in interface RangeQuery<T>
- Returns:
- the to
hashCode
public int hashCode()
- Overrides:
hashCode
in class AbstractIndexQuery
equals
public boolean equals(Object obj)
- Overrides:
equals
in class AbstractIndexQuery
Copyright © 2012. All Rights Reserved.