Class RecordAttributes
java.lang.Object
org.apache.flink.streaming.runtime.streamrecord.StreamElement
org.apache.flink.streaming.runtime.streamrecord.RecordAttributes
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 Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.apache.flink.streaming.runtime.streamrecord.StreamElement
asLatencyMarker, asRecord, asRecordAttributes, asWatermark, asWatermarkStatus, isLatencyMarker, isRecord, isRecordAttributes, isWatermark, isWatermarkStatus
-
Field Details
-
EMPTY_RECORD_ATTRIBUTES
-
-
Constructor Details
-
RecordAttributes
public RecordAttributes(boolean isBacklog)
-
-
Method Details
-
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. -
equals
-
hashCode
public int hashCode() -
toString
-