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,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,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. |
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 © 2025 lettuce.io. All rights reserved.