Class: Impala::Protocol::TExecStats

Inherits:
Object
  • Object
show all
Includes:
Thrift::Struct, Thrift::Struct_Union
Defined in:
lib/impala/protocol/exec_stats_types.rb

Constant Summary collapse

LATENCY_NS =
1
CPU_TIME_NS =
2
CARDINALITY =
3
MEMORY_USED =
4
FIELDS =
{
  LATENCY_NS => {:type => ::Thrift::Types::I64, :name => 'latency_ns', :optional => true},
  CPU_TIME_NS => {:type => ::Thrift::Types::I64, :name => 'cpu_time_ns', :optional => true},
  CARDINALITY => {:type => ::Thrift::Types::I64, :name => 'cardinality', :optional => true},
  MEMORY_USED => {:type => ::Thrift::Types::I64, :name => 'memory_used', :optional => true}
}

Instance Method Summary collapse

Instance Method Details

#struct_fieldsObject



40
# File 'lib/impala/protocol/exec_stats_types.rb', line 40

def struct_fields; FIELDS; end

#validateObject



42
43
# File 'lib/impala/protocol/exec_stats_types.rb', line 42

def validate
end