Package com.redis.om.spring.convert
Class MappingRedisOMConverter.KeyspaceIdentifier
java.lang.Object
com.redis.om.spring.convert.MappingRedisOMConverter.KeyspaceIdentifier
- Enclosing class:
- MappingRedisOMConverter
Value object representing a Redis Hash/Object identifier composed of
keyspace and object id in the form of keyspace:id.
- Since:
- 1.8.10
- Author:
- Mark Paluch, Stefan Berger
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptiongetId()booleanstatic booleanCheck whether thekeyis valid, in particular whether the key contains a keyspace and an id part in the form of keyspace:id.Parse akeyintoMappingRedisOMConverter.KeyspaceIdentifier.
-
Field Details
-
PHANTOM
- See Also:
-
DELIMITER
- See Also:
-
PHANTOM_SUFFIX
- See Also:
-
-
Method Details
-
of
Parse akeyintoMappingRedisOMConverter.KeyspaceIdentifier.- Parameters:
key- the key representation.- Returns:
MappingRedisOMConverter.BinaryKeyspaceIdentifierfor binary key.
-
isValid
Check whether thekeyis valid, in particular whether the key contains a keyspace and an id part in the form of keyspace:id.- Parameters:
key- the key.- Returns:
- true if the key is valid.
-
getKeyspace
-
getId
-
isPhantomKey
public boolean isPhantomKey()
-