Class ElasticsearchUtil


  • public class ElasticsearchUtil
    extends java.lang.Object
    Elasticsearch Util
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.lang.String transferJsonToMapping​(java.io.InputStream is)  
      • Methods inherited from class java.lang.Object

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

      • ElasticsearchUtil

        public ElasticsearchUtil()
    • Method Detail

      • transferJsonToMapping

        public static java.lang.String transferJsonToMapping​(java.io.InputStream is)
                                                      throws java.io.IOException
        Parameters:
        is - InputStream of the file json
        Returns:
        String mapping
        Throws:
        java.io.IOException