Uses of Enum Class
io.trino.hive.thrift.metastore.PrincipalType
-
Uses of PrincipalType in io.trino.hive.thrift.metastore
Methods in io.trino.hive.thrift.metastore that return PrincipalTypeModifier and TypeMethodDescriptionstatic PrincipalTypePrincipalType.findByValue(int value) Find a the enum type by its integer value, as defined in the Thrift IDL.RolePrincipalGrant.getGrantorPrincipalType()GrantRevokeRoleRequest.getGrantorType()PrivilegeGrantInfo.getGrantorType()ThriftHiveMetastore.grant_role_args.getGrantorType()Database.getOwnerType()Function.getOwnerType()Table.getOwnerType()GetRoleGrantsForPrincipalRequest.getPrincipalType()GrantRevokeRoleRequest.getPrincipalType()HiveObjectPrivilege.getPrincipalType()RolePrincipalGrant.getPrincipalType()ThriftHiveMetastore.grant_role_args.getPrincipalType()ThriftHiveMetastore.list_privileges_args.getPrincipalType()ThriftHiveMetastore.list_roles_args.getPrincipalType()ThriftHiveMetastore.revoke_role_args.getPrincipalType()static PrincipalTypeReturns the enum constant of this class with the specified name.static PrincipalType[]PrincipalType.values()Returns an array containing the constants of this enum class, in the order they are declared.Methods in io.trino.hive.thrift.metastore with parameters of type PrincipalTypeModifier and TypeMethodDescriptionvoidThriftHiveMetastore.AsyncClient.grantRole(String role_name, String principal_name, PrincipalType principal_type, String grantor, PrincipalType grantorType, boolean grant_option, org.apache.thrift.async.AsyncMethodCallback<Boolean> resultHandler) voidThriftHiveMetastore.AsyncIface.grantRole(String role_name, String principal_name, PrincipalType principal_type, String grantor, PrincipalType grantorType, boolean grant_option, org.apache.thrift.async.AsyncMethodCallback<Boolean> resultHandler) booleanThriftHiveMetastore.Client.grantRole(String role_name, String principal_name, PrincipalType principal_type, String grantor, PrincipalType grantorType, boolean grant_option) booleanThriftHiveMetastore.Iface.grantRole(String role_name, String principal_name, PrincipalType principal_type, String grantor, PrincipalType grantorType, boolean grant_option) voidThriftHiveMetastore.AsyncClient.listPrivileges(String principal_name, PrincipalType principal_type, HiveObjectRef hiveObject, org.apache.thrift.async.AsyncMethodCallback<List<HiveObjectPrivilege>> resultHandler) voidThriftHiveMetastore.AsyncIface.listPrivileges(String principal_name, PrincipalType principal_type, HiveObjectRef hiveObject, org.apache.thrift.async.AsyncMethodCallback<List<HiveObjectPrivilege>> resultHandler) ThriftHiveMetastore.Client.listPrivileges(String principal_name, PrincipalType principal_type, HiveObjectRef hiveObject) ThriftHiveMetastore.Iface.listPrivileges(String principal_name, PrincipalType principal_type, HiveObjectRef hiveObject) voidThriftHiveMetastore.AsyncClient.listRoles(String principal_name, PrincipalType principal_type, org.apache.thrift.async.AsyncMethodCallback<List<Role>> resultHandler) voidThriftHiveMetastore.AsyncIface.listRoles(String principal_name, PrincipalType principal_type, org.apache.thrift.async.AsyncMethodCallback<List<Role>> resultHandler) ThriftHiveMetastore.Client.listRoles(String principal_name, PrincipalType principal_type) ThriftHiveMetastore.Iface.listRoles(String principal_name, PrincipalType principal_type) voidThriftHiveMetastore.AsyncClient.revokeRole(String role_name, String principal_name, PrincipalType principal_type, org.apache.thrift.async.AsyncMethodCallback<Boolean> resultHandler) voidThriftHiveMetastore.AsyncIface.revokeRole(String role_name, String principal_name, PrincipalType principal_type, org.apache.thrift.async.AsyncMethodCallback<Boolean> resultHandler) booleanThriftHiveMetastore.Client.revokeRole(String role_name, String principal_name, PrincipalType principal_type) booleanThriftHiveMetastore.Iface.revokeRole(String role_name, String principal_name, PrincipalType principal_type) voidThriftHiveMetastore.Client.sendGrantRole(String role_name, String principal_name, PrincipalType principal_type, String grantor, PrincipalType grantorType, boolean grant_option) voidThriftHiveMetastore.Client.sendListPrivileges(String principal_name, PrincipalType principal_type, HiveObjectRef hiveObject) voidThriftHiveMetastore.Client.sendListRoles(String principal_name, PrincipalType principal_type) voidThriftHiveMetastore.Client.sendRevokeRole(String role_name, String principal_name, PrincipalType principal_type) RolePrincipalGrant.setGrantorPrincipalType(PrincipalType grantorPrincipalType) GrantRevokeRoleRequest.setGrantorType(PrincipalType grantorType) PrivilegeGrantInfo.setGrantorType(PrincipalType grantorType) ThriftHiveMetastore.grant_role_args.setGrantorType(PrincipalType grantorType) Database.setOwnerType(PrincipalType ownerType) Function.setOwnerType(PrincipalType ownerType) Table.setOwnerType(PrincipalType ownerType) GetRoleGrantsForPrincipalRequest.setPrincipalType(PrincipalType principal_type) GrantRevokeRoleRequest.setPrincipalType(PrincipalType principalType) HiveObjectPrivilege.setPrincipalType(PrincipalType principalType) RolePrincipalGrant.setPrincipalType(PrincipalType principalType) ThriftHiveMetastore.grant_role_args.setPrincipalType(PrincipalType principal_type) ThriftHiveMetastore.list_privileges_args.setPrincipalType(PrincipalType principal_type) ThriftHiveMetastore.list_roles_args.setPrincipalType(PrincipalType principal_type) ThriftHiveMetastore.revoke_role_args.setPrincipalType(PrincipalType principal_type) Constructors in io.trino.hive.thrift.metastore with parameters of type PrincipalTypeModifierConstructorDescriptionFunction(String functionName, String dbName, String className, String ownerName, PrincipalType ownerType, int createTime, FunctionType functionType, List<ResourceUri> resourceUris) GetRoleGrantsForPrincipalRequest(String principal_name, PrincipalType principal_type) grant_role_args(String role_name, String principal_name, PrincipalType principal_type, String grantor, PrincipalType grantorType, boolean grant_option) grant_role_call(String role_name, String principal_name, PrincipalType principal_type, String grantor, PrincipalType grantorType, boolean grant_option, org.apache.thrift.async.AsyncMethodCallback<Boolean> resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) GrantRevokeRoleRequest(GrantRevokeType requestType, String roleName, String principalName, PrincipalType principalType) HiveObjectPrivilege(HiveObjectRef hiveObject, String principalName, PrincipalType principalType, PrivilegeGrantInfo grantInfo, String authorizer) list_privileges_args(String principal_name, PrincipalType principal_type, HiveObjectRef hiveObject) list_privileges_call(String principal_name, PrincipalType principal_type, HiveObjectRef hiveObject, org.apache.thrift.async.AsyncMethodCallback<List<HiveObjectPrivilege>> resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) list_roles_args(String principal_name, PrincipalType principal_type) list_roles_call(String principal_name, PrincipalType principal_type, org.apache.thrift.async.AsyncMethodCallback<List<Role>> resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) PrivilegeGrantInfo(String privilege, int createTime, String grantor, PrincipalType grantorType, boolean grantOption) revoke_role_args(String role_name, String principal_name, PrincipalType principal_type) revoke_role_call(String role_name, String principal_name, PrincipalType principal_type, org.apache.thrift.async.AsyncMethodCallback<Boolean> resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) RolePrincipalGrant(String roleName, String principalName, PrincipalType principalType, boolean grantOption, int grantTime, String grantorName, PrincipalType grantorPrincipalType)