Package org.apache.beam.sdk.values
Interface OutputBuilder<T>
- All Superinterfaces:
WindowedValue<T>
- All Known Implementing Classes:
WindowedValues.Builder
A builder for an output, to set all the fields and extended metadata of a Beam value.
Which fields are required or allowed to be set depends on the context of the builder.
It is allowed to modify an instance and then call output() again.
Not intended to be implemented by Beam users. This interface will be expanded in ways that are backwards-incompatible, by requiring implementors to add methods.
-
Method Summary
Modifier and TypeMethodDescriptionvoidoutput()setPaneInfo(PaneInfo paneInfo) setRecordId(@Nullable String recordId) setRecordOffset(@Nullable Long recordOffset) setTimestamp(Instant timestamp) setWindow(BoundedWindow window) setWindows(Collection<? extends BoundedWindow> windows) Methods inherited from interface org.apache.beam.sdk.values.WindowedValue
explodeWindows, getPaneInfo, getRecordId, getRecordOffset, getTimestamp, getValue, getWindows, withValue
-
Method Details
-
setValue
-
setTimestamp
-
setWindow
-
setWindows
-
setPaneInfo
-
setRecordId
-
setRecordOffset
-
output
void output()
-