@Beta public interface BatchActionContext extends BatchRuntimeContext
Modifier and Type | Method and Description |
---|---|
Map<String,WorkflowNodeState> |
getNodeStates()
Return an immutable
Map of node ids to WorkflowNodeState . |
WorkflowToken |
getToken() |
boolean |
isSuccessful()
Return true if the execution was successful, false otherwise.
|
getHadoopJob, getLogicalStartTime, getRuntimeArguments
discardDataset, getDataset, getDataset, getDataset, getDataset, releaseDataset
getInputSchema, getInputSchemas, getMetrics, getOutputSchema, getPluginProperties, getPluginProperties, getStageName, loadPluginClass, newPluginInstance
getServiceURL, getServiceURL
provide
WorkflowToken getToken()
WorkflowToken
Map<String,WorkflowNodeState> getNodeStates()
Map
of node ids to WorkflowNodeState
. This can be used
to determine the status of all pipeline phases executed in the current run.boolean isSuccessful()
Copyright © 2017 Cask Data, Inc. Licensed under the Apache License, Version 2.0.