redis.clients.jedis.search.RediSearchPipelineCommands Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jedis_preview Show documentation
Show all versions of jedis_preview Show documentation
Jedis is a blazingly small and sane Redis java client.
The newest version!
package redis.clients.jedis.search;
import java.util.Arrays;
import java.util.List;
import java.util.Map;
import java.util.Set;
import redis.clients.jedis.Response;
import redis.clients.jedis.resps.Tuple;
import redis.clients.jedis.search.aggr.AggregationBuilder;
import redis.clients.jedis.search.aggr.AggregationResult;
import redis.clients.jedis.search.schemafields.SchemaField;
public interface RediSearchPipelineCommands {
Response ftCreate(String indexName, IndexOptions indexOptions, Schema schema);
default Response ftCreate(String indexName, SchemaField... schemaFields) {
return ftCreate(indexName, Arrays.asList(schemaFields));
}
default Response ftCreate(String indexName, FTCreateParams createParams, SchemaField... schemaFields) {
return ftCreate(indexName, createParams, Arrays.asList(schemaFields));
}
default Response ftCreate(String indexName, Iterable schemaFields) {
return ftCreate(indexName, FTCreateParams.createParams(), schemaFields);
}
Response ftCreate(String indexName, FTCreateParams createParams, Iterable schemaFields);
default Response ftAlter(String indexName, Schema.Field... fields) {
return ftAlter(indexName, Schema.from(fields));
}
Response ftAlter(String indexName, Schema schema);
default Response ftAlter(String indexName, SchemaField... schemaFields) {
return ftAlter(indexName, Arrays.asList(schemaFields));
}
Response ftAlter(String indexName, Iterable schemaFields);
Response ftAliasAdd(String aliasName, String indexName);
Response ftAliasUpdate(String aliasName, String indexName);
Response ftAliasDel(String aliasName);
Response ftDropIndex(String indexName);
Response ftDropIndexDD(String indexName);
default Response ftSearch(String indexName) {
return ftSearch(indexName, "*");
}
Response ftSearch(String indexName, String query);
Response ftSearch(String indexName, String query, FTSearchParams searchParams);
Response ftSearch(String indexName, Query query);
@Deprecated
Response ftSearch(byte[] indexName, Query query);
Response ftExplain(String indexName, Query query);
Response> ftExplainCLI(String indexName, Query query);
Response ftAggregate(String indexName, AggregationBuilder aggr);
Response ftSynUpdate(String indexName, String synonymGroupId, String... terms);
Response