Class: Impala::Protocol::HiveMetastore::Database

Inherits:
Object
  • Object
show all
Includes:
Thrift::Struct, Thrift::Struct_Union
Defined in:
lib/impala/protocol/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 => Impala::Protocol::HiveMetastore::PrincipalPrivilegeSet, :optional => true }
}

Instance Method Summary collapse

Instance Method Details

#struct_fieldsObject



246
# File 'lib/impala/protocol/hive_metastore_types.rb', line 246

def struct_fields; FIELDS; end

#validateObject



248
249
# File 'lib/impala/protocol/hive_metastore_types.rb', line 248

def validate
end