public static class Customs.CustomsSummary extends org.apache.beam.sdk.transforms.PTransform<org.apache.beam.sdk.values.PCollection<Event>,org.apache.beam.sdk.values.PCollection<Alert>> implements DocumentingTransform
For each event the summary transform is aware of, an alert will be emitted every 15 minutes that simply indicates the number of those events seen in the previous 15 minutes.
Constructor and Description |
---|
CustomsSummary(Customs.CustomsOptions options)
Initialize new CustomsSummary
|
Modifier and Type | Method and Description |
---|---|
org.apache.beam.sdk.values.PCollection<Alert> |
expand(org.apache.beam.sdk.values.PCollection<Event> col) |
String |
getTransformDoc()
Get documentation string from transform based on it's current configuration
|
public CustomsSummary(Customs.CustomsOptions options)
options
- CustomsOptionspublic String getTransformDoc()
getTransformDoc
in interface DocumentingTransform
Copyright © 2022. All rights reserved.