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