Package org.elasticsearch.xcontent.cbor
Class CborXContentGenerator
java.lang.Object
org.elasticsearch.xcontent.json.JsonXContentGenerator
org.elasticsearch.xcontent.cbor.CborXContentGenerator
- All Implemented Interfaces:
Closeable,Flushable,AutoCloseable,XContentGenerator
-
Field Summary
Fields inherited from class org.elasticsearch.xcontent.json.JsonXContentGenerator
generator -
Constructor Summary
ConstructorsConstructorDescriptionCborXContentGenerator(com.fasterxml.jackson.core.JsonGenerator jsonGenerator, OutputStream os, Set<String> includes, Set<String> excludes) -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanWhether this generator supports writing raw data directlyvoidMethods inherited from class org.elasticsearch.xcontent.json.JsonXContentGenerator
close, copyCurrentStructure, copyRawValue, flush, isClosed, isPrettyPrint, usePrettyPrint, writeBinary, writeBinary, writeBinaryField, writeBoolean, writeBooleanField, writeDirectField, writeEndArray, writeEndObject, writeEndRaw, writeFieldName, writeNull, writeNullField, writeNumber, writeNumber, writeNumber, writeNumber, writeNumber, writeNumber, writeNumber, writeNumberField, writeNumberField, writeNumberField, writeNumberField, writeNumberField, writeNumberField, writeRawField, writeRawField, writeRawValue, writeStartArray, writeStartObject, writeString, writeString, writeStringField, writeUTF8StringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.elasticsearch.xcontent.XContentGenerator
copyCurrentEvent
-
Constructor Details
-
CborXContentGenerator
public CborXContentGenerator(com.fasterxml.jackson.core.JsonGenerator jsonGenerator, OutputStream os, Set<String> includes, Set<String> excludes)
-
-
Method Details
-
contentType
- Specified by:
contentTypein interfaceXContentGenerator- Overrides:
contentTypein classJsonXContentGenerator
-
usePrintLineFeedAtEnd
public void usePrintLineFeedAtEnd()- Specified by:
usePrintLineFeedAtEndin interfaceXContentGenerator- Overrides:
usePrintLineFeedAtEndin classJsonXContentGenerator
-
supportsRawWrites
protected boolean supportsRawWrites()Description copied from class:JsonXContentGeneratorWhether this generator supports writing raw data directly- Overrides:
supportsRawWritesin classJsonXContentGenerator
-