com.basho.riak.client.raw.query.indexes
Class AbstractValueQuery<T>
java.lang.Object
com.basho.riak.client.raw.query.indexes.AbstractIndexQuery
com.basho.riak.client.raw.query.indexes.AbstractValueQuery<T>
- All Implemented Interfaces:
- IndexQuery, ValueQuery<T>
- Direct Known Subclasses:
- BinValueQuery, IntValueQuery
public abstract class AbstractValueQuery<T>
- extends AbstractIndexQuery
- implements ValueQuery<T>
Common, base, generic implementation for value match index queries.
- Author:
- russell
AbstractValueQuery
protected AbstractValueQuery(String indexName,
String bucket,
T value)
- Called by concrete subclasses
- Parameters:
indexName
- the full name of the index (including type suffix)bucket
- the bucket to query
getValue
public T getValue()
- Description copied from interface:
ValueQuery
- The value to match
- Specified by:
getValue
in interface ValueQuery<T>
- Returns:
- a value of type T
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.