Class KeyValuePairs
- java.lang.Object
-
- com.moilioncircle.redis.replicator.rdb.datatype.KeyValuePairs
-
public class KeyValuePairs extends Object
- Since:
- 3.1.0
- Author:
- Leon Chen
-
-
Constructor Summary
Constructors Constructor Description KeyValuePairs()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static KeyValuePair<byte[],Map<byte[],byte[]>>hash(KeyValuePair<byte[],?> raw, Map<byte[],byte[]> value)static BatchedKeyStringValueHashhash(KeyValuePair<byte[],?> raw, Map<byte[],byte[]> value, int batch, boolean last)static KeyStringValueMapEntryIteratoriterHash(KeyValuePair<byte[],?> raw, Iterator<Map.Entry<byte[],byte[]>> value)static KeyStringValueByteArrayIteratoriterList(KeyValuePair<byte[],?> raw, Iterator<byte[]> value)static KeyStringValueByteArrayIteratoriterSet(KeyValuePair<byte[],?> raw, Iterator<byte[]> value)static KeyStringValueZSetEntryIteratoriterZset(KeyValuePair<byte[],?> raw, Iterator<ZSetEntry> value)static KeyValuePair<byte[],List<byte[]>>list(KeyValuePair<byte[],?> raw, List<byte[]> value)static BatchedKeyStringValueListlist(KeyValuePair<byte[],?> raw, List<byte[]> value, int batch, boolean last)static KeyValuePair<byte[],Module>module(KeyValuePair<byte[],?> raw, Module value)static BatchedKeyStringValueModulemodule(KeyValuePair<byte[],?> raw, Module value, int batch, boolean last)static KeyValuePair<byte[],Set<byte[]>>set(KeyValuePair<byte[],?> raw, Set<byte[]> value)static BatchedKeyStringValueSetset(KeyValuePair<byte[],?> raw, Set<byte[]> value, int batch, boolean last)static KeyValuePair<byte[],Stream>stream(KeyValuePair<byte[],?> raw, Stream value)static BatchedKeyStringValueStreamstream(KeyValuePair<byte[],?> raw, Stream value, int batch, boolean last)static KeyValuePair<byte[],byte[]>string(KeyValuePair<byte[],?> raw, byte[] value)static BatchedKeyStringValueStringstring(KeyValuePair<byte[],?> raw, byte[] value, int batch, boolean last)static KeyValuePair<byte[],Set<ZSetEntry>>zset(KeyValuePair<byte[],?> raw, Set<ZSetEntry> value)static BatchedKeyStringValueZSetzset(KeyValuePair<byte[],?> raw, Set<ZSetEntry> value, int batch, boolean last)
-
-
-
Method Detail
-
string
public static KeyValuePair<byte[],byte[]> string(KeyValuePair<byte[],?> raw, byte[] value)
-
module
public static KeyValuePair<byte[],Module> module(KeyValuePair<byte[],?> raw, Module value)
-
hash
public static KeyValuePair<byte[],Map<byte[],byte[]>> hash(KeyValuePair<byte[],?> raw, Map<byte[],byte[]> value)
-
list
public static KeyValuePair<byte[],List<byte[]>> list(KeyValuePair<byte[],?> raw, List<byte[]> value)
-
set
public static KeyValuePair<byte[],Set<byte[]>> set(KeyValuePair<byte[],?> raw, Set<byte[]> value)
-
zset
public static KeyValuePair<byte[],Set<ZSetEntry>> zset(KeyValuePair<byte[],?> raw, Set<ZSetEntry> value)
-
stream
public static KeyValuePair<byte[],Stream> stream(KeyValuePair<byte[],?> raw, Stream value)
-
iterHash
public static KeyStringValueMapEntryIterator iterHash(KeyValuePair<byte[],?> raw, Iterator<Map.Entry<byte[],byte[]>> value)
-
iterList
public static KeyStringValueByteArrayIterator iterList(KeyValuePair<byte[],?> raw, Iterator<byte[]> value)
-
iterSet
public static KeyStringValueByteArrayIterator iterSet(KeyValuePair<byte[],?> raw, Iterator<byte[]> value)
-
iterZset
public static KeyStringValueZSetEntryIterator iterZset(KeyValuePair<byte[],?> raw, Iterator<ZSetEntry> value)
-
string
public static BatchedKeyStringValueString string(KeyValuePair<byte[],?> raw, byte[] value, int batch, boolean last)
-
module
public static BatchedKeyStringValueModule module(KeyValuePair<byte[],?> raw, Module value, int batch, boolean last)
-
hash
public static BatchedKeyStringValueHash hash(KeyValuePair<byte[],?> raw, Map<byte[],byte[]> value, int batch, boolean last)
-
list
public static BatchedKeyStringValueList list(KeyValuePair<byte[],?> raw, List<byte[]> value, int batch, boolean last)
-
set
public static BatchedKeyStringValueSet set(KeyValuePair<byte[],?> raw, Set<byte[]> value, int batch, boolean last)
-
zset
public static BatchedKeyStringValueZSet zset(KeyValuePair<byte[],?> raw, Set<ZSetEntry> value, int batch, boolean last)
-
stream
public static BatchedKeyStringValueStream stream(KeyValuePair<byte[],?> raw, Stream value, int batch, boolean last)
-
-