Class AbstractEsClient

java.lang.Object
io.vertx.tp.plugin.elasticsearch.AbstractEsClient
Direct Known Subclasses:
ElasticIndexer, EsAmbitAdd, EsAmbitDelete, EsAmbitUpdate

public abstract class AbstractEsClient extends Object
Author:
Lang
  • Field Details

  • Method Details

    • client

      protected org.elasticsearch.client.RestHighLevelClient client()
    • getString

      protected String getString(String field)
    • logger

      protected io.horizon.uca.log.Annal logger()
    • doBatch

      protected Boolean doBatch(io.vertx.core.json.JsonArray documents, String idField, Supplier<org.elasticsearch.action.bulk.BulkRequest> executor)
    • toDocument

      protected Map<String,Object> toDocument(io.vertx.core.json.JsonObject json)