public enum ObjectEncoding extends Enum<ObjectEncoding>
ObjectInfo.getEncoding()
Enum Constant and Description |
---|
EMBSTR
Redis 'embstr'
|
HASHTABLE
Redis 'hashtable'
|
INT
Redis 'int'
|
RAW
Redis 'raw'
|
ZIPMAP
Redis 'zipmap'
|
Modifier and Type | Method and Description |
---|---|
static ObjectEncoding |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ObjectEncoding[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ObjectEncoding RAW
public static final ObjectEncoding INT
public static final ObjectEncoding ZIPMAP
public static final ObjectEncoding HASHTABLE
public static final ObjectEncoding EMBSTR
public static ObjectEncoding[] values()
for (ObjectEncoding c : ObjectEncoding.values()) System.out.println(c);
public static ObjectEncoding valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2009–2017. All rights reserved.