Class CborXContentParser
java.lang.Object
org.elasticsearch.common.xcontent.support.AbstractXContentParser
org.elasticsearch.common.xcontent.json.JsonXContentParser
org.elasticsearch.common.xcontent.cbor.CborXContentParser
- All Implemented Interfaces:
java.io.Closeable
,java.lang.AutoCloseable
,XContentParser
public class CborXContentParser extends JsonXContentParser
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.elasticsearch.common.xcontent.XContentParser
XContentParser.NumberType, XContentParser.Token
-
Field Summary
Fields inherited from class org.elasticsearch.common.xcontent.support.AbstractXContentParser
DEFAULT_NUMBER_COERCE_POLICY
-
Constructor Summary
Constructors Constructor Description CborXContentParser(NamedXContentRegistry xContentRegistry, DeprecationHandler deprecationHandler, com.fasterxml.jackson.core.JsonParser parser)
-
Method Summary
Modifier and Type Method Description XContentType
contentType()
Methods inherited from class org.elasticsearch.common.xcontent.json.JsonXContentParser
binaryValue, charBuffer, close, currentName, currentToken, doBooleanValue, doDoubleValue, doFloatValue, doIntValue, doLongValue, doShortValue, getTokenLocation, hasTextCharacters, isClosed, nextToken, numberType, numberValue, objectBytes, objectText, skipChildren, text, textCharacters, textLength, textOffset
Methods inherited from class org.elasticsearch.common.xcontent.support.AbstractXContentParser
booleanValue, charBufferOrNull, doubleValue, doubleValue, floatValue, floatValue, getDeprecationHandler, getXContentRegistry, intValue, intValue, isBooleanValue, list, listOrderedMap, longValue, longValue, map, map, mapOrdered, mapStrings, namedObject, readValue, shortValue, shortValue, textOrNull
-
Constructor Details
-
CborXContentParser
public CborXContentParser(NamedXContentRegistry xContentRegistry, DeprecationHandler deprecationHandler, com.fasterxml.jackson.core.JsonParser parser)
-
-
Method Details
-
contentType
- Specified by:
contentType
in interfaceXContentParser
- Overrides:
contentType
in classJsonXContentParser
-