Package com.gpudb.protocol
Class ShowSecurityResponse
java.lang.Object
com.gpudb.protocol.ShowSecurityResponse
All Implemented Interfaces:
org.apache.avro.generic.GenericContainer, org.apache.avro.generic.IndexedRecordA set of results returned by
GPUdb.showSecurity.Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classA set of string constants for theShowSecurityResponseparametertypes.Method Summary
Modifier and TypeMethodDescriptionbooleanget(int index) This method supports the Avro framework and is not intended to be called directly by the user.static org.apache.avro.SchemaThis method supports the Avro framework and is not intended to be called directly by the user.getInfo()Additional information.Map of user/role name to a list of permissions directly granted to that user/role.Map of user name to resource group name.getRoles()Map of user/role name to a list of names of roles of which that user/role is a member.org.apache.avro.SchemaThis method supports the Avro framework and is not intended to be called directly by the user.getTypes()Map of user/role name to the type of that user/role.inthashCode()voidThis method supports the Avro framework and is not intended to be called directly by the user.Additional information.Map of user/role name to a list of permissions directly granted to that user/role.setResourceGroups(Map<String, String> resourceGroups) Map of user name to resource group name.Map of user/role name to a list of names of roles of which that user/role is a member.Map of user/role name to the type of that user/role.toString()
Method Details
getTypes
Map of user/role name to the type of that user/role. Valid values are:INTERNAL_USER: A user whose credentials are managed by the database system.EXTERNAL_USER: A user whose credentials are managed by an external LDAP.ROLE: A role.
Returns:The current value oftypes.setTypes
Map of user/role name to the type of that user/role. Valid values are:INTERNAL_USER: A user whose credentials are managed by the database system.EXTERNAL_USER: A user whose credentials are managed by an external LDAP.ROLE: A role.
Parameters:types- The new value fortypes.Returns:thisto mimic the builder pattern.