public class ClusterClient extends Client implements ClusterClient
Client.IndexOptionsDELETE_DOCUMENT, FUZZY_FLAG, INCREMENT_FLAG, MAX_FLAG, PAYLOAD_FLAG| Constructor and Description |
|---|
ClusterClient(String indexName,
String host,
int port) |
ClusterClient(String indexName,
String host,
int port,
int timeout,
int poolSize)
Create a new client to a RediSearch index
|
ClusterClient(String indexName,
String host,
int port,
int timeout,
int poolSize,
String password)
Create a new ClusterClient to a RediSearch index which can connect to password protected
Redis Server
|
ClusterClient(String indexName,
String masterName,
Set<String> sentinels)
Creates a new ClusterClient to a RediSearch index with JedisSentinelPool implementation.
|
ClusterClient(String indexName,
String masterName,
Set<String> sentinels,
int timeout,
int poolSize)
Creates a new ClusterClient to a RediSearch index with JedisSentinelPool implementation.
|
ClusterClient(String indexName,
String masterName,
Set<String> sentinels,
int timeout,
int poolSize,
String password)
Creates a new ClusterClient to a RediSearch index with JedisSentinelPool implementation.
|
| Modifier and Type | Method and Description |
|---|---|
List<Object> |
broadcast(String... args) |
addDocument, addDocument, addDocument, addDocument, addDocument, addDocuments, addDocuments, addHash, addSuggestion, aggregate, aggregate, alterIndex, close, createIndex, cursorDelete, cursorRead, deleteDocument, deleteDocument, deleteDocuments, dropIndex, dropIndex, explain, getDocument, getDocument, getInfo, getSuggestion, replaceDocument, search, search, updateDocumentclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddDocument, addHash, addSuggestion, aggregate, aggregate, createIndex, cursorDelete, cursorRead, deleteDocument, dropIndex, explain, getDocument, getInfo, getSuggestion, replaceDocument, search, updateDocumentpublic ClusterClient(String indexName, String host, int port, int timeout, int poolSize)
indexName - the name of the index we are connecting to or creatinghost - the redis hostport - the redis pottimeout - the connection timeoutpoolSize - the connection pool sizepublic ClusterClient(String indexName, String host, int port, int timeout, int poolSize, String password)
indexName - the name of the index we are connecting to or creatinghost - the redis hostport - the redis pottimeout - the connection timeoutpoolSize - the connection pool sizepassword - the password for authentication in a password protected Redis serverpublic ClusterClient(String indexName, String masterName, Set<String> sentinels, int timeout, int poolSize, String password)
indexName - the name of the index we are connecting to or creatingmasterName - the masterName to connect from list of masters monitored by sentinelssentinels - the set of sentinels monitoring the clustertimeout - the timeout in millisecondspoolSize - the poolSize of JedisSentinelPoolpassword - the password for authentication in a password protected Redis serverpublic ClusterClient(String indexName, String masterName, Set<String> sentinels, int timeout, int poolSize)
The Client is initialized with following default values for JedisSentinelPool
indexName - the name of the index we are connecting to or creatingmasterName - the masterName to connect from list of masters monitored by sentinelssentinels - the set of sentinels monitoring the clustertimeout - the timeout in millisecondspoolSize - the poolSize of JedisSentinelPoolpublic ClusterClient(String indexName, String masterName, Set<String> sentinels)
The Client is initialized with following default values for JedisSentinelPool
indexName - the name of the index we are connecting to or creatingmasterName - the masterName to connect from list of masters monitored by sentinelssentinels - the set of sentinels monitoring the clusterpublic List<Object> broadcast(String... args)
broadcast in interface ClusterClientCopyright © 2019. All rights reserved.