| Package | Description |
|---|---|
| io.lettuce.core |
The Redis client package containing
RedisClient for Redis Standalone and Redis Sentinel operations. |
| io.lettuce.core.protocol |
Redis protocol layer abstraction.
|
| Modifier and Type | Method and Description |
|---|---|
Command<K,V,Long> |
RedisArrayCommandBuilder.arcount(K key) |
Command<K,V,Long> |
RedisArrayCommandBuilder.ardel(K key,
long... indices) |
Command<K,V,Long> |
RedisArrayCommandBuilder.ardel(K key,
long index) |
Command<K,V,Long> |
RedisArrayCommandBuilder.ardelrange(K key,
ArrayIndexRange... ranges) |
Command<K,V,Long> |
RedisArrayCommandBuilder.ardelrange(K key,
long start,
long end) |
Command<K,V,V> |
RedisArrayCommandBuilder.arget(K key,
long index) |
Command<K,V,List<V>> |
RedisArrayCommandBuilder.argetrange(K key,
long start,
long end) |
Command<K,V,List<Value<V>>> |
RedisArrayCommandBuilder.argetrangeValues(K key,
long start,
long end) |
Command<K,V,List<Long>> |
RedisArrayCommandBuilder.argrep(K key,
ArGrepArgs grepArgs) |
Command<K,V,List<IndexedValue<V>>> |
RedisArrayCommandBuilder.argrepWithValues(K key,
ArGrepArgs grepArgs) |
Command<K,V,ArrayInfo> |
RedisArrayCommandBuilder.arinfo(K key) |
Command<K,V,ArrayInfoFull> |
RedisArrayCommandBuilder.arinfoFull(K key) |
Command<K,V,Long> |
RedisArrayCommandBuilder.arinsert(K key,
V... values) |
Command<K,V,Long> |
RedisArrayCommandBuilder.arinsert(K key,
V value) |
Command<K,V,List<V>> |
RedisArrayCommandBuilder.arlastitems(K key,
long count) |
Command<K,V,List<V>> |
RedisArrayCommandBuilder.arlastitems(K key,
long count,
boolean rev) |
Command<K,V,Long> |
RedisArrayCommandBuilder.arlen(K key) |
Command<K,V,List<V>> |
RedisArrayCommandBuilder.armget(K key,
long... indices) |
Command<K,V,List<Value<V>>> |
RedisArrayCommandBuilder.armgetValues(K key,
long... indices) |
Command<K,V,Long> |
RedisArrayCommandBuilder.armset(K key,
Map<Long,V> indexValuePairs) |
Command<K,V,Long> |
RedisArrayCommandBuilder.arnext(K key) |
Command<K,V,V> |
RedisArrayCommandBuilder.aropAggregate(K key,
long start,
long end,
ArAggregateType operation) |
Command<K,V,Long> |
RedisArrayCommandBuilder.aropBitwise(K key,
long start,
long end,
ArBitwiseType operation) |
Command<K,V,Long> |
RedisArrayCommandBuilder.aropCount(K key,
long start,
long end) |
Command<K,V,Long> |
RedisArrayCommandBuilder.aropCount(K key,
long start,
long end,
V matchValue) |
Command<K,V,Long> |
RedisArrayCommandBuilder.arring(K key,
long size,
V... values) |
Command<K,V,Long> |
RedisArrayCommandBuilder.arring(K key,
long size,
V value) |
Command<K,V,List<IndexedValue<V>>> |
RedisArrayCommandBuilder.arscan(K key,
long start,
long end) |
Command<K,V,List<IndexedValue<V>>> |
RedisArrayCommandBuilder.arscan(K key,
long start,
long end,
long limit) |
Command<K,V,Long> |
RedisArrayCommandBuilder.arseek(K key,
long index) |
Command<K,V,Long> |
RedisArrayCommandBuilder.arset(K key,
long index,
V... values) |
Command<K,V,Long> |
RedisArrayCommandBuilder.arset(K key,
long index,
V value) |
Command<K,V,Boolean> |
RedisVectorSetCommandBuilder.vadd(K key,
int dimensionality,
V element,
Double[] vectors)
Create a new
VADD command to add a vector to a vector set with the specified dimensionality. |
Command<K,V,Boolean> |
RedisVectorSetCommandBuilder.vadd(K key,
int dimensionality,
V element,
VAddArgs vAddArgs,
Double[] vectors)
Create a new
VADD command to add a vector to a vector set with the specified dimensionality and additional
options. |
Command<K,V,Boolean> |
RedisVectorSetCommandBuilder.vadd(K key,
V element,
Double[] vectors)
Create a new
VADD command to add a vector to a vector set. |
Command<K,V,Boolean> |
RedisVectorSetCommandBuilder.vadd(K key,
V element,
VAddArgs vAddArgs,
Double[] vectors)
Create a new
VADD command to add a vector to a vector set with additional options. |
Command<K,V,Long> |
RedisVectorSetCommandBuilder.vcard(K key)
Create a new
VCARD command to get the number of elements in a vector set. |
Command<K,V,Long> |
RedisVectorSetCommandBuilder.vdim(K key)
Create a new
VDIM command to get the dimensionality of a vector set. |
Command<K,V,List<Double>> |
RedisVectorSetCommandBuilder.vemb(K key,
V element)
Create a new
VEMB command to get the vector values for an element in a vector set. |
Command<K,V,RawVector> |
RedisVectorSetCommandBuilder.vembRaw(K key,
V element)
Create a new
VEMB command with the RAW option to get the raw binary vector data for an element in a vector set. |
Command<K,V,String> |
RedisVectorSetCommandBuilder.vgetattr(K key,
V element)
Create a new
VGETATTR command to get the attributes associated with an element in a vector set. |
Command<K,V,List<JsonValue>> |
RedisVectorSetCommandBuilder.vgetattrAsJsonValue(K key,
V element)
Create a new
VGETATTR command to get the attributes associated with an element in a vector set. |
Command<K,V,VectorMetadata> |
RedisVectorSetCommandBuilder.vinfo(K key)
Create a new
VINFO command to get information about a vector set. |
Command<K,V,Boolean> |
RedisVectorSetCommandBuilder.vismember(K key,
V element)
Create a new
VISMEMBER command to check whether an element exists in a vector set. |
Command<K,V,List<V>> |
RedisVectorSetCommandBuilder.vlinks(K key,
V element)
Create a new
VLINKS command to get the links (connections) of an element in the HNSW graph. |
Command<K,V,Map<V,Double>> |
RedisVectorSetCommandBuilder.vlinksWithScores(K key,
V element)
Create a new
VLINKS command with the WITHSCORES option to get the links of an element along with their scores. |
Command<K,V,V> |
RedisVectorSetCommandBuilder.vrandmember(K key)
Create a new
VRANDMEMBER command to get a random element from a vector set. |
Command<K,V,List<V>> |
RedisVectorSetCommandBuilder.vrandmember(K key,
int count)
Create a new
VRANDMEMBER command to get multiple random elements from a vector set. |
Command<K,V,Boolean> |
RedisVectorSetCommandBuilder.vrem(K key,
V element)
Create a new
VREM command to remove an element from a vector set. |
Command<K,V,Boolean> |
RedisVectorSetCommandBuilder.vsetattr(K key,
V element,
JsonValue json)
Create a new
VSETATTR command to set or update the attributes for an element in a vector set. |
Command<K,V,Boolean> |
RedisVectorSetCommandBuilder.vsetattr(K key,
V element,
String json)
Create a new
VSETATTR command to set or update the attributes for an element in a vector set. |
Command<K,V,List<V>> |
RedisVectorSetCommandBuilder.vsim(K key,
Double[] vectors)
Create a new
VSIM command to find the most similar vectors to the given query vector in a vector set. |
Command<K,V,List<V>> |
RedisVectorSetCommandBuilder.vsim(K key,
V element)
Create a new
VSIM command to find the most similar vectors to the given element's vector in a vector set. |
Command<K,V,List<V>> |
RedisVectorSetCommandBuilder.vsim(K key,
VSimArgs vSimArgs,
Double[] vectors)
Create a new
VSIM command to find the most similar vectors to the given query vector in a vector set with
additional options. |
Command<K,V,List<V>> |
RedisVectorSetCommandBuilder.vsim(K key,
VSimArgs vSimArgs,
V element)
Create a new
VSIM command to find the most similar vectors to the given element's vector in a vector set with
additional options. |
Command<K,V,Map<V,Double>> |
RedisVectorSetCommandBuilder.vsimWithScore(K key,
Double[] vectors)
Create a new
VSIM command with the WITHSCORES option to find the most similar vectors to the given query vector
and return them with their similarity scores. |
Command<K,V,Map<V,Double>> |
RedisVectorSetCommandBuilder.vsimWithScore(K key,
V element)
Create a new
VSIM command with the WITHSCORES option to find the most similar vectors to the given element's
vector and return them with their similarity scores. |
Command<K,V,Map<V,Double>> |
RedisVectorSetCommandBuilder.vsimWithScore(K key,
VSimArgs vSimArgs,
Double[] vectors)
Create a new
VSIM command with the WITHSCORES option to find the most similar vectors to the given query vector
with additional options and return them with their similarity scores. |
Command<K,V,Map<V,Double>> |
RedisVectorSetCommandBuilder.vsimWithScore(K key,
VSimArgs vSimArgs,
V element)
Create a new
VSIM command with the WITHSCORES option to find the most similar vectors to the given element's
vector with additional options and return them with their similarity scores. |
Command<K,V,Map<V,VSimScoreAttribs>> |
RedisVectorSetCommandBuilder.vsimWithScoreWithAttribs(K key,
Double[] vectors) |
Command<K,V,Map<V,VSimScoreAttribs>> |
RedisVectorSetCommandBuilder.vsimWithScoreWithAttribs(K key,
V element) |
Command<K,V,Map<V,VSimScoreAttribs>> |
RedisVectorSetCommandBuilder.vsimWithScoreWithAttribs(K key,
VSimArgs vSimArgs,
Double[] vectors) |
Command<K,V,Map<V,VSimScoreAttribs>> |
RedisVectorSetCommandBuilder.vsimWithScoreWithAttribs(K key,
VSimArgs vSimArgs,
V element) |
| Modifier and Type | Method and Description |
|---|---|
protected <T> Command<K,V,T> |
BaseRedisCommandBuilder.createCommand(CommandType type,
CommandOutput<K,V,T> output) |
protected <T> Command<K,V,T> |
BaseRedisCommandBuilder.createCommand(CommandType type,
CommandOutput<K,V,T> output,
CommandArgs<K,V> args) |
protected <T> Command<K,V,T> |
BaseRedisCommandBuilder.createCommand(CommandType type,
CommandOutput<K,V,T> output,
K key) |
protected <T> Command<K,V,T> |
BaseRedisCommandBuilder.createCommand(CommandType type,
CommandOutput<K,V,T> output,
K key,
V value) |
protected <T> Command<K,V,T> |
BaseRedisCommandBuilder.createCommand(CommandType type,
CommandOutput<K,V,T> output,
K key,
V[] values) |
Copyright © 2026 lettuce.io. All rights reserved.