#include <source_metadata.h>
Metadata about a Source useful for automatically optimizing and tuning the pipeline, etc.
◆ SourceMetadata() [1/2]
google_dataflow_api::SourceMetadata::SourceMetadata |
( |
const Json::Value & |
storage | ) |
|
|
explicit |
Standard constructor for an immutable data object instance.
- Parameters
-
[in] | storage | The underlying data storage for this instance. |
◆ SourceMetadata() [2/2]
google_dataflow_api::SourceMetadata::SourceMetadata |
( |
Json::Value * |
storage | ) |
|
|
explicit |
Standard constructor for a mutable data object instance.
- Parameters
-
[in] | storage | The underlying data storage for this instance. |
◆ ~SourceMetadata()
google_dataflow_api::SourceMetadata::~SourceMetadata |
( |
| ) |
|
|
virtual |
◆ clear_estimated_size_bytes()
void google_dataflow_api::SourceMetadata::clear_estimated_size_bytes |
( |
| ) |
|
|
inline |
Clears the 'estimatedSizeBytes
' attribute.
◆ clear_infinite()
void google_dataflow_api::SourceMetadata::clear_infinite |
( |
| ) |
|
|
inline |
Clears the 'infinite
' attribute.
◆ clear_produces_sorted_keys()
void google_dataflow_api::SourceMetadata::clear_produces_sorted_keys |
( |
| ) |
|
|
inline |
Clears the 'producesSortedKeys
' attribute.
◆ get_estimated_size_bytes()
int64 google_dataflow_api::SourceMetadata::get_estimated_size_bytes |
( |
| ) |
const |
|
inline |
Get the value of the 'estimatedSizeBytes
' attribute.
◆ get_infinite()
bool google_dataflow_api::SourceMetadata::get_infinite |
( |
| ) |
const |
|
inline |
Get the value of the 'infinite
' attribute.
◆ get_produces_sorted_keys()
bool google_dataflow_api::SourceMetadata::get_produces_sorted_keys |
( |
| ) |
const |
|
inline |
Get the value of the 'producesSortedKeys
' attribute.
◆ GetTypeName()
const StringPiece google_dataflow_api::SourceMetadata::GetTypeName |
( |
| ) |
const |
|
inline |
◆ has_estimated_size_bytes()
bool google_dataflow_api::SourceMetadata::has_estimated_size_bytes |
( |
| ) |
const |
|
inline |
Determine if the 'estimatedSizeBytes
' attribute was set.
- Returns
- true if the '
estimatedSizeBytes
' attribute was set.
◆ has_infinite()
bool google_dataflow_api::SourceMetadata::has_infinite |
( |
| ) |
const |
|
inline |
Determine if the 'infinite
' attribute was set.
- Returns
- true if the '
infinite
' attribute was set.
◆ has_produces_sorted_keys()
bool google_dataflow_api::SourceMetadata::has_produces_sorted_keys |
( |
| ) |
const |
|
inline |
Determine if the 'producesSortedKeys
' attribute was set.
- Returns
- true if the '
producesSortedKeys
' attribute was set.
◆ New()
Creates a new default instance.
- Returns
- Ownership is passed back to the caller.
◆ set_estimated_size_bytes()
void google_dataflow_api::SourceMetadata::set_estimated_size_bytes |
( |
int64 |
value | ) |
|
|
inline |
Change the 'estimatedSizeBytes
' attribute.
An estimate of the total size (in bytes) of the data that would be read from this source. This estimate is in terms of external storage size, before any decompression or other processing done by the reader.
- Parameters
-
◆ set_infinite()
void google_dataflow_api::SourceMetadata::set_infinite |
( |
bool |
value | ) |
|
|
inline |
Change the 'infinite
' attribute.
Specifies that the size of this source is known to be infinite (this is a streaming source).
- Parameters
-
◆ set_produces_sorted_keys()
void google_dataflow_api::SourceMetadata::set_produces_sorted_keys |
( |
bool |
value | ) |
|
|
inline |
Change the 'producesSortedKeys
' attribute.
Whether this source is known to produce key/value pairs with the (encoded) keys in lexicographically sorted order.
- Parameters
-
The documentation for this class was generated from the following files: