Class Renderer

java.lang.Object
org.nuxeo.lib.stream.tools.renderer.Renderer
All Implemented Interfaces:
Consumer<LogRecord<Record>>
Direct Known Subclasses:
MarkdownRenderer, SseRenderer, TextRenderer

public abstract class Renderer extends Object implements Consumer<LogRecord<Record>>
Since:
9.3
  • 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()
    • footer

      public abstract void footer()
    • watermarkString

      protected String watermarkString(long watermark)
    • tryToRenderAvroData

      protected String tryToRenderAvroData(AvroSchemaStore store, Record record)
    • renderAvroMessage

      protected String renderAvroMessage(AvroSchemaStore store, Record record)
    • getFingerPrint

      protected long getFingerPrint(byte[] data)
    • isAvroMessage

      protected boolean isAvroMessage(byte[] data)