Class AssignEventTime<T>
- java.lang.Object
-
- org.apache.beam.sdk.transforms.PTransform<org.apache.beam.sdk.values.PCollection<T>,org.apache.beam.sdk.values.PCollection<T>>
-
- cz.o2.proxima.beam.core.transforms.AssignEventTime<T>
-
- All Implemented Interfaces:
java.io.Serializable
,org.apache.beam.sdk.transforms.display.HasDisplayData
public class AssignEventTime<T> extends org.apache.beam.sdk.transforms.PTransform<org.apache.beam.sdk.values.PCollection<T>,org.apache.beam.sdk.values.PCollection<T>>
- See Also:
- Serialized Form
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description org.apache.beam.sdk.values.PCollection<T>
expand(org.apache.beam.sdk.values.PCollection<T> input)
static AssignEventTime<StreamElement>
forStreamElement()
static <T> AssignEventTime<T>
forTimestampFn(org.apache.beam.sdk.transforms.SerializableFunction<T,org.joda.time.Instant> timestampFn)
-
Methods inherited from class org.apache.beam.sdk.transforms.PTransform
addAnnotation, compose, compose, getAdditionalInputs, getAnnotations, getDefaultOutputCoder, getDefaultOutputCoder, getDefaultOutputCoder, getKindString, getName, getResourceHints, populateDisplayData, setDisplayData, setResourceHints, toString, validate, validate
-
-
-
-
Method Detail
-
forStreamElement
public static AssignEventTime<StreamElement> forStreamElement()
-
forTimestampFn
public static <T> AssignEventTime<T> forTimestampFn(org.apache.beam.sdk.transforms.SerializableFunction<T,org.joda.time.Instant> timestampFn)
-
-