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

#include <read_instruction.h>

Inheritance diagram for google_dataflow_api::ReadInstruction:

Public Member Functions

 ReadInstruction (const Json::Value &storage)
 
 ReadInstruction (Json::Value *storage)
 
virtual ~ReadInstruction ()
 
const StringPiece GetTypeName () const
 
bool has_source () const
 
void clear_source ()
 
const Source get_source () const
 
Source mutable_source ()
 

Static Public Member Functions

static ReadInstructionNew ()
 

Detailed Description

An instruction that reads records. Takes no inputs, produces one output.

Constructor & Destructor Documentation

◆ ReadInstruction() [1/2]

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

Standard constructor for an immutable data object instance.

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

◆ ReadInstruction() [2/2]

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

Standard constructor for a mutable data object instance.

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

◆ ~ReadInstruction()

google_dataflow_api::ReadInstruction::~ReadInstruction ( )
virtual

Standard destructor.

Member Function Documentation

◆ clear_source()

void google_dataflow_api::ReadInstruction::clear_source ( )
inline

Clears the 'source' attribute.

◆ get_source()

const Source google_dataflow_api::ReadInstruction::get_source ( ) const

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

◆ GetTypeName()

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

Returns a string denoting the type of this data object.

Returns
google_dataflow_api::ReadInstruction

◆ has_source()

bool google_dataflow_api::ReadInstruction::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::ReadInstruction::mutable_source ( )

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

The source to read from.

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

◆ New()

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