K
- Key type.V
- Value type.public class CommandArgs<K,V> extends Object
Constructor and Description |
---|
CommandArgs(RedisCodec<K,V> codec) |
Modifier and Type | Method and Description |
---|---|
CommandArgs<K,V> |
add(byte[] value) |
CommandArgs<K,V> |
add(CommandKeyword keyword) |
CommandArgs<K,V> |
add(CommandType type) |
CommandArgs<K,V> |
add(double n) |
CommandArgs<K,V> |
add(long n) |
CommandArgs<K,V> |
add(Map<K,V> map) |
CommandArgs<K,V> |
add(ProtocolKeyword keyword) |
CommandArgs<K,V> |
add(String s) |
CommandArgs<K,V> |
addKey(K key) |
CommandArgs<K,V> |
addKeys(K... keys) |
CommandArgs<K,V> |
addValue(V value) |
CommandArgs<K,V> |
addValues(V... values) |
ByteBuffer |
buffer() |
int |
count() |
byte[] |
getEncodedKey() |
List<ProtocolKeyword> |
getKeywords() |
String |
toString() |
public CommandArgs(RedisCodec<K,V> codec)
public ByteBuffer buffer()
public int count()
public CommandArgs<K,V> addKey(K key)
public CommandArgs<K,V> addKeys(K... keys)
public CommandArgs<K,V> addValue(V value)
public CommandArgs<K,V> addValues(V... values)
public CommandArgs<K,V> add(String s)
public CommandArgs<K,V> add(long n)
public CommandArgs<K,V> add(double n)
public CommandArgs<K,V> add(byte[] value)
public CommandArgs<K,V> add(CommandKeyword keyword)
public CommandArgs<K,V> add(CommandType type)
public CommandArgs<K,V> add(ProtocolKeyword keyword)
public byte[] getEncodedKey()
public List<ProtocolKeyword> getKeywords()
Copyright © 2016. All rights reserved.