Class RecordAttributes


  • @Experimental
    public class RecordAttributes
    extends StreamElement
    A RecordAttributes describes the attributes of records from the current RecordAttributes until the next one is received. It provides stream task with information that can be used to optimize the stream task's performance.
    • Field Detail

      • EMPTY_RECORD_ATTRIBUTES

        public static final RecordAttributes EMPTY_RECORD_ATTRIBUTES
    • Constructor Detail

      • RecordAttributes

        public RecordAttributes​(boolean isBacklog)
    • Method Detail

      • isBacklog

        public boolean isBacklog()
        If it returns true, then the records received after this element are stale and an operator can optionally buffer records until isBacklog=false. This allows an operator to optimize throughput at the cost of processing latency.
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object