Class SimpleIndexedPropertyValue
java.lang.Object
org.springframework.data.redis.core.convert.SimpleIndexedPropertyValue
- All Implemented Interfaces:
IndexedData
IndexedData implementation indicating storage of data within a Redis Set.- Since:
- 1.7
- Author:
- Christoph Strobl, Rob Winch
-
Constructor Summary
ConstructorsConstructorDescriptionSimpleIndexedPropertyValue(String keyspace, String indexName, Object value) Creates newSimpleIndexedPropertyValue. -
Method Summary
-
Constructor Details
-
SimpleIndexedPropertyValue
Creates newSimpleIndexedPropertyValue.- Parameters:
keyspace- must not be null.indexName- must not be null.value- can be null.
-
-
Method Details
-
getValue
Get the value to index.- Returns:
- can be null.
-
getIndexName
Description copied from interface:IndexedDataGet theStringrepresentation of the index name.- Specified by:
getIndexNamein interfaceIndexedData- Returns:
- never null.
-
getKeyspace
Description copied from interface:IndexedDataGet the associated keyspace the index resides in.- Specified by:
getKeyspacein interfaceIndexedData- Returns:
-
toString
-
equals
-
hashCode
public int hashCode()
-