/** * Returns the inner admin client * * @return */ @ProxyIgnore AdminClient getAdmin(); }
/** * Called to start the service */ @ProxyIgnore void start(Handler<AsyncResult<Void>> whenDone);
/** * Called to stop the service */ @ProxyIgnore void stop(Handler<AsyncResult<Void>> whenDone);
@Override @ProxyIgnore void close(); }
@Override @ProxyIgnore void close(); }
@Override @ProxyIgnore void close(); }
@ProxyIgnore void start();
@ProxyIgnore void stop();
@ProxyIgnore void ignoredMethod(); }
@ProxyIgnore void ignored();
@GenIgnore @ProxyIgnore default void search(String index, SearchOptions options, Handler<AsyncResult<JsonObject>> resultHandler) { search(Collections.singletonList(index), options, resultHandler); }
@GenIgnore @ProxyIgnore default void putMapping(String index, String type, JsonObject source, Handler<AsyncResult<JsonObject>> resultHandler) { putMapping(Collections.singletonList(index), type, source, resultHandler); }
@GenIgnore @ProxyIgnore default void putMapping(String index, String type, JsonObject source, MappingOptions options, Handler<AsyncResult<JsonObject>> resultHandler) { putMapping(Collections.singletonList(index), type, source, options, resultHandler); }
void putMapping(List<String> indices, String type, JsonObject source, MappingOptions options, Handler<AsyncResult<JsonObject>> resultHandler);
@GenIgnore @ProxyIgnore default void search(String index, Handler<AsyncResult<JsonObject>> resultHandler) { search(index, new SearchOptions(), resultHandler); }
/** * http://www.elastic.co/guide/en/elasticsearch/client/java-api/1.4/index_.html * * @param index the index name * @param type the type name * @param source the source to be indexed * @param resultHandler result handler callback */ @GenIgnore @ProxyIgnore default void index(String index, String type, JsonObject source, Handler<AsyncResult<JsonObject>> resultHandler) { index(index, type, source, new IndexOptions(), resultHandler); }
@GenIgnore @ProxyIgnore default void searchScroll(String scrollId, Handler<AsyncResult<JsonObject>> resultHandler) { searchScroll(scrollId, new SearchScrollOptions(), resultHandler); }
/** * http://www.elastic.co/guide/en/elasticsearch/client/java-api/1.4/get.html * * @param index the index name * @param type the type name * @param id the source id to update * @param resultHandler result handler callback */ @GenIgnore @ProxyIgnore default void get(String index, String type, String id, Handler<AsyncResult<JsonObject>> resultHandler) { get(index, type, id, new GetOptions(), resultHandler); }
/** * http://www.elastic.co/guide/en/elasticsearch/client/java-api/1.4/delete.html * * @param index the index name * @param type the type name * @param id the source id to delete * @param resultHandler result handler callback */ @GenIgnore @ProxyIgnore default void delete(String index, String type, String id, Handler<AsyncResult<JsonObject>> resultHandler) { delete(index, type, id, new DeleteOptions(), resultHandler); }
void search(List<String> indices, SearchOptions options, Handler<AsyncResult<JsonObject>> resultHandler);