Class: Google::Apis::BigqueryV2::RangePartitioning
- Inherits:
-
Object
- Object
- Google::Apis::BigqueryV2::RangePartitioning
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/bigquery_v2/classes.rb,
lib/google/apis/bigquery_v2/representations.rb,
lib/google/apis/bigquery_v2/representations.rb
Defined Under Namespace
Classes: Range
Instance Attribute Summary collapse
-
#field ⇒ String
Required.
-
#range ⇒ Google::Apis::BigqueryV2::RangePartitioning::Range
[Experimental] 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.
Constructor Details
#initialize(**args) ⇒ RangePartitioning
Returns a new instance of RangePartitioning.
8497 8498 8499 |
# File 'lib/google/apis/bigquery_v2/classes.rb', line 8497 def initialize(**args) update!(**args) end |
Instance Attribute Details
#field ⇒ String
Required. The name of the column to partition the table on. It must be a top-
level, INT64 column whose mode is NULLABLE or REQUIRED.
Corresponds to the JSON property field
8490 8491 8492 |
# File 'lib/google/apis/bigquery_v2/classes.rb', line 8490 def field @field end |
#range ⇒ Google::Apis::BigqueryV2::RangePartitioning::Range
[Experimental] Defines the ranges for range partitioning.
Corresponds to the JSON property range
8495 8496 8497 |
# File 'lib/google/apis/bigquery_v2/classes.rb', line 8495 def range @range end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
8502 8503 8504 8505 |
# File 'lib/google/apis/bigquery_v2/classes.rb', line 8502 def update!(**args) @field = args[:field] if args.key?(:field) @range = args[:range] if args.key?(:range) end |