Class BulkCallBuilder


  • public final class BulkCallBuilder
    extends java.lang.Object
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      HttpCall<java.lang.Void> build()
      Creates a bulk request when there is more than one object to store
      <T> void index​(java.lang.String index, java.lang.String typeName, T input, BulkIndexWriter<T> writer)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • BulkCallBuilder

        public BulkCallBuilder​(ElasticsearchStorage es,
                               float esVersion,
                               java.lang.String tag)
    • Method Detail

      • index

        public <T> void index​(java.lang.String index,
                              java.lang.String typeName,
                              T input,
                              BulkIndexWriter<T> writer)
      • build

        public HttpCall<java.lang.Void> build()
        Creates a bulk request when there is more than one object to store