Class ObjectTreeXContent
- java.lang.Object
-
- com.floragunn.searchsupport.xcontent.ObjectTreeXContent
-
- All Implemented Interfaces:
org.elasticsearch.common.xcontent.XContent
public class ObjectTreeXContent extends Object implements org.elasticsearch.common.xcontent.XContent
-
-
Constructor Summary
Constructors Constructor Description ObjectTreeXContent(Supplier<Map<?,?>> mapFactory)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description org.elasticsearch.common.xcontent.XContentGeneratorcreateGenerator(OutputStream os, Set<String> includes, Set<String> excludes)org.elasticsearch.common.xcontent.XContentParsercreateParser(org.elasticsearch.common.xcontent.NamedXContentRegistry xContentRegistry, org.elasticsearch.common.xcontent.DeprecationHandler deprecationHandler, byte[] data)org.elasticsearch.common.xcontent.XContentParsercreateParser(org.elasticsearch.common.xcontent.NamedXContentRegistry xContentRegistry, org.elasticsearch.common.xcontent.DeprecationHandler deprecationHandler, byte[] data, int offset, int length)org.elasticsearch.common.xcontent.XContentParsercreateParser(org.elasticsearch.common.xcontent.NamedXContentRegistry xContentRegistry, org.elasticsearch.common.xcontent.DeprecationHandler deprecationHandler, InputStream is)org.elasticsearch.common.xcontent.XContentParsercreateParser(org.elasticsearch.common.xcontent.NamedXContentRegistry xContentRegistry, org.elasticsearch.common.xcontent.DeprecationHandler deprecationHandler, Reader reader)org.elasticsearch.common.xcontent.XContentParsercreateParser(org.elasticsearch.common.xcontent.NamedXContentRegistry xContentRegistry, org.elasticsearch.common.xcontent.DeprecationHandler deprecationHandler, String content)bytestreamSeparator()static Map<String,Object>toMap(org.elasticsearch.common.xcontent.ToXContent toXContent)static ObjecttoObjectTree(org.elasticsearch.common.xcontent.ToXContent toXContent)static ObjecttoObjectTree(org.elasticsearch.common.xcontent.ToXContent toXContent, org.elasticsearch.common.xcontent.ToXContent.Params params)static ObjecttoObjectTree(org.elasticsearch.common.xcontent.ToXContent toXContent, org.elasticsearch.common.xcontent.ToXContent.Params params, Supplier<Map<?,?>> mapFactory)org.elasticsearch.common.xcontent.XContentTypetype()
-
-
-
Method Detail
-
toObjectTree
public static Object toObjectTree(org.elasticsearch.common.xcontent.ToXContent toXContent)
-
toObjectTree
public static Object toObjectTree(org.elasticsearch.common.xcontent.ToXContent toXContent, org.elasticsearch.common.xcontent.ToXContent.Params params)
-
toObjectTree
public static Object toObjectTree(org.elasticsearch.common.xcontent.ToXContent toXContent, org.elasticsearch.common.xcontent.ToXContent.Params params, Supplier<Map<?,?>> mapFactory)
-
toMap
public static Map<String,Object> toMap(org.elasticsearch.common.xcontent.ToXContent toXContent)
-
type
public org.elasticsearch.common.xcontent.XContentType type()
- Specified by:
typein interfaceorg.elasticsearch.common.xcontent.XContent
-
streamSeparator
public byte streamSeparator()
- Specified by:
streamSeparatorin interfaceorg.elasticsearch.common.xcontent.XContent
-
createGenerator
public org.elasticsearch.common.xcontent.XContentGenerator createGenerator(OutputStream os, Set<String> includes, Set<String> excludes) throws IOException
- Specified by:
createGeneratorin interfaceorg.elasticsearch.common.xcontent.XContent- Throws:
IOException
-
createParser
public org.elasticsearch.common.xcontent.XContentParser createParser(org.elasticsearch.common.xcontent.NamedXContentRegistry xContentRegistry, org.elasticsearch.common.xcontent.DeprecationHandler deprecationHandler, String content) throws IOException- Specified by:
createParserin interfaceorg.elasticsearch.common.xcontent.XContent- Throws:
IOException
-
createParser
public org.elasticsearch.common.xcontent.XContentParser createParser(org.elasticsearch.common.xcontent.NamedXContentRegistry xContentRegistry, org.elasticsearch.common.xcontent.DeprecationHandler deprecationHandler, InputStream is) throws IOException- Specified by:
createParserin interfaceorg.elasticsearch.common.xcontent.XContent- Throws:
IOException
-
createParser
public org.elasticsearch.common.xcontent.XContentParser createParser(org.elasticsearch.common.xcontent.NamedXContentRegistry xContentRegistry, org.elasticsearch.common.xcontent.DeprecationHandler deprecationHandler, byte[] data) throws IOException- Specified by:
createParserin interfaceorg.elasticsearch.common.xcontent.XContent- Throws:
IOException
-
createParser
public org.elasticsearch.common.xcontent.XContentParser createParser(org.elasticsearch.common.xcontent.NamedXContentRegistry xContentRegistry, org.elasticsearch.common.xcontent.DeprecationHandler deprecationHandler, byte[] data, int offset, int length) throws IOException- Specified by:
createParserin interfaceorg.elasticsearch.common.xcontent.XContent- Throws:
IOException
-
createParser
public org.elasticsearch.common.xcontent.XContentParser createParser(org.elasticsearch.common.xcontent.NamedXContentRegistry xContentRegistry, org.elasticsearch.common.xcontent.DeprecationHandler deprecationHandler, Reader reader) throws IOException- Specified by:
createParserin interfaceorg.elasticsearch.common.xcontent.XContent- Throws:
IOException
-
-