class Hive::Thrift::Task

Constants

DONE
FIELDS
OPERATORGRAPH
OPERATORLIST
STARTED
TASKATTRIBUTES
TASKCOUNTERS
TASKID
TASKTYPE

Public Instance Methods

struct_fields() click to toggle source
# File lib/thrift/queryplan_types.rb, line 168
def struct_fields; FIELDS; end
validate() click to toggle source
# File lib/thrift/queryplan_types.rb, line 170
def validate
  unless @taskType.nil? || ::Hive::Thrift::TaskType::VALID_VALUES.include?(@taskType)
    raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Invalid value of field taskType!')
  end
end