Class RecordAttributesBuilder

    • Constructor Detail

      • RecordAttributesBuilder

        public RecordAttributesBuilder​(List<RecordAttributes> lastRecordAttributesOfInputs)
        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 Detail

      • build

        public RecordAttributes 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.