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

#include <dynamic_source_split.h>

Inheritance diagram for google_dataflow_api::DynamicSourceSplit:

Public Member Functions

 DynamicSourceSplit (const Json::Value &storage)
 
 DynamicSourceSplit (Json::Value *storage)
 
virtual ~DynamicSourceSplit ()
 
const StringPiece GetTypeName () const
 
bool has_primary () const
 
void clear_primary ()
 
const DerivedSource get_primary () const
 
DerivedSource mutable_primary ()
 
bool has_residual () const
 
void clear_residual ()
 
const DerivedSource get_residual () const
 
DerivedSource mutable_residual ()
 

Static Public Member Functions

static DynamicSourceSplitNew ()
 

Detailed Description

When a task splits using WorkItemStatus.dynamic_source_split, this message describes the two parts of the split relative to the description of the current task's input.

Constructor & Destructor Documentation

◆ DynamicSourceSplit() [1/2]

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

Standard constructor for an immutable data object instance.

Parameters
[in]storageThe underlying data storage for this instance.

◆ DynamicSourceSplit() [2/2]

google_dataflow_api::DynamicSourceSplit::DynamicSourceSplit ( Json::Value *  storage)
explicit

Standard constructor for a mutable data object instance.

Parameters
[in]storageThe underlying data storage for this instance.

◆ ~DynamicSourceSplit()

google_dataflow_api::DynamicSourceSplit::~DynamicSourceSplit ( )
virtual

Standard destructor.

Member Function Documentation

◆ clear_primary()

void google_dataflow_api::DynamicSourceSplit::clear_primary ( )
inline

Clears the 'primary' attribute.

◆ clear_residual()

void google_dataflow_api::DynamicSourceSplit::clear_residual ( )
inline

Clears the 'residual' attribute.

◆ get_primary()

const DerivedSource google_dataflow_api::DynamicSourceSplit::get_primary ( ) const

Get a reference to the value of the 'primary' attribute.

◆ get_residual()

const DerivedSource google_dataflow_api::DynamicSourceSplit::get_residual ( ) const

Get a reference to the value of the 'residual' attribute.

◆ GetTypeName()

const StringPiece google_dataflow_api::DynamicSourceSplit::GetTypeName ( ) const
inline

Returns a string denoting the type of this data object.

Returns
google_dataflow_api::DynamicSourceSplit

◆ has_primary()

bool google_dataflow_api::DynamicSourceSplit::has_primary ( ) const
inline

Determine if the 'primary' attribute was set.

Returns
true if the 'primary' attribute was set.

◆ has_residual()

bool google_dataflow_api::DynamicSourceSplit::has_residual ( ) const
inline

Determine if the 'residual' attribute was set.

Returns
true if the 'residual' attribute was set.

◆ mutable_primary()

DerivedSource google_dataflow_api::DynamicSourceSplit::mutable_primary ( )

Gets a reference to a mutable value of the 'primary' property.

Primary part (continued to be processed by worker). Specified relative to the previously-current source. Becomes current.

Returns
The result can be modified to change the attribute value.

◆ mutable_residual()

DerivedSource google_dataflow_api::DynamicSourceSplit::mutable_residual ( )

Gets a reference to a mutable value of the 'residual' property.

Residual part (returned to the pool of work). Specified relative to the previously-current source.

Returns
The result can be modified to change the attribute value.

◆ New()

DynamicSourceSplit * google_dataflow_api::DynamicSourceSplit::New ( )
static

Creates a new default instance.

Returns
Ownership is passed back to the caller.

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