Class: Google::Apis::BigqueryV2::JobStatistics2
- Inherits:
-
Object
- Object
- Google::Apis::BigqueryV2::JobStatistics2
- 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
Instance Attribute Summary collapse
-
#billing_tier ⇒ Fixnum
[Output-only] Billing tier for the job.
-
#cache_hit ⇒ Boolean
(also: #cache_hit?)
[Output-only] Whether the query result was fetched from the query cache.
-
#num_dml_affected_rows ⇒ Fixnum
[Output-only] The number of rows affected by a DML statement.
-
#query_plan ⇒ Array<Google::Apis::BigqueryV2::ExplainQueryStage>
[Output-only] Describes execution plan for the query.
-
#referenced_tables ⇒ Array<Google::Apis::BigqueryV2::TableReference>
[Output-only, Experimental] Referenced tables for the job.
-
#schema ⇒ Google::Apis::BigqueryV2::TableSchema
[Output-only, Experimental] The schema of the results.
-
#statement_type ⇒ String
[Output-only, Experimental] The type of query statement, if valid.
-
#total_bytes_billed ⇒ Fixnum
[Output-only] Total bytes billed for the job.
-
#total_bytes_processed ⇒ Fixnum
[Output-only] Total bytes processed for the job.
-
#total_slot_ms ⇒ Fixnum
[Output-only] Slot-milliseconds for the job.
-
#undeclared_query_parameters ⇒ Array<Google::Apis::BigqueryV2::QueryParameter>
[Output-only, Experimental] Standard SQL only: list of undeclared query parameters detected during a dry run validation.
Instance Method Summary collapse
-
#initialize(**args) ⇒ JobStatistics2
constructor
A new instance of JobStatistics2.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ JobStatistics2
Returns a new instance of JobStatistics2
1999 2000 2001 |
# File 'generated/google/apis/bigquery_v2/classes.rb', line 1999 def initialize(**args) update!(**args) end |
Instance Attribute Details
#billing_tier ⇒ Fixnum
[Output-only] Billing tier for the job.
Corresponds to the JSON property billingTier
1942 1943 1944 |
# File 'generated/google/apis/bigquery_v2/classes.rb', line 1942 def billing_tier @billing_tier end |
#cache_hit ⇒ Boolean Also known as: cache_hit?
[Output-only] Whether the query result was fetched from the query cache.
Corresponds to the JSON property cacheHit
1947 1948 1949 |
# File 'generated/google/apis/bigquery_v2/classes.rb', line 1947 def cache_hit @cache_hit end |
#num_dml_affected_rows ⇒ Fixnum
[Output-only] The number of rows affected by a DML statement. Present only for
DML statements INSERT, UPDATE or DELETE.
Corresponds to the JSON property numDmlAffectedRows
1954 1955 1956 |
# File 'generated/google/apis/bigquery_v2/classes.rb', line 1954 def num_dml_affected_rows @num_dml_affected_rows end |
#query_plan ⇒ Array<Google::Apis::BigqueryV2::ExplainQueryStage>
[Output-only] Describes execution plan for the query.
Corresponds to the JSON property queryPlan
1959 1960 1961 |
# File 'generated/google/apis/bigquery_v2/classes.rb', line 1959 def query_plan @query_plan end |
#referenced_tables ⇒ Array<Google::Apis::BigqueryV2::TableReference>
[Output-only, Experimental] Referenced tables for the job. Queries that
reference more than 50 tables will not have a complete list.
Corresponds to the JSON property referencedTables
1965 1966 1967 |
# File 'generated/google/apis/bigquery_v2/classes.rb', line 1965 def referenced_tables @referenced_tables end |
#schema ⇒ Google::Apis::BigqueryV2::TableSchema
[Output-only, Experimental] The schema of the results. Present only for
successful dry run of non-legacy SQL queries.
Corresponds to the JSON property schema
1971 1972 1973 |
# File 'generated/google/apis/bigquery_v2/classes.rb', line 1971 def schema @schema end |
#statement_type ⇒ String
[Output-only, Experimental] The type of query statement, if valid.
Corresponds to the JSON property statementType
1976 1977 1978 |
# File 'generated/google/apis/bigquery_v2/classes.rb', line 1976 def statement_type @statement_type end |
#total_bytes_billed ⇒ Fixnum
[Output-only] Total bytes billed for the job.
Corresponds to the JSON property totalBytesBilled
1981 1982 1983 |
# File 'generated/google/apis/bigquery_v2/classes.rb', line 1981 def total_bytes_billed @total_bytes_billed end |
#total_bytes_processed ⇒ Fixnum
[Output-only] Total bytes processed for the job.
Corresponds to the JSON property totalBytesProcessed
1986 1987 1988 |
# File 'generated/google/apis/bigquery_v2/classes.rb', line 1986 def total_bytes_processed @total_bytes_processed end |
#total_slot_ms ⇒ Fixnum
[Output-only] Slot-milliseconds for the job.
Corresponds to the JSON property totalSlotMs
1991 1992 1993 |
# File 'generated/google/apis/bigquery_v2/classes.rb', line 1991 def total_slot_ms @total_slot_ms end |
#undeclared_query_parameters ⇒ Array<Google::Apis::BigqueryV2::QueryParameter>
[Output-only, Experimental] Standard SQL only: list of undeclared query
parameters detected during a dry run validation.
Corresponds to the JSON property undeclaredQueryParameters
1997 1998 1999 |
# File 'generated/google/apis/bigquery_v2/classes.rb', line 1997 def undeclared_query_parameters @undeclared_query_parameters end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 |
# File 'generated/google/apis/bigquery_v2/classes.rb', line 2004 def update!(**args) @billing_tier = args[:billing_tier] if args.key?(:billing_tier) @cache_hit = args[:cache_hit] if args.key?(:cache_hit) @num_dml_affected_rows = args[:num_dml_affected_rows] if args.key?(:num_dml_affected_rows) @query_plan = args[:query_plan] if args.key?(:query_plan) @referenced_tables = args[:referenced_tables] if args.key?(:referenced_tables) @schema = args[:schema] if args.key?(:schema) @statement_type = args[:statement_type] if args.key?(:statement_type) @total_bytes_billed = args[:total_bytes_billed] if args.key?(:total_bytes_billed) @total_bytes_processed = args[:total_bytes_processed] if args.key?(:total_bytes_processed) @total_slot_ms = args[:total_slot_ms] if args.key?(:total_slot_ms) @undeclared_query_parameters = args[:undeclared_query_parameters] if args.key?(:undeclared_query_parameters) end |