Class ElasticsearchClient


  • public class ElasticsearchClient
    extends Object
    • Method Detail

      • index

        public void index​(Record<?> record)
      • shouldFlush

        public boolean shouldFlush()
      • putIndexTemplate

        public boolean putIndexTemplate​(ValueType valueType)
        Returns:
        true if request was acknowledged
      • putIndexTemplate

        public boolean putIndexTemplate​(String templateName,
                                        String aliasName,
                                        String filename)
        Returns:
        true if request was acknowledged
      • indexFor

        protected String indexFor​(Record<?> record)
      • indexPrefixForValueTypeWithDelimiter

        protected String indexPrefixForValueTypeWithDelimiter​(ValueType valueType)