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

#include <source_split_options.h>

Inheritance diagram for google_dataflow_api::SourceSplitOptions:

Public Member Functions

 SourceSplitOptions (const Json::Value &storage)
 
 SourceSplitOptions (Json::Value *storage)
 
virtual ~SourceSplitOptions ()
 
const StringPiece GetTypeName () const
 
bool has_desired_bundle_size_bytes () const
 
void clear_desired_bundle_size_bytes ()
 
int64 get_desired_bundle_size_bytes () const
 
void set_desired_bundle_size_bytes (int64 value)
 
bool has_desired_shard_size_bytes () const
 
void clear_desired_shard_size_bytes ()
 
int64 get_desired_shard_size_bytes () const
 
void set_desired_shard_size_bytes (int64 value)
 

Static Public Member Functions

static SourceSplitOptionsNew ()
 

Detailed Description

Hints for splitting a Source into bundles (parts for parallel processing) using SourceSplitRequest.

Constructor & Destructor Documentation

◆ SourceSplitOptions() [1/2]

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

Standard constructor for an immutable data object instance.

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

◆ SourceSplitOptions() [2/2]

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

Standard constructor for a mutable data object instance.

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

◆ ~SourceSplitOptions()

google_dataflow_api::SourceSplitOptions::~SourceSplitOptions ( )
virtual

Standard destructor.

Member Function Documentation

◆ clear_desired_bundle_size_bytes()

void google_dataflow_api::SourceSplitOptions::clear_desired_bundle_size_bytes ( )
inline

Clears the 'desiredBundleSizeBytes' attribute.

◆ clear_desired_shard_size_bytes()

void google_dataflow_api::SourceSplitOptions::clear_desired_shard_size_bytes ( )
inline

Clears the 'desiredShardSizeBytes' attribute.

◆ get_desired_bundle_size_bytes()

int64 google_dataflow_api::SourceSplitOptions::get_desired_bundle_size_bytes ( ) const
inline

Get the value of the 'desiredBundleSizeBytes' attribute.

◆ get_desired_shard_size_bytes()

int64 google_dataflow_api::SourceSplitOptions::get_desired_shard_size_bytes ( ) const
inline

Get the value of the 'desiredShardSizeBytes' attribute.

◆ GetTypeName()

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

Returns a string denoting the type of this data object.

Returns
google_dataflow_api::SourceSplitOptions

◆ has_desired_bundle_size_bytes()

bool google_dataflow_api::SourceSplitOptions::has_desired_bundle_size_bytes ( ) const
inline

Determine if the 'desiredBundleSizeBytes' attribute was set.

Returns
true if the 'desiredBundleSizeBytes' attribute was set.

◆ has_desired_shard_size_bytes()

bool google_dataflow_api::SourceSplitOptions::has_desired_shard_size_bytes ( ) const
inline

Determine if the 'desiredShardSizeBytes' attribute was set.

Returns
true if the 'desiredShardSizeBytes' attribute was set.

◆ New()

SourceSplitOptions * google_dataflow_api::SourceSplitOptions::New ( )
static

Creates a new default instance.

Returns
Ownership is passed back to the caller.

◆ set_desired_bundle_size_bytes()

void google_dataflow_api::SourceSplitOptions::set_desired_bundle_size_bytes ( int64  value)
inline

Change the 'desiredBundleSizeBytes' attribute.

The source should be split into a set of bundles where the estimated size of each is approximately this many bytes.

Parameters
[in]valueThe new value.

◆ set_desired_shard_size_bytes()

void google_dataflow_api::SourceSplitOptions::set_desired_shard_size_bytes ( int64  value)
inline

Change the 'desiredShardSizeBytes' attribute.

Deprecated:

DEPRECATED in favor of desired_bundle_size_bytes.

Parameters
[in]valueThe new value.

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