Class: Hive2::Thrift::TGetResultSetMetadataReq

Inherits:
Object
  • Object
show all
Includes:
Thrift::Struct, Thrift::Struct_Union
Defined in:
lib/thrift/t_c_l_i_service_types.rb

Constant Summary collapse

OPERATIONHANDLE =
1
FIELDS =
{
  OPERATIONHANDLE => {:type => ::Thrift::Types::STRUCT, :name => 'operationHandle', :class => ::Hive2::Thrift::TOperationHandle}
}

Instance Method Summary collapse

Instance Method Details

#struct_fieldsObject


1570
# File 'lib/thrift/t_c_l_i_service_types.rb', line 1570

def struct_fields; FIELDS; end

#validateObject

Raises:

  • (::Thrift::ProtocolException)

1572
1573
1574
# File 'lib/thrift/t_c_l_i_service_types.rb', line 1572

def validate
  raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Required field operationHandle is unset!') unless @operationHandle
end