Class: Google::Apis::BigqueryV2::RangePartitioning
- Inherits:
-
Object
- Object
- Google::Apis::BigqueryV2::RangePartitioning
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/bigquery_v2/classes.rb,
generated/google/apis/bigquery_v2/representations.rb,
generated/google/apis/bigquery_v2/representations.rb
Defined Under Namespace
Classes: Range
Instance Attribute Summary collapse
-
#field ⇒ String
[TrustedTester] [Required] The table is partitioned by this field.
-
#range ⇒ Google::Apis::BigqueryV2::RangePartitioning::Range
[TrustedTester] [Required] Defines the ranges for range partitioning.
Instance Method Summary collapse
-
#initialize(**args) ⇒ RangePartitioning
constructor
A new instance of RangePartitioning.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ RangePartitioning
Returns a new instance of RangePartitioning.
4389 4390 4391 |
# File 'generated/google/apis/bigquery_v2/classes.rb', line 4389 def initialize(**args) update!(**args) end |
Instance Attribute Details
#field ⇒ String
[TrustedTester] [Required] The table is partitioned by this field. The field
must be a top-level NULLABLE/REQUIRED field. The only supported type is
INTEGER/INT64.
Corresponds to the JSON property field
4382 4383 4384 |
# File 'generated/google/apis/bigquery_v2/classes.rb', line 4382 def field @field end |
#range ⇒ Google::Apis::BigqueryV2::RangePartitioning::Range
[TrustedTester] [Required] Defines the ranges for range partitioning.
Corresponds to the JSON property range
4387 4388 4389 |
# File 'generated/google/apis/bigquery_v2/classes.rb', line 4387 def range @range end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4394 4395 4396 4397 |
# File 'generated/google/apis/bigquery_v2/classes.rb', line 4394 def update!(**args) @field = args[:field] if args.key?(:field) @range = args[:range] if args.key?(:range) end |