Class JacksonXContentParser
- java.lang.Object
-
- com.floragunn.searchsupport.xcontent.JacksonXContentParser
-
public class JacksonXContentParser extends Object
-
-
Constructor Summary
Constructors Constructor Description JacksonXContentParser(byte[] data, org.elasticsearch.xcontent.XContentType contentType)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description com.fasterxml.jackson.databind.JsonNodereadTree()static com.fasterxml.jackson.databind.JsonNodereadTree(byte[] data, org.elasticsearch.xcontent.XContentType contentType)static com.fasterxml.jackson.databind.JsonNodereadTree(org.elasticsearch.common.bytes.BytesReference data, org.elasticsearch.xcontent.XContentType contentType)
-
-
-
Constructor Detail
-
JacksonXContentParser
public JacksonXContentParser(byte[] data, org.elasticsearch.xcontent.XContentType contentType) throws IOException- Throws:
IOException
-
-
Method Detail
-
readTree
public static com.fasterxml.jackson.databind.JsonNode readTree(org.elasticsearch.common.bytes.BytesReference data, org.elasticsearch.xcontent.XContentType contentType) throws IOException- Throws:
IOException
-
readTree
public static com.fasterxml.jackson.databind.JsonNode readTree(byte[] data, org.elasticsearch.xcontent.XContentType contentType) throws IOException- Throws:
IOException
-
readTree
public com.fasterxml.jackson.databind.JsonNode readTree() throws IOException- Throws:
IOException
-
-