Class: PrincipalPrivilegeSet

Inherits:
Object
  • Object
show all
Includes:
Thrift::Struct, Thrift::Struct_Union
Defined in:
lib/thrift/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 => ::PrivilegeGrantInfo}}},
  GROUPPRIVILEGES => {:type => ::Thrift::Types::MAP, :name => 'groupPrivileges', :key => {:type => ::Thrift::Types::STRING}, :value => {:type => ::Thrift::Types::LIST, :element => {:type => ::Thrift::Types::STRUCT, :class => ::PrivilegeGrantInfo}}},
  ROLEPRIVILEGES => {:type => ::Thrift::Types::MAP, :name => 'rolePrivileges', :key => {:type => ::Thrift::Types::STRING}, :value => {:type => ::Thrift::Types::LIST, :element => {:type => ::Thrift::Types::STRUCT, :class => ::PrivilegeGrantInfo}}}
}

Instance Method Summary collapse

Instance Method Details

#struct_fieldsObject


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

def struct_fields; FIELDS; end

#validateObject


198
199
# File 'lib/thrift/hive_metastore_types.rb', line 198

def validate
end