public abstract class DoFnReflector extends Object
DoFnWithContexts.| Constructor and Description |
|---|
DoFnReflector() |
| Modifier and Type | Method and Description |
|---|---|
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 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.