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
ConstructorDescriptionSimpleIndexedPropertyValue
(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:IndexedData
Get theString
representation of the index name.- Specified by:
getIndexName
in interfaceIndexedData
- Returns:
- never null.
-
getKeyspace
Description copied from interface:IndexedData
Get the associated keyspace the index resides in.- Specified by:
getKeyspace
in interfaceIndexedData
- Returns:
-
toString
-
equals
-
hashCode
public int hashCode()
-