#include <source_split_options.h>
Hints for splitting a Source into bundles (parts for parallel processing) using SourceSplitRequest.
◆ SourceSplitOptions() [1/2]
google_dataflow_api::SourceSplitOptions::SourceSplitOptions |
( |
const Json::Value & |
storage | ) |
|
|
explicit |
Standard constructor for an immutable data object instance.
- Parameters
-
[in] | storage | The 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] | storage | The underlying data storage for this instance. |
◆ ~SourceSplitOptions()
google_dataflow_api::SourceSplitOptions::~SourceSplitOptions |
( |
| ) |
|
|
virtual |
◆ 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 |
◆ 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()
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
-
◆ 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
-
The documentation for this class was generated from the following files: