Package com.redis.lettucemod.search
Class SearchCommandBuilder<K,V>
java.lang.Object
io.lettuce.core.protocol.BaseRedisCommandBuilder<K,V>
com.redis.lettucemod.RedisModulesCommandBuilder<K,V>
com.redis.lettucemod.search.SearchCommandBuilder<K,V>
Builder dedicated to RediSearch commands.
-
Field Summary
Fields inherited from class io.lettuce.core.protocol.BaseRedisCommandBuilder
codec, MINUS_BYTES, MUST_NOT_CONTAIN_NULL_ELEMENTS, PLUS_BYTES -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionio.lettuce.core.protocol.Command<K,V, AggregateResults<K>> io.lettuce.core.protocol.Command<K,V, AggregateWithCursorResults<K>> aggregate(K index, V query, CursorOptions cursor, AggregateOptions<K, V> options) aliasUpdate(K name, K index) protected SearchCommandArgs<K,V> protected <A,B, T> io.lettuce.core.protocol.Command<A, B, T> createCommand(SearchCommandType type, io.lettuce.core.output.CommandOutput<A, B, T> output, io.lettuce.core.protocol.CommandArgs<A, B> args) cursorDelete(K index, long cursor) io.lettuce.core.protocol.Command<K,V, AggregateWithCursorResults<K>> cursorRead(K index, long cursor, Long count) list()io.lettuce.core.protocol.Command<K,V, SearchResults<K, V>> sugadd(K key, Suggestion<V> suggestion) sugaddIncr(K key, Suggestion<V> suggestion) sugaddIncr(K key, V string, double score) sugaddIncr(K key, V string, double score, V payload) io.lettuce.core.protocol.Command<K,V, List<Suggestion<V>>> io.lettuce.core.protocol.Command<K,V, List<Suggestion<V>>> sugget(K key, V prefix, SuggetOptions options) Methods inherited from class com.redis.lettucemod.RedisModulesCommandBuilder
notEmpty, notEmptyKeys, notEmptyValues, notNull, notNull, notNull, notNull, notNullKeyMethods inherited from class io.lettuce.core.protocol.BaseRedisCommandBuilder
addLimit, allElementsInstanceOf, assertNodeId, createCommand, createCommand, createCommand, createCommand, createCommand, keyAndFieldsProvided, max, maxValue, min, minValue, newScriptOutput, notEmpty, notEmptyRanges, notEmptySlots, notNull, notNullLimit, notNullMinMax, notNullRange
-
Constructor Details
-
SearchCommandBuilder
-
-
Method Details
-
createCommand
protected <A,B, io.lettuce.core.protocol.Command<A,T> B, createCommandT> (SearchCommandType type, io.lettuce.core.output.CommandOutput<A, B, T> output, io.lettuce.core.protocol.CommandArgs<A, B> args) -
create
-
dropIndex
-
info
-
alter
-
args
- Overrides:
argsin classRedisModulesCommandBuilder<K,V>
-
search
public io.lettuce.core.protocol.Command<K,V, searchSearchResults<K, V>> (K index, V query, SearchOptions<K, V> options) -
aggregate
public io.lettuce.core.protocol.Command<K,V, aggregateAggregateResults<K>> (K index, V query, AggregateOptions<K, V> options) -
aggregate
public io.lettuce.core.protocol.Command<K,V, aggregateAggregateWithCursorResults<K>> (K index, V query, CursorOptions cursor, AggregateOptions<K, V> options) -
cursorRead
-
cursorDelete
-
tagVals
-
dictadd
-
dictdel
-
dictdump
-
sugadd
-
sugaddIncr
-
sugadd
-
sugaddIncr
-
sugadd
-
sugadd
-
sugaddIncr
-
sugget
-
sugget
public io.lettuce.core.protocol.Command<K,V, suggetList<Suggestion<V>>> (K key, V prefix, SuggetOptions options) -
sugdel
-
suglen
-
aliasAdd
-
aliasUpdate
-
aliasDel
-
list
-