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

#include <write_instruction.h>

Inheritance diagram for google_dataflow_api::WriteInstruction:

Public Member Functions

 WriteInstruction (const Json::Value &storage)
 
 WriteInstruction (Json::Value *storage)
 
virtual ~WriteInstruction ()
 
const StringPiece GetTypeName () const
 
bool has_input () const
 
void clear_input ()
 
const InstructionInput get_input () const
 
InstructionInput mutable_input ()
 
bool has_sink () const
 
void clear_sink ()
 
const Sink get_sink () const
 
Sink mutable_sink ()
 

Static Public Member Functions

static WriteInstructionNew ()
 

Detailed Description

An instruction that writes records. Takes one input, produces no outputs.

Constructor & Destructor Documentation

◆ WriteInstruction() [1/2]

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

Standard constructor for an immutable data object instance.

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

◆ WriteInstruction() [2/2]

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

Standard constructor for a mutable data object instance.

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

◆ ~WriteInstruction()

google_dataflow_api::WriteInstruction::~WriteInstruction ( )
virtual

Standard destructor.

Member Function Documentation

◆ clear_input()

void google_dataflow_api::WriteInstruction::clear_input ( )
inline

Clears the 'input' attribute.

◆ clear_sink()

void google_dataflow_api::WriteInstruction::clear_sink ( )
inline

Clears the 'sink' attribute.

◆ get_input()

const InstructionInput google_dataflow_api::WriteInstruction::get_input ( ) const

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

◆ get_sink()

const Sink google_dataflow_api::WriteInstruction::get_sink ( ) const

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

◆ GetTypeName()

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

Returns a string denoting the type of this data object.

Returns
google_dataflow_api::WriteInstruction

◆ has_input()

bool google_dataflow_api::WriteInstruction::has_input ( ) const
inline

Determine if the 'input' attribute was set.

Returns
true if the 'input' attribute was set.

◆ has_sink()

bool google_dataflow_api::WriteInstruction::has_sink ( ) const
inline

Determine if the 'sink' attribute was set.

Returns
true if the 'sink' attribute was set.

◆ mutable_input()

InstructionInput google_dataflow_api::WriteInstruction::mutable_input ( )

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

The input.

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

◆ mutable_sink()

Sink google_dataflow_api::WriteInstruction::mutable_sink ( )

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

The sink to write to.

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

◆ New()

WriteInstruction * google_dataflow_api::WriteInstruction::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: