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.Constructor Summary
ConstructorsConstructorDescriptionConstructs a ShowSecurityResponse object with default parameters.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
getClassSchema
public static org.apache.avro.Schema getClassSchema()This method supports the Avro framework and is not intended to be called directly by the user.Returns:The schema for the class.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.setResourceGroups
Map of user name to resource group name.Parameters:resourceGroups- The new value forresourceGroups.Returns:thisto mimic the builder pattern.setInfo
Additional information.Parameters:info- The new value forinfo.Returns:thisto mimic the builder pattern.getSchema
public org.apache.avro.Schema getSchema()This method supports the Avro framework and is not intended to be called directly by the user.Specified by:getSchemain interfaceorg.apache.avro.generic.GenericContainerReturns:The schema object describing this class.get
This method supports the Avro framework and is not intended to be called directly by the user.Specified by:getin interfaceorg.apache.avro.generic.IndexedRecordParameters:index- the position of the field to getReturns:value of the field with the given index.Throws:put
This method supports the Avro framework and is not intended to be called directly by the user.Specified by:putin interfaceorg.apache.avro.generic.IndexedRecordParameters:index- the position of the field to setvalue- the value to setThrows: