public abstract static class DoFnSignature.ProcessElementMethod extends java.lang.Object implements DoFnSignature.MethodWithExtraParameters
DoFn.ProcessElement method.| Constructor and Description |
|---|
ProcessElementMethod() |
| Modifier and Type | Method and Description |
|---|---|
abstract java.util.List<DoFnSignature.Parameter> |
extraParameters()
Types of optional parameters of the annotated method, in the order they appear.
|
DoFnSignature.Parameter.OutputReceiverParameter |
getMainOutputReceiver()
The
DoFnSignature.Parameter.OutputReceiverParameter for a main output, or null if there is none. |
java.util.List<DoFnSignature.Parameter.SchemaElementParameter> |
getSchemaElementParameters() |
java.util.List<DoFnSignature.Parameter.SideInputParameter> |
getSideInputParameters() |
abstract boolean |
hasReturnValue()
Whether this
DoFn returns a DoFn.ProcessContinuation or void. |
boolean |
isSplittable()
Whether this
DoFn is splittable. |
abstract boolean |
requiresStableInput()
Whether this method requires stable input, expressed via
DoFn.RequiresStableInput. |
abstract boolean |
requiresTimeSortedInput()
Whether this method requires time sorted input, expressed via
DoFn.RequiresTimeSortedInput. |
abstract java.lang.reflect.Method |
targetMethod()
The annotated method itself.
|
abstract TypeDescriptor<?> |
trackerT()
Concrete type of the
RestrictionTracker parameter, if present. |
abstract TypeDescriptor<?> |
watermarkEstimatorT()
Concrete type of the
WatermarkEstimator parameter, if present. |
abstract TypeDescriptor<? extends BoundedWindow> |
windowT()
The window type used by this method, if any.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitobservesWindowpublic abstract java.lang.reflect.Method targetMethod()
targetMethod in interface DoFnSignature.DoFnMethodpublic abstract java.util.List<DoFnSignature.Parameter> extraParameters()
extraParameters in interface DoFnSignature.MethodWithExtraParameterspublic abstract boolean requiresStableInput()
DoFn.RequiresStableInput.public abstract boolean requiresTimeSortedInput()
DoFn.RequiresTimeSortedInput.@Nullable public abstract TypeDescriptor<?> trackerT()
RestrictionTracker parameter, if present.@Nullable public abstract TypeDescriptor<?> watermarkEstimatorT()
WatermarkEstimator parameter, if present.@Nullable public abstract TypeDescriptor<? extends BoundedWindow> windowT()
windowT in interface DoFnSignature.MethodWithExtraParameterspublic abstract boolean hasReturnValue()
DoFn returns a DoFn.ProcessContinuation or void.@Nullable public java.util.List<DoFnSignature.Parameter.SchemaElementParameter> getSchemaElementParameters()
@Nullable public java.util.List<DoFnSignature.Parameter.SideInputParameter> getSideInputParameters()
@Nullable public DoFnSignature.Parameter.OutputReceiverParameter getMainOutputReceiver()
DoFnSignature.Parameter.OutputReceiverParameter for a main output, or null if there is none.public boolean isSplittable()
DoFn is splittable.