public class SearchBloxClient
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static class |
SearchBloxClient.ResponseCode |
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
DEFAULT_ENDPOINT |
| Constructor and Description |
|---|
SearchBloxClient(java.lang.String apikey,
javax.ws.rs.client.ClientBuilder builder,
java.lang.String endpoint) |
| Modifier and Type | Method and Description |
|---|---|
SearchBloxClient.ResponseCode |
addUpdateDocument(SearchBloxDocument document,
java.lang.String format) |
SearchBloxClient.ResponseCode |
clearCollection(java.lang.String colname,
java.lang.String format) |
SearchBloxClient.ResponseCode |
createCollection(java.lang.String colname,
java.lang.String format) |
SearchBloxClient.ResponseCode |
deleteDocument(SearchBloxDocument document,
java.lang.String format) |
boolean |
ping(java.lang.String format) |
public static final java.lang.String DEFAULT_ENDPOINT
public SearchBloxClient(java.lang.String apikey,
javax.ws.rs.client.ClientBuilder builder,
java.lang.String endpoint)
public SearchBloxClient.ResponseCode addUpdateDocument(SearchBloxDocument document, java.lang.String format) throws SearchBloxException
SearchBloxExceptionpublic SearchBloxClient.ResponseCode deleteDocument(SearchBloxDocument document, java.lang.String format) throws SearchBloxException
SearchBloxExceptionpublic SearchBloxClient.ResponseCode createCollection(java.lang.String colname, java.lang.String format) throws SearchBloxException
SearchBloxExceptionpublic SearchBloxClient.ResponseCode clearCollection(java.lang.String colname, java.lang.String format) throws SearchBloxException
SearchBloxExceptionpublic boolean ping(java.lang.String format)
throws SearchBloxException
SearchBloxException