public interface ValueEncoding
ValueEncoding is used for the Redis internal data representation used in order to store the value associated
with a key. ValueEncoding.RedisValueEncoding.RAW or ValueEncoding.RedisValueEncoding.INTValueEncoding.RedisValueEncoding.ZIPLIST or ValueEncoding.RedisValueEncoding.LINKEDLISTValueEncoding.RedisValueEncoding.INTSET or ValueEncoding.RedisValueEncoding.HASHTABLEValueEncoding.RedisValueEncoding.ZIPLIST or ValueEncoding.RedisValueEncoding.HASHTABLEValueEncoding.RedisValueEncoding.ZIPLIST or ValueEncoding.RedisValueEncoding.SKIPLISTValueEncoding.RedisValueEncoding.VACANT| Modifier and Type | Interface and Description |
|---|---|
static class |
ValueEncoding.RedisValueEncoding
Default
ValueEncoding implementation of encodings used in Redis. |
| Modifier and Type | Method and Description |
|---|---|
static ValueEncoding |
of(String encoding)
Get the
ValueEncoding for given encoding. |
String |
raw() |
static ValueEncoding of(@Nullable String encoding)
ValueEncoding for given encoding.encoding - can be null.Copyright © 2011–2022 Pivotal Software, Inc.. All rights reserved.