dataflow  v1b3
Public Member Functions | Static Public Member Functions | List of all members
google_dataflow_api::ApproximateSplitRequest Class Reference

#include <approximate_split_request.h>

Inheritance diagram for google_dataflow_api::ApproximateSplitRequest:

Public Member Functions

 ApproximateSplitRequest (const Json::Value &storage)
 
 ApproximateSplitRequest (Json::Value *storage)
 
virtual ~ApproximateSplitRequest ()
 
const StringPiece GetTypeName () const
 
bool has_fraction_consumed () const
 
void clear_fraction_consumed ()
 
double get_fraction_consumed () const
 
void set_fraction_consumed (double value)
 
bool has_fraction_of_remainder () const
 
void clear_fraction_of_remainder ()
 
double get_fraction_of_remainder () const
 
void set_fraction_of_remainder (double value)
 
bool has_position () const
 
void clear_position ()
 
const Position get_position () const
 
Position mutable_position ()
 

Static Public Member Functions

static ApproximateSplitRequestNew ()
 

Detailed Description

A suggestion by the service to the worker to dynamically split the WorkItem.

Constructor & Destructor Documentation

◆ ApproximateSplitRequest() [1/2]

google_dataflow_api::ApproximateSplitRequest::ApproximateSplitRequest ( const Json::Value &  storage)
explicit

Standard constructor for an immutable data object instance.

Parameters
[in]storageThe 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]storageThe underlying data storage for this instance.

◆ ~ApproximateSplitRequest()

google_dataflow_api::ApproximateSplitRequest::~ApproximateSplitRequest ( )
virtual

Standard destructor.

Member Function Documentation

◆ 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

Returns a string denoting the type of this data object.

Returns
google_dataflow_api::ApproximateSplitRequest

◆ 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()

ApproximateSplitRequest * google_dataflow_api::ApproximateSplitRequest::New ( )
static

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
[in]valueThe new value.

◆ 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
[in]valueThe new value.

The documentation for this class was generated from the following files: