Package io.prestosql.spi.security
Class GrantInfo
- java.lang.Object
-
- io.prestosql.spi.security.GrantInfo
-
public class GrantInfo extends Object
-
-
Constructor Summary
Constructors Constructor Description GrantInfo(PrivilegeInfo privilegeInfo, PrestoPrincipal grantee, SchemaTableName schemaTableName, Optional<PrestoPrincipal> grantor, Optional<Boolean> withHierarchy)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
PrestoPrincipal
getGrantee()
Optional<PrestoPrincipal>
getGrantor()
PrivilegeInfo
getPrivilegeInfo()
SchemaTableName
getSchemaTableName()
Optional<Boolean>
getWithHierarchy()
int
hashCode()
-
-
-
Constructor Detail
-
GrantInfo
public GrantInfo(PrivilegeInfo privilegeInfo, PrestoPrincipal grantee, SchemaTableName schemaTableName, Optional<PrestoPrincipal> grantor, Optional<Boolean> withHierarchy)
-
-
Method Detail
-
getPrivilegeInfo
public PrivilegeInfo getPrivilegeInfo()
-
getGrantee
public PrestoPrincipal getGrantee()
-
getSchemaTableName
public SchemaTableName getSchemaTableName()
-
getGrantor
public Optional<PrestoPrincipal> getGrantor()
-
-