com.lambdaworks.redis.protocol
Class CommandArgs<K,V>
java.lang.Object
com.lambdaworks.redis.protocol.CommandArgs<K,V>
public class CommandArgs<K,V>
- extends Object
Redis command argument encoder.
- Author:
- Will Glozer
|
Method Summary |
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(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()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CommandArgs
public CommandArgs(RedisCodec<K,V> codec)
buffer
public ByteBuffer buffer()
count
public int count()
addKey
public CommandArgs<K,V> addKey(K key)
addKeys
public CommandArgs<K,V> addKeys(K... keys)
addValue
public CommandArgs<K,V> addValue(V value)
addValues
public CommandArgs<K,V> addValues(V... values)
add
public CommandArgs<K,V> add(Map<K,V> map)
add
public CommandArgs<K,V> add(String s)
add
public CommandArgs<K,V> add(long n)
add
public CommandArgs<K,V> add(double n)
add
public CommandArgs<K,V> add(byte[] value)
add
public CommandArgs<K,V> add(CommandKeyword keyword)
add
public CommandArgs<K,V> add(CommandType type)
Copyright © 2013. All Rights Reserved.