Class Renderer
java.lang.Object
org.nuxeo.lib.stream.tools.renderer.Renderer
- Direct Known Subclasses:
MarkdownRenderer
,SseRenderer
,TextRenderer
- Since:
- 9.3
-
Field Summary
Modifier and TypeFieldDescriptionstatic final byte[]
protected int
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionabstract void
footer()
protected long
getFingerPrint
(byte[] data) abstract void
header()
protected boolean
isAvroMessage
(byte[] data) protected String
renderAvroMessage
(AvroSchemaStore store, Record record) protected String
tryToRenderAvroData
(AvroSchemaStore store, Record record) protected String
watermarkString
(long watermark)
-
Field Details
-
dataSize
protected int dataSize -
AVRO_MESSAGE_V1_HEADER
public static final byte[] AVRO_MESSAGE_V1_HEADER
-
-
Constructor Details
-
Renderer
public Renderer()
-
-
Method Details
-
header
public abstract void header() -
watermarkString
-
tryToRenderAvroData
-
renderAvroMessage
-
getFingerPrint
protected long getFingerPrint(byte[] data) -
isAvroMessage
protected boolean isAvroMessage(byte[] data)
-