public abstract class DoFnReflector extends Object
DoFnWithContexts.| Modifier and Type | Class and Description |
|---|---|
static interface |
DoFnReflector.DoFnInvoker<InputT,OutputT>
Interface for invoking the
DoFn processing methods. |
| Constructor and Description |
|---|
DoFnReflector() |
| Modifier and Type | Method and Description |
|---|---|
abstract <InputT,OutputT> |
bindInvoker(DoFnWithContext<InputT,OutputT> fn)
Create an
DoFnReflector.DoFnInvoker bound to the given DoFn. |
static Class<?> |
getDoFnClass(DoFn<?,?> fn) |
static DoFnReflector |
of(Class<? extends DoFnWithContext> fn) |
<InputT,OutputT> |
toDoFn(DoFnWithContext<InputT,OutputT> fn)
Create a
DoFn that the DoFnWithContext. |
abstract boolean |
usesSingleWindow() |
public abstract boolean usesSingleWindow()
DoFnWithContext uses a Single Window.public abstract <InputT,OutputT> DoFnReflector.DoFnInvoker<InputT,OutputT> bindInvoker(DoFnWithContext<InputT,OutputT> fn)
DoFnReflector.DoFnInvoker bound to the given DoFn.public static DoFnReflector of(Class<? extends DoFnWithContext> fn)
DoFnReflector for the given DoFnWithContext.public <InputT,OutputT> DoFn<InputT,OutputT> toDoFn(DoFnWithContext<InputT,OutputT> fn)
DoFn that the DoFnWithContext.