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

#include <instruction_input.h>

Inheritance diagram for google_dataflow_api::InstructionInput:

Public Member Functions

 InstructionInput (const Json::Value &storage)
 
 InstructionInput (Json::Value *storage)
 
virtual ~InstructionInput ()
 
const StringPiece GetTypeName () const
 
bool has_output_num () const
 
void clear_output_num ()
 
int32 get_output_num () const
 
void set_output_num (int32 value)
 
bool has_producer_instruction_index () const
 
void clear_producer_instruction_index ()
 
int32 get_producer_instruction_index () const
 
void set_producer_instruction_index (int32 value)
 

Static Public Member Functions

static InstructionInputNew ()
 

Detailed Description

An input of an instruction, as a reference to an output of a producer instruction.

Constructor & Destructor Documentation

◆ InstructionInput() [1/2]

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

Standard constructor for an immutable data object instance.

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

◆ InstructionInput() [2/2]

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

Standard constructor for a mutable data object instance.

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

◆ ~InstructionInput()

google_dataflow_api::InstructionInput::~InstructionInput ( )
virtual

Standard destructor.

Member Function Documentation

◆ clear_output_num()

void google_dataflow_api::InstructionInput::clear_output_num ( )
inline

Clears the 'outputNum' attribute.

◆ clear_producer_instruction_index()

void google_dataflow_api::InstructionInput::clear_producer_instruction_index ( )
inline

Clears the 'producerInstructionIndex' attribute.

◆ get_output_num()

int32 google_dataflow_api::InstructionInput::get_output_num ( ) const
inline

Get the value of the 'outputNum' attribute.

◆ get_producer_instruction_index()

int32 google_dataflow_api::InstructionInput::get_producer_instruction_index ( ) const
inline

Get the value of the 'producerInstructionIndex' attribute.

◆ GetTypeName()

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

Returns a string denoting the type of this data object.

Returns
google_dataflow_api::InstructionInput

◆ has_output_num()

bool google_dataflow_api::InstructionInput::has_output_num ( ) const
inline

Determine if the 'outputNum' attribute was set.

Returns
true if the 'outputNum' attribute was set.

◆ has_producer_instruction_index()

bool google_dataflow_api::InstructionInput::has_producer_instruction_index ( ) const
inline

Determine if the 'producerInstructionIndex' attribute was set.

Returns
true if the 'producerInstructionIndex' attribute was set.

◆ New()

InstructionInput * google_dataflow_api::InstructionInput::New ( )
static

Creates a new default instance.

Returns
Ownership is passed back to the caller.

◆ set_output_num()

void google_dataflow_api::InstructionInput::set_output_num ( int32  value)
inline

Change the 'outputNum' attribute.

The output index (origin zero) within the producer.

Parameters
[in]valueThe new value.

◆ set_producer_instruction_index()

void google_dataflow_api::InstructionInput::set_producer_instruction_index ( int32  value)
inline

Change the 'producerInstructionIndex' attribute.

The index (origin zero) of the parallel instruction that produces the output to be consumed by this input. This index is relative to the list of instructions in this input's instruction's containing MapTask.

Parameters
[in]valueThe new value.

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