Class: Google::Apis::DataprocV1::NativeSqlExecutionUiData

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/dataproc_v1/classes.rb,
lib/google/apis/dataproc_v1/representations.rb,
lib/google/apis/dataproc_v1/representations.rb

Overview

Native SQL Execution Data

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ NativeSqlExecutionUiData

Returns a new instance of NativeSqlExecutionUiData.



5519
5520
5521
# File 'lib/google/apis/dataproc_v1/classes.rb', line 5519

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#descriptionString

Optional. Description of the execution. Corresponds to the JSON property description

Returns:

  • (String)


5492
5493
5494
# File 'lib/google/apis/dataproc_v1/classes.rb', line 5492

def description
  @description
end

#execution_idFixnum

Required. Execution ID of the Native SQL Execution. Corresponds to the JSON property executionId

Returns:

  • (Fixnum)


5497
5498
5499
# File 'lib/google/apis/dataproc_v1/classes.rb', line 5497

def execution_id
  @execution_id
end

#fallback_descriptionString

Optional. Description of the fallback. Corresponds to the JSON property fallbackDescription

Returns:

  • (String)


5502
5503
5504
# File 'lib/google/apis/dataproc_v1/classes.rb', line 5502

def fallback_description
  @fallback_description
end

#fallback_node_to_reasonArray<Google::Apis::DataprocV1::FallbackReason>

Optional. Fallback node to reason. Corresponds to the JSON property fallbackNodeToReason



5507
5508
5509
# File 'lib/google/apis/dataproc_v1/classes.rb', line 5507

def fallback_node_to_reason
  @fallback_node_to_reason
end

#num_fallback_nodesFixnum

Optional. Number of nodes fallen back to Spark. Corresponds to the JSON property numFallbackNodes

Returns:

  • (Fixnum)


5512
5513
5514
# File 'lib/google/apis/dataproc_v1/classes.rb', line 5512

def num_fallback_nodes
  @num_fallback_nodes
end

#num_native_nodesFixnum

Optional. Number of nodes in Native. Corresponds to the JSON property numNativeNodes

Returns:

  • (Fixnum)


5517
5518
5519
# File 'lib/google/apis/dataproc_v1/classes.rb', line 5517

def num_native_nodes
  @num_native_nodes
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5524
5525
5526
5527
5528
5529
5530
5531
# File 'lib/google/apis/dataproc_v1/classes.rb', line 5524

def update!(**args)
  @description = args[:description] if args.key?(:description)
  @execution_id = args[:execution_id] if args.key?(:execution_id)
  @fallback_description = args[:fallback_description] if args.key?(:fallback_description)
  @fallback_node_to_reason = args[:fallback_node_to_reason] if args.key?(:fallback_node_to_reason)
  @num_fallback_nodes = args[:num_fallback_nodes] if args.key?(:num_fallback_nodes)
  @num_native_nodes = args[:num_native_nodes] if args.key?(:num_native_nodes)
end