Package org.apache.flink
Interface AttributeBuilder
-
- All Known Implementing Classes:
EventBuilder,SpanBuilder
@Experimental public interface AttributeBuilderCommon interface to all builders that support key-value attributes.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AttributeBuildersetAttribute(String key, boolean value)Additional attribute to be attached to this builder.AttributeBuildersetAttribute(String key, double value)Additional attribute to be attached to this builder.AttributeBuildersetAttribute(String key, long value)Additional attribute to be attached to this builder.AttributeBuildersetAttribute(String key, String value)Additional attribute to be attached to this builder.
-
-
-
Method Detail
-
setAttribute
AttributeBuilder setAttribute(String key, String value)
Additional attribute to be attached to this builder.
-
setAttribute
AttributeBuilder setAttribute(String key, long value)
Additional attribute to be attached to this builder.
-
setAttribute
AttributeBuilder setAttribute(String key, double value)
Additional attribute to be attached to this builder.
-
setAttribute
AttributeBuilder setAttribute(String key, boolean value)
Additional attribute to be attached to this builder.
-
-