public static interface RunnerApi.WindowingStrategyOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
RunnerApi.AccumulationMode.Enum |
getAccumulationMode()
(Required) The accumulation mode indicates whether new panes are a full
replacement for prior panes or whether they are deltas to be combined
with other panes (the combine should correspond to whatever the upstream
grouping transform is).
|
int |
getAccumulationModeValue()
(Required) The accumulation mode indicates whether new panes are a full
replacement for prior panes or whether they are deltas to be combined
with other panes (the combine should correspond to whatever the upstream
grouping transform is).
|
long |
getAllowedLateness()
(Required) The duration, in milliseconds, beyond the end of a window at
which the window becomes droppable.
|
boolean |
getAssignsToOneWindow()
(Required) Whether or not the window fn assigns inputs to exactly one window
This knowledge is required for some optimizations
|
RunnerApi.ClosingBehavior.Enum |
getClosingBehavior()
(Required) Indicate when output should be omitted upon window expiration.
|
int |
getClosingBehaviorValue()
(Required) Indicate when output should be omitted upon window expiration.
|
RunnerApi.MergeStatus.Enum |
getMergeStatus()
(Required) Whether or not the window fn is merging.
|
int |
getMergeStatusValue()
(Required) Whether or not the window fn is merging.
|
RunnerApi.OnTimeBehavior.Enum |
getOnTimeBehavior()
(Required) Indicate whether empty on-time panes should be omitted.
|
int |
getOnTimeBehaviorValue()
(Required) Indicate whether empty on-time panes should be omitted.
|
RunnerApi.OutputTime.Enum |
getOutputTime()
(Required) The OutputTime specifies, for a grouping transform, how to
compute the aggregate timestamp.
|
int |
getOutputTimeValue()
(Required) The OutputTime specifies, for a grouping transform, how to
compute the aggregate timestamp.
|
RunnerApi.Trigger |
getTrigger()
(Required) The trigger to use when grouping this PCollection.
|
RunnerApi.TriggerOrBuilder |
getTriggerOrBuilder()
(Required) The trigger to use when grouping this PCollection.
|
String |
getWindowCoderId()
(Required) The coder for the windows of this PCollection.
|
com.google.protobuf.ByteString |
getWindowCoderIdBytes()
(Required) The coder for the windows of this PCollection.
|
RunnerApi.SdkFunctionSpec |
getWindowFn()
(Required) The SdkFunctionSpec of the UDF that assigns windows,
merges windows, and shifts timestamps before they are
combined according to the OutputTime.
|
RunnerApi.SdkFunctionSpecOrBuilder |
getWindowFnOrBuilder()
(Required) The SdkFunctionSpec of the UDF that assigns windows,
merges windows, and shifts timestamps before they are
combined according to the OutputTime.
|
boolean |
hasTrigger()
(Required) The trigger to use when grouping this PCollection.
|
boolean |
hasWindowFn()
(Required) The SdkFunctionSpec of the UDF that assigns windows,
merges windows, and shifts timestamps before they are
combined according to the OutputTime.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofboolean hasWindowFn()
(Required) The SdkFunctionSpec of the UDF that assigns windows, merges windows, and shifts timestamps before they are combined according to the OutputTime.
.org.apache.beam.runner_api.v1.SdkFunctionSpec window_fn = 1;RunnerApi.SdkFunctionSpec getWindowFn()
(Required) The SdkFunctionSpec of the UDF that assigns windows, merges windows, and shifts timestamps before they are combined according to the OutputTime.
.org.apache.beam.runner_api.v1.SdkFunctionSpec window_fn = 1;RunnerApi.SdkFunctionSpecOrBuilder getWindowFnOrBuilder()
(Required) The SdkFunctionSpec of the UDF that assigns windows, merges windows, and shifts timestamps before they are combined according to the OutputTime.
.org.apache.beam.runner_api.v1.SdkFunctionSpec window_fn = 1;int getMergeStatusValue()
(Required) Whether or not the window fn is merging. This knowledge is required for many optimizations.
.org.apache.beam.runner_api.v1.MergeStatus.Enum merge_status = 2;RunnerApi.MergeStatus.Enum getMergeStatus()
(Required) Whether or not the window fn is merging. This knowledge is required for many optimizations.
.org.apache.beam.runner_api.v1.MergeStatus.Enum merge_status = 2;String getWindowCoderId()
(Required) The coder for the windows of this PCollection.
string window_coder_id = 3;com.google.protobuf.ByteString getWindowCoderIdBytes()
(Required) The coder for the windows of this PCollection.
string window_coder_id = 3;boolean hasTrigger()
(Required) The trigger to use when grouping this PCollection.
.org.apache.beam.runner_api.v1.Trigger trigger = 4;RunnerApi.Trigger getTrigger()
(Required) The trigger to use when grouping this PCollection.
.org.apache.beam.runner_api.v1.Trigger trigger = 4;RunnerApi.TriggerOrBuilder getTriggerOrBuilder()
(Required) The trigger to use when grouping this PCollection.
.org.apache.beam.runner_api.v1.Trigger trigger = 4;int getAccumulationModeValue()
(Required) The accumulation mode indicates whether new panes are a full replacement for prior panes or whether they are deltas to be combined with other panes (the combine should correspond to whatever the upstream grouping transform is).
.org.apache.beam.runner_api.v1.AccumulationMode.Enum accumulation_mode = 5;RunnerApi.AccumulationMode.Enum getAccumulationMode()
(Required) The accumulation mode indicates whether new panes are a full replacement for prior panes or whether they are deltas to be combined with other panes (the combine should correspond to whatever the upstream grouping transform is).
.org.apache.beam.runner_api.v1.AccumulationMode.Enum accumulation_mode = 5;int getOutputTimeValue()
(Required) The OutputTime specifies, for a grouping transform, how to compute the aggregate timestamp. The window_fn will first possibly shift it later, then the OutputTime takes the max, min, or ignores it and takes the end of window. This is actually only for input to grouping transforms, but since they may be introduced in runner-specific ways, it is carried along with the windowing strategy.
.org.apache.beam.runner_api.v1.OutputTime.Enum output_time = 6;RunnerApi.OutputTime.Enum getOutputTime()
(Required) The OutputTime specifies, for a grouping transform, how to compute the aggregate timestamp. The window_fn will first possibly shift it later, then the OutputTime takes the max, min, or ignores it and takes the end of window. This is actually only for input to grouping transforms, but since they may be introduced in runner-specific ways, it is carried along with the windowing strategy.
.org.apache.beam.runner_api.v1.OutputTime.Enum output_time = 6;int getClosingBehaviorValue()
(Required) Indicate when output should be omitted upon window expiration.
.org.apache.beam.runner_api.v1.ClosingBehavior.Enum closing_behavior = 7;RunnerApi.ClosingBehavior.Enum getClosingBehavior()
(Required) Indicate when output should be omitted upon window expiration.
.org.apache.beam.runner_api.v1.ClosingBehavior.Enum closing_behavior = 7;long getAllowedLateness()
(Required) The duration, in milliseconds, beyond the end of a window at which the window becomes droppable.
int64 allowed_lateness = 8;int getOnTimeBehaviorValue()
(Required) Indicate whether empty on-time panes should be omitted.
.org.apache.beam.runner_api.v1.OnTimeBehavior.Enum OnTimeBehavior = 9;RunnerApi.OnTimeBehavior.Enum getOnTimeBehavior()
(Required) Indicate whether empty on-time panes should be omitted.
.org.apache.beam.runner_api.v1.OnTimeBehavior.Enum OnTimeBehavior = 9;boolean getAssignsToOneWindow()
(Required) Whether or not the window fn assigns inputs to exactly one window This knowledge is required for some optimizations
bool assigns_to_one_window = 10;Copyright © 2016–2017 The Apache Software Foundation. All rights reserved.