#include <approximate_split_request.h>
A suggestion by the service to the worker to dynamically split the WorkItem.
◆ ApproximateSplitRequest() [1/2]
google_dataflow_api::ApproximateSplitRequest::ApproximateSplitRequest |
( |
const Json::Value & |
storage | ) |
|
|
explicit |
Standard constructor for an immutable data object instance.
- Parameters
-
[in] | storage | The underlying data storage for this instance. |
◆ ApproximateSplitRequest() [2/2]
google_dataflow_api::ApproximateSplitRequest::ApproximateSplitRequest |
( |
Json::Value * |
storage | ) |
|
|
explicit |
Standard constructor for a mutable data object instance.
- Parameters
-
[in] | storage | The underlying data storage for this instance. |
◆ ~ApproximateSplitRequest()
google_dataflow_api::ApproximateSplitRequest::~ApproximateSplitRequest |
( |
| ) |
|
|
virtual |
◆ clear_fraction_consumed()
void google_dataflow_api::ApproximateSplitRequest::clear_fraction_consumed |
( |
| ) |
|
|
inline |
Clears the 'fractionConsumed
' attribute.
◆ clear_fraction_of_remainder()
void google_dataflow_api::ApproximateSplitRequest::clear_fraction_of_remainder |
( |
| ) |
|
|
inline |
Clears the 'fractionOfRemainder
' attribute.
◆ clear_position()
void google_dataflow_api::ApproximateSplitRequest::clear_position |
( |
| ) |
|
|
inline |
Clears the 'position
' attribute.
◆ get_fraction_consumed()
double google_dataflow_api::ApproximateSplitRequest::get_fraction_consumed |
( |
| ) |
const |
|
inline |
Get the value of the 'fractionConsumed
' attribute.
◆ get_fraction_of_remainder()
double google_dataflow_api::ApproximateSplitRequest::get_fraction_of_remainder |
( |
| ) |
const |
|
inline |
Get the value of the 'fractionOfRemainder
' attribute.
◆ get_position()
const Position google_dataflow_api::ApproximateSplitRequest::get_position |
( |
| ) |
const |
Get a reference to the value of the 'position
' attribute.
◆ GetTypeName()
const StringPiece google_dataflow_api::ApproximateSplitRequest::GetTypeName |
( |
| ) |
const |
|
inline |
◆ has_fraction_consumed()
bool google_dataflow_api::ApproximateSplitRequest::has_fraction_consumed |
( |
| ) |
const |
|
inline |
Determine if the 'fractionConsumed
' attribute was set.
- Returns
- true if the '
fractionConsumed
' attribute was set.
◆ has_fraction_of_remainder()
bool google_dataflow_api::ApproximateSplitRequest::has_fraction_of_remainder |
( |
| ) |
const |
|
inline |
Determine if the 'fractionOfRemainder
' attribute was set.
- Returns
- true if the '
fractionOfRemainder
' attribute was set.
◆ has_position()
bool google_dataflow_api::ApproximateSplitRequest::has_position |
( |
| ) |
const |
|
inline |
Determine if the 'position
' attribute was set.
- Returns
- true if the '
position
' attribute was set.
◆ mutable_position()
Position google_dataflow_api::ApproximateSplitRequest::mutable_position |
( |
| ) |
|
Gets a reference to a mutable value of the 'position
' property.
A Position at which to split the work item.
- Returns
- The result can be modified to change the attribute value.
◆ New()
Creates a new default instance.
- Returns
- Ownership is passed back to the caller.
◆ set_fraction_consumed()
void google_dataflow_api::ApproximateSplitRequest::set_fraction_consumed |
( |
double |
value | ) |
|
|
inline |
Change the 'fractionConsumed
' attribute.
A fraction at which to split the work item, from 0.0 (beginning of the input) to 1.0 (end of the input).
- Parameters
-
◆ set_fraction_of_remainder()
void google_dataflow_api::ApproximateSplitRequest::set_fraction_of_remainder |
( |
double |
value | ) |
|
|
inline |
Change the 'fractionOfRemainder
' attribute.
The fraction of the remainder of work to split the work item at, from 0.0 (split at the current position) to 1.0 (end of the input).
- Parameters
-
The documentation for this class was generated from the following files: