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