Class WebSocketSearchClient
java.lang.Object
io.fluxcapacitor.javaclient.common.websocket.AbstractWebsocketClient
io.fluxcapacitor.javaclient.persisting.search.client.WebSocketSearchClient
- All Implemented Interfaces:
SearchClient,AutoCloseable
-
Nested Class Summary
Nested classes/interfaces inherited from class io.fluxcapacitor.javaclient.common.websocket.AbstractWebsocketClient
AbstractWebsocketClient.WebSocketRequest -
Field Summary
FieldsFields inherited from class io.fluxcapacitor.javaclient.common.websocket.AbstractWebsocketClient
defaultObjectMapper, defaultWebSocketContainer -
Constructor Summary
ConstructorsConstructorDescriptionWebSocketSearchClient(String endPointUrl, WebSocketClient.ClientConfig clientConfig) WebSocketSearchClient(URI endpointUri, WebSocketClient.ClientConfig clientConfig) -
Method Summary
Modifier and TypeMethodDescriptionbulkUpdate(Collection<SerializedDocumentUpdate> batch, Guarantee guarantee) createAuditTrail(CreateAuditTrail request) delete(SearchQuery query, Guarantee guarantee) deleteCollection(String collection) fetch(GetDocument request) fetchHistogram(GetSearchHistogram request) fetchStatistics(SearchQuery query, List<String> fields, List<String> groupBy) search(SearchDocuments searchDocuments) protected AwaitablesendValues(List<Document> documents, boolean ifNotExists) protected AwaitablestoreValues(List<Document> documents, boolean ifNotExists) Methods inherited from class io.fluxcapacitor.javaclient.common.websocket.AbstractWebsocketClient
close, close, handleResult, onClose, onError, onMessage, retryOutstandingRequests, send, send, sendAndForget, sendAndWait, sendBatch, tryPublishMetricsMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.fluxcapacitor.javaclient.persisting.search.client.SearchClient
close
-
Field Details
-
maxFetchSize
public static int maxFetchSize
-
-
Constructor Details
-
WebSocketSearchClient
-
WebSocketSearchClient
-
-
Method Details
-
sendValues
-
storeValues
-
index
- Specified by:
indexin interfaceSearchClient
-
bulkUpdate
- Specified by:
bulkUpdatein interfaceSearchClient
-
search
- Specified by:
searchin interfaceSearchClient
-
fetch
- Specified by:
fetchin interfaceSearchClient
-
fetchStatistics
public List<DocumentStats> fetchStatistics(SearchQuery query, List<String> fields, List<String> groupBy) - Specified by:
fetchStatisticsin interfaceSearchClient
-
fetchHistogram
- Specified by:
fetchHistogramin interfaceSearchClient
-
delete
- Specified by:
deletein interfaceSearchClient
-
delete
- Specified by:
deletein interfaceSearchClient
-
deleteCollection
- Specified by:
deleteCollectionin interfaceSearchClient
-
createAuditTrail
- Specified by:
createAuditTrailin interfaceSearchClient
-