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

#include <derived_source.h>

Inheritance diagram for google_dataflow_api::DerivedSource:

Public Member Functions

 DerivedSource (const Json::Value &storage)
 
 DerivedSource (Json::Value *storage)
 
virtual ~DerivedSource ()
 
const StringPiece GetTypeName () const
 
bool has_derivation_mode () const
 
void clear_derivation_mode ()
 
const StringPiece get_derivation_mode () const
 
void set_derivation_mode (const StringPiece &value)
 
bool has_source () const
 
void clear_source ()
 
const Source get_source () const
 
Source mutable_source ()
 

Static Public Member Functions

static DerivedSourceNew ()
 

Detailed Description

Specification of one of the bundles produced as a result of splitting a Source (e.g. when executing a SourceSplitRequest, or when splitting an active task using WorkItemStatus.dynamic_source_split), relative to the source being split.

Constructor & Destructor Documentation

◆ DerivedSource() [1/2]

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

Standard constructor for an immutable data object instance.

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

◆ DerivedSource() [2/2]

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

Standard constructor for a mutable data object instance.

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

◆ ~DerivedSource()

google_dataflow_api::DerivedSource::~DerivedSource ( )
virtual

Standard destructor.

Member Function Documentation

◆ clear_derivation_mode()

void google_dataflow_api::DerivedSource::clear_derivation_mode ( )
inline

Clears the 'derivationMode' attribute.

◆ clear_source()

void google_dataflow_api::DerivedSource::clear_source ( )
inline

Clears the 'source' attribute.

◆ get_derivation_mode()

const StringPiece google_dataflow_api::DerivedSource::get_derivation_mode ( ) const
inline

Get the value of the 'derivationMode' attribute.

◆ get_source()

const Source google_dataflow_api::DerivedSource::get_source ( ) const

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

◆ GetTypeName()

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

Returns a string denoting the type of this data object.

Returns
google_dataflow_api::DerivedSource

◆ has_derivation_mode()

bool google_dataflow_api::DerivedSource::has_derivation_mode ( ) const
inline

Determine if the 'derivationMode' attribute was set.

Returns
true if the 'derivationMode' attribute was set.

◆ has_source()

bool google_dataflow_api::DerivedSource::has_source ( ) const
inline

Determine if the 'source' attribute was set.

Returns
true if the 'source' attribute was set.

◆ mutable_source()

Source google_dataflow_api::DerivedSource::mutable_source ( )

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

Specification of the source.

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

◆ New()

DerivedSource * google_dataflow_api::DerivedSource::New ( )
static

Creates a new default instance.

Returns
Ownership is passed back to the caller.

◆ set_derivation_mode()

void google_dataflow_api::DerivedSource::set_derivation_mode ( const StringPiece &  value)
inline

Change the 'derivationMode' attribute.

What source to base the produced source on (if any).

Parameters
[in]valueThe new value.

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