Package io.lettuce.core.protocol
Class BaseRedisCommandBuilder<K,V>
- java.lang.Object
-
- io.lettuce.core.protocol.BaseRedisCommandBuilder<K,V>
-
public class BaseRedisCommandBuilder<K,V> extends Object
- Since:
- 3.0
- Author:
- Mark Paluch
-
-
Field Summary
Fields Modifier and Type Field Description protected RedisCodec<K,V>
codec
-
Constructor Summary
Constructors Constructor Description BaseRedisCommandBuilder(RedisCodec<K,V> codec)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected <T> Command<K,V,T>
createCommand(CommandType type, CommandOutput<K,V,T> output)
protected <T> Command<K,V,T>
createCommand(CommandType type, CommandOutput<K,V,T> output, CommandArgs<K,V> args)
protected <T> Command<K,V,T>
createCommand(CommandType type, CommandOutput<K,V,T> output, K key)
protected <T> Command<K,V,T>
createCommand(CommandType type, CommandOutput<K,V,T> output, K key, V value)
protected <T> Command<K,V,T>
createCommand(CommandType type, CommandOutput<K,V,T> output, K key, V[] values)
protected <T> CommandOutput<K,V,T>
newScriptOutput(RedisCodec<K,V> codec, ScriptOutputType type)
-
-
-
Field Detail
-
codec
protected final RedisCodec<K,V> codec
-
-
Constructor Detail
-
BaseRedisCommandBuilder
public BaseRedisCommandBuilder(RedisCodec<K,V> codec)
-
-
Method Detail
-
createCommand
protected <T> Command<K,V,T> createCommand(CommandType type, CommandOutput<K,V,T> output)
-
createCommand
protected <T> Command<K,V,T> createCommand(CommandType type, CommandOutput<K,V,T> output, K key)
-
createCommand
protected <T> Command<K,V,T> createCommand(CommandType type, CommandOutput<K,V,T> output, K key, V value)
-
createCommand
protected <T> Command<K,V,T> createCommand(CommandType type, CommandOutput<K,V,T> output, K key, V[] values)
-
createCommand
protected <T> Command<K,V,T> createCommand(CommandType type, CommandOutput<K,V,T> output, CommandArgs<K,V> args)
-
newScriptOutput
protected <T> CommandOutput<K,V,T> newScriptOutput(RedisCodec<K,V> codec, ScriptOutputType type)
-
-