|
dataflow
v1b3
|
#include <source_split_request.h>
Public Member Functions | |
| SourceSplitRequest (const Json::Value &storage) | |
| SourceSplitRequest (Json::Value *storage) | |
| virtual | ~SourceSplitRequest () |
| const StringPiece | GetTypeName () const |
| bool | has_options () const |
| void | clear_options () |
| const SourceSplitOptions | get_options () const |
| SourceSplitOptions | mutable_options () |
| bool | has_source () const |
| void | clear_source () |
| const Source | get_source () const |
| Source | mutable_source () |
Static Public Member Functions | |
| static SourceSplitRequest * | New () |
Represents the operation to split a high-level Source specification into bundles (parts for parallel processing).
At a high level, splitting of a source into bundles happens as follows: SourceSplitRequest is applied to the source. If it returns SOURCE_SPLIT_OUTCOME_USE_CURRENT, no further splitting happens and the source is used "as is". Otherwise, splitting is applied recursively to each produced DerivedSource.
As an optimization, for any Source, if its does_not_need_splitting is true, the framework assumes that splitting this source would return SOURCE_SPLIT_OUTCOME_USE_CURRENT, and doesn't initiate a SourceSplitRequest. This applies both to the initial source being split and to bundles produced from it.
|
explicit |
Standard constructor for an immutable data object instance.
| [in] | storage | The underlying data storage for this instance. |
|
explicit |
Standard constructor for a mutable data object instance.
| [in] | storage | The underlying data storage for this instance. |
|
virtual |
Standard destructor.
|
inline |
Clears the 'options' attribute.
|
inline |
Clears the 'source' attribute.
| const SourceSplitOptions google_dataflow_api::SourceSplitRequest::get_options | ( | ) | const |
Get a reference to the value of the 'options' attribute.
| const Source google_dataflow_api::SourceSplitRequest::get_source | ( | ) | const |
Get a reference to the value of the 'source' attribute.
|
inline |
Returns a string denoting the type of this data object.
|
inline |
Determine if the 'options' attribute was set.
options' attribute was set.
|
inline |
Determine if the 'source' attribute was set.
source' attribute was set. | SourceSplitOptions google_dataflow_api::SourceSplitRequest::mutable_options | ( | ) |
Gets a reference to a mutable value of the 'options' property.
Hints for tuning the splitting process.
| Source google_dataflow_api::SourceSplitRequest::mutable_source | ( | ) |
Gets a reference to a mutable value of the 'source' property.
Specification of the source to be split.
|
static |
Creates a new default instance.