public class BigQueryOperator<T> extends Object implements TaskOperator<BigQueryOperation.Provider<T>,BigQueryOperation<T>,T>
TaskOperator.Listener
Modifier and Type | Method and Description |
---|---|
static <T> BigQueryOperator<T> |
create() |
T |
perform(BigQueryOperation<T> spec,
TaskOperator.Listener listener) |
BigQueryOperation.Provider<T> |
provide(EvalContext evalContext)
Creates a new instance of type
T . |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
onFail, onSuccess, preRun
public T perform(BigQueryOperation<T> spec, TaskOperator.Listener listener)
perform
in interface TaskOperator<BigQueryOperation.Provider<T>,BigQueryOperation<T>,T>
public static <T> BigQueryOperator<T> create()
public BigQueryOperation.Provider<T> provide(EvalContext evalContext)
TaskContext
T
. The given EvalContext
will be
the evaluation context for the task.
The task itself can be accessed through EvalContext.currentTask()
.provide
in interface TaskContext<BigQueryOperation.Provider<T>,T>
evalContext
- The evaluation context in which the current task is being evaluatedCopyright © 2020. All rights reserved.