public static class MappingRedisConverter.KeyspaceIdentifier extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
DELIMITTER |
static String |
PHANTOM |
static String |
PHANTOM_SUFFIX |
| Constructor and Description |
|---|
KeyspaceIdentifier() |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
isValid(String key)
Check whether the
key is valid, in particular whether the key contains a keyspace and an id part in the
form of keyspace:id. |
static MappingRedisConverter.KeyspaceIdentifier |
of(String key)
Parse a
key into MappingRedisConverter.KeyspaceIdentifier. |
public static final String PHANTOM
public static final String DELIMITTER
public static final String PHANTOM_SUFFIX
public static MappingRedisConverter.KeyspaceIdentifier of(String key)
key into MappingRedisConverter.KeyspaceIdentifier.key - the key representation.MappingRedisConverter.BinaryKeyspaceIdentifier for binary key.public static boolean isValid(String key)
key is valid, in particular whether the key contains a keyspace and an id part in the
form of keyspace:id.key - the key.Copyright © 2011–2018 Pivotal Software, Inc.. All rights reserved.