Class: Hadoop::API::RequestContext

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

Overview

Context options for every request.

Constant Summary collapse

CONFOPTIONS =
1
FIELDS =
{
  # This map turns into a Configuration object in the server and
  # is currently used to construct a UserGroupInformation to
  # authenticate this request.
  CONFOPTIONS => {:type => ::Thrift::Types::MAP, :name => 'confOptions', :key => {:type => ::Thrift::Types::STRING}, :value => {:type => ::Thrift::Types::STRING}}
}

Instance Method Summary collapse

Instance Method Details

#struct_fieldsObject



144
# File 'lib/thrift/common_types.rb', line 144

def struct_fields; FIELDS; end

#validateObject



146
147
# File 'lib/thrift/common_types.rb', line 146

def validate
end