Class RecordAttributesBuilder
java.lang.Object
org.apache.flink.streaming.runtime.streamrecord.RecordAttributesBuilder
The builder class for
RecordAttributes.-
Constructor Summary
ConstructorsConstructorDescriptionRecordAttributesBuilder(List<RecordAttributes> lastRecordAttributesOfInputs) This constructor takes a list of the last RecordAttributes received from each of the operator's inputs. -
Method Summary
Modifier and TypeMethodDescriptionbuild()If any operator attribute is null, we will log it at DEBUG level and determine a non-null default value as described below.setBacklog(boolean isBacklog)
-
Constructor Details
-
RecordAttributesBuilder
This constructor takes a list of the last RecordAttributes received from each of the operator's inputs. Each input is corresponding to an input edge of the job graph. When this list is not empty, it will be used to determine the default values for those attributes that have not been explicitly set by caller.
-
-
Method Details
-
setBacklog
-
build
If any operator attribute is null, we will log it at DEBUG level and determine a non-null default value as described below.Default value for backlog: if any element in lastRecordAttributesOfInputs has backlog=true, use true. Otherwise, use false.
-