#include <time_partitioning.h>
◆ TimePartitioning() [1/2]
google_bigquery_api::TimePartitioning::TimePartitioning |
( |
const Json::Value & |
storage | ) |
|
|
explicit |
Standard constructor for an immutable data object instance.
- Parameters
-
[in] | storage | The underlying data storage for this instance. |
◆ TimePartitioning() [2/2]
google_bigquery_api::TimePartitioning::TimePartitioning |
( |
Json::Value * |
storage | ) |
|
|
explicit |
Standard constructor for a mutable data object instance.
- Parameters
-
[in] | storage | The underlying data storage for this instance. |
◆ ~TimePartitioning()
google_bigquery_api::TimePartitioning::~TimePartitioning |
( |
| ) |
|
|
virtual |
◆ clear_expiration_ms()
void google_bigquery_api::TimePartitioning::clear_expiration_ms |
( |
| ) |
|
|
inline |
Clears the 'expirationMs
' attribute.
◆ clear_field()
void google_bigquery_api::TimePartitioning::clear_field |
( |
| ) |
|
|
inline |
Clears the 'field
' attribute.
◆ clear_require_partition_filter()
void google_bigquery_api::TimePartitioning::clear_require_partition_filter |
( |
| ) |
|
|
inline |
Clears the 'requirePartitionFilter
' attribute.
◆ clear_type()
void google_bigquery_api::TimePartitioning::clear_type |
( |
| ) |
|
|
inline |
Clears the 'type
' attribute.
◆ get_expiration_ms()
int64 google_bigquery_api::TimePartitioning::get_expiration_ms |
( |
| ) |
const |
|
inline |
Get the value of the 'expirationMs
' attribute.
◆ get_field()
const StringPiece google_bigquery_api::TimePartitioning::get_field |
( |
| ) |
const |
|
inline |
Get the value of the 'field
' attribute.
◆ get_require_partition_filter()
bool google_bigquery_api::TimePartitioning::get_require_partition_filter |
( |
| ) |
const |
|
inline |
Get the value of the 'requirePartitionFilter
' attribute.
◆ get_type()
const StringPiece google_bigquery_api::TimePartitioning::get_type |
( |
| ) |
const |
|
inline |
Get the value of the 'type
' attribute.
◆ GetTypeName()
const StringPiece google_bigquery_api::TimePartitioning::GetTypeName |
( |
| ) |
const |
|
inline |
◆ has_expiration_ms()
bool google_bigquery_api::TimePartitioning::has_expiration_ms |
( |
| ) |
const |
|
inline |
Determine if the 'expirationMs
' attribute was set.
- Returns
- true if the '
expirationMs
' attribute was set.
◆ has_field()
bool google_bigquery_api::TimePartitioning::has_field |
( |
| ) |
const |
|
inline |
Determine if the 'field
' attribute was set.
- Returns
- true if the '
field
' attribute was set.
◆ has_require_partition_filter()
bool google_bigquery_api::TimePartitioning::has_require_partition_filter |
( |
| ) |
const |
|
inline |
Determine if the 'requirePartitionFilter
' attribute was set.
- Returns
- true if the '
requirePartitionFilter
' attribute was set.
◆ has_type()
bool google_bigquery_api::TimePartitioning::has_type |
( |
| ) |
const |
|
inline |
Determine if the 'type
' attribute was set.
- Returns
- true if the '
type
' attribute was set.
◆ New()
Creates a new default instance.
- Returns
- Ownership is passed back to the caller.
◆ set_expiration_ms()
void google_bigquery_api::TimePartitioning::set_expiration_ms |
( |
int64 |
value | ) |
|
|
inline |
Change the 'expirationMs
' attribute.
[Optional] Number of milliseconds for which to keep the storage for partitions in the table. The storage in a partition will have an expiration time of its partition time plus this value.
- Parameters
-
◆ set_field()
void google_bigquery_api::TimePartitioning::set_field |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'field
' attribute.
[Beta] [Optional] If not set, the table is partitioned by pseudo column, referenced via either '_PARTITIONTIME' as TIMESTAMP type, or '_PARTITIONDATE' as DATE type. If field is specified, the table is instead partitioned by this field. The field must be a top-level TIMESTAMP or DATE field. Its mode must be NULLABLE or REQUIRED.
- Parameters
-
◆ set_require_partition_filter()
void google_bigquery_api::TimePartitioning::set_require_partition_filter |
( |
bool |
value | ) |
|
|
inline |
Change the 'requirePartitionFilter
' attribute.
- Parameters
-
◆ set_type()
void google_bigquery_api::TimePartitioning::set_type |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'type
' attribute.
[Required] The only type supported is DAY, which will generate one partition per day.
- Parameters
-
The documentation for this class was generated from the following files: