Overview
This topic describes the Client class and its methods that are used to push and query data.
Class security
Non-thread-safe
Constructor
Client(Config config)
Parameter description
Parameter | Type | Description |
config | The object of the Config class. |
pushDocuments method
Syntax
PushDocumentsResponseModel pushDocuments(String dataSourceName, String keyField, PushDocumentsRequestModel request)Parameter description
Parameter | Type | Description |
dataSourceName | String | The name of the index table. |
keyField | String | The primary key field of the index table. |
request | PushDocumentsRequestModel | The request structure to push the documents. |
Exception description
Exception
Search method
Syntax
SearchResponseModel Search(SearchRequestModel request)Parameter description
Parameter | Type | Description |
request | The SearchRequestModel type. |
Exception description
Exception