Class: Database

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

Constant Summary collapse

NAME =
1
DESCRIPTION =
2
LOCATIONURI =
3
PARAMETERS =
4
PRIVILEGES =
5
FIELDS =
{
  NAME => {:type => ::Thrift::Types::STRING, :name => 'name'},
  DESCRIPTION => {:type => ::Thrift::Types::STRING, :name => 'description'},
  LOCATIONURI => {:type => ::Thrift::Types::STRING, :name => 'locationUri'},
  PARAMETERS => {:type => ::Thrift::Types::MAP, :name => 'parameters', :key => {:type => ::Thrift::Types::STRING}, :value => {:type => ::Thrift::Types::STRING}},
  PRIVILEGES => {:type => ::Thrift::Types::STRUCT, :name => 'privileges', :class => ::PrincipalPrivilegeSet, :optional => true}
}

Instance Method Summary collapse

Instance Method Details

#struct_fieldsObject


240
# File 'lib/thrift/hive_metastore_types.rb', line 240

def struct_fields; FIELDS; end

#validateObject


242
243
# File 'lib/thrift/hive_metastore_types.rb', line 242

def validate
end