Class: Impala::Protocol::HiveMetastore::PrincipalPrivilegeSet

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

Constant Summary collapse

USERPRIVILEGES =
1
GROUPPRIVILEGES =
2
ROLEPRIVILEGES =
3
FIELDS =
{
USERPRIVILEGES => { :type => ::Thrift::Types::MAP, :name => 'userPrivileges', :key => { :type => ::Thrift::Types::STRING }, :value => { :type => ::Thrift::Types::LIST, :element => { :type => ::Thrift::Types::STRUCT, :class => Impala::Protocol::HiveMetastore::PrivilegeGrantInfo } } },
GROUPPRIVILEGES => { :type => ::Thrift::Types::MAP, :name => 'groupPrivileges', :key => { :type => ::Thrift::Types::STRING }, :value => { :type => ::Thrift::Types::LIST, :element => { :type => ::Thrift::Types::STRUCT, :class => Impala::Protocol::HiveMetastore::PrivilegeGrantInfo } } },
ROLEPRIVILEGES => { :type => ::Thrift::Types::MAP, :name => 'rolePrivileges', :key => { :type => ::Thrift::Types::STRING }, :value => { :type => ::Thrift::Types::LIST, :element => { :type => ::Thrift::Types::STRUCT, :class => Impala::Protocol::HiveMetastore::PrivilegeGrantInfo } } }
}

Instance Method Summary collapse

Instance Method Details

#struct_fieldsObject



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

def struct_fields; FIELDS; end

#validateObject



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

def validate
end