Class ObjectTreeXContent

  • All Implemented Interfaces:
    org.elasticsearch.xcontent.XContent

    public class ObjectTreeXContent
    extends Object
    implements org.elasticsearch.xcontent.XContent
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.elasticsearch.xcontent.XContentGenerator createGenerator​(OutputStream os, Set<String> includes, Set<String> excludes)  
      org.elasticsearch.xcontent.XContentParser createParser​(org.elasticsearch.xcontent.NamedXContentRegistry xContentRegistry, org.elasticsearch.xcontent.DeprecationHandler deprecationHandler, byte[] data)  
      org.elasticsearch.xcontent.XContentParser createParser​(org.elasticsearch.xcontent.NamedXContentRegistry xContentRegistry, org.elasticsearch.xcontent.DeprecationHandler deprecationHandler, byte[] data, int offset, int length)  
      org.elasticsearch.xcontent.XContentParser createParser​(org.elasticsearch.xcontent.NamedXContentRegistry xContentRegistry, org.elasticsearch.xcontent.DeprecationHandler deprecationHandler, InputStream is)  
      org.elasticsearch.xcontent.XContentParser createParser​(org.elasticsearch.xcontent.NamedXContentRegistry xContentRegistry, org.elasticsearch.xcontent.DeprecationHandler deprecationHandler, InputStream is, org.elasticsearch.xcontent.support.filtering.FilterPath[] includes, org.elasticsearch.xcontent.support.filtering.FilterPath[] excludes)  
      org.elasticsearch.xcontent.XContentParser createParser​(org.elasticsearch.xcontent.NamedXContentRegistry xContentRegistry, org.elasticsearch.xcontent.DeprecationHandler deprecationHandler, Reader reader)  
      org.elasticsearch.xcontent.XContentParser createParser​(org.elasticsearch.xcontent.NamedXContentRegistry xContentRegistry, org.elasticsearch.xcontent.DeprecationHandler deprecationHandler, String content)  
      byte streamSeparator()  
      static Map<String,​Object> toMap​(org.elasticsearch.xcontent.ToXContent toXContent)  
      static Object toObjectTree​(org.elasticsearch.xcontent.ToXContent toXContent)  
      static Object toObjectTree​(org.elasticsearch.xcontent.ToXContent toXContent, org.elasticsearch.xcontent.ToXContent.Params params)  
      static Object toObjectTree​(org.elasticsearch.xcontent.ToXContent toXContent, org.elasticsearch.xcontent.ToXContent.Params params, Supplier<Map<?,​?>> mapFactory)  
      org.elasticsearch.xcontent.XContentType type()  
      • Methods inherited from interface org.elasticsearch.xcontent.XContent

        createGenerator
    • Constructor Detail

      • ObjectTreeXContent

        public ObjectTreeXContent​(Supplier<Map<?,​?>> mapFactory)
    • Method Detail

      • toObjectTree

        public static Object toObjectTree​(org.elasticsearch.xcontent.ToXContent toXContent)
      • toObjectTree

        public static Object toObjectTree​(org.elasticsearch.xcontent.ToXContent toXContent,
                                          org.elasticsearch.xcontent.ToXContent.Params params)
      • toObjectTree

        public static Object toObjectTree​(org.elasticsearch.xcontent.ToXContent toXContent,
                                          org.elasticsearch.xcontent.ToXContent.Params params,
                                          Supplier<Map<?,​?>> mapFactory)
      • toMap

        public static Map<String,​Object> toMap​(org.elasticsearch.xcontent.ToXContent toXContent)
      • type

        public org.elasticsearch.xcontent.XContentType type()
        Specified by:
        type in interface org.elasticsearch.xcontent.XContent
      • streamSeparator

        public byte streamSeparator()
        Specified by:
        streamSeparator in interface org.elasticsearch.xcontent.XContent
      • createGenerator

        public org.elasticsearch.xcontent.XContentGenerator createGenerator​(OutputStream os,
                                                                            Set<String> includes,
                                                                            Set<String> excludes)
                                                                     throws IOException
        Specified by:
        createGenerator in interface org.elasticsearch.xcontent.XContent
        Throws:
        IOException
      • createParser

        public org.elasticsearch.xcontent.XContentParser createParser​(org.elasticsearch.xcontent.NamedXContentRegistry xContentRegistry,
                                                                      org.elasticsearch.xcontent.DeprecationHandler deprecationHandler,
                                                                      String content)
                                                               throws IOException
        Specified by:
        createParser in interface org.elasticsearch.xcontent.XContent
        Throws:
        IOException
      • createParser

        public org.elasticsearch.xcontent.XContentParser createParser​(org.elasticsearch.xcontent.NamedXContentRegistry xContentRegistry,
                                                                      org.elasticsearch.xcontent.DeprecationHandler deprecationHandler,
                                                                      InputStream is)
                                                               throws IOException
        Specified by:
        createParser in interface org.elasticsearch.xcontent.XContent
        Throws:
        IOException
      • createParser

        public org.elasticsearch.xcontent.XContentParser createParser​(org.elasticsearch.xcontent.NamedXContentRegistry xContentRegistry,
                                                                      org.elasticsearch.xcontent.DeprecationHandler deprecationHandler,
                                                                      byte[] data)
                                                               throws IOException
        Specified by:
        createParser in interface org.elasticsearch.xcontent.XContent
        Throws:
        IOException
      • createParser

        public org.elasticsearch.xcontent.XContentParser createParser​(org.elasticsearch.xcontent.NamedXContentRegistry xContentRegistry,
                                                                      org.elasticsearch.xcontent.DeprecationHandler deprecationHandler,
                                                                      byte[] data,
                                                                      int offset,
                                                                      int length)
                                                               throws IOException
        Specified by:
        createParser in interface org.elasticsearch.xcontent.XContent
        Throws:
        IOException
      • createParser

        public org.elasticsearch.xcontent.XContentParser createParser​(org.elasticsearch.xcontent.NamedXContentRegistry xContentRegistry,
                                                                      org.elasticsearch.xcontent.DeprecationHandler deprecationHandler,
                                                                      Reader reader)
                                                               throws IOException
        Specified by:
        createParser in interface org.elasticsearch.xcontent.XContent
        Throws:
        IOException
      • createParser

        public org.elasticsearch.xcontent.XContentParser createParser​(org.elasticsearch.xcontent.NamedXContentRegistry xContentRegistry,
                                                                      org.elasticsearch.xcontent.DeprecationHandler deprecationHandler,
                                                                      InputStream is,
                                                                      org.elasticsearch.xcontent.support.filtering.FilterPath[] includes,
                                                                      org.elasticsearch.xcontent.support.filtering.FilterPath[] excludes)
                                                               throws IOException
        Specified by:
        createParser in interface org.elasticsearch.xcontent.XContent
        Throws:
        IOException