grantPermissionTable
public GrantPermissionTableResponse grantPermissionTable(GrantPermissionTableRequest request) throws GPUdbException [DEPRECATED—please usegrantPermissioninstead] Grants a table-level permission to a user or role.Parameters:request-Requestobject containing the parameters for the operation.Returns:Responseobject containing the results of the operation.Throws:GPUdbException- if an error occurs during the operation.grantPermissionTable
public GrantPermissionTableResponse grantPermissionTable(String name, String permission, String tableName, String filterExpression, Map<String, String> options) throws GPUdbException [DEPRECATED—please usegrantPermissioninstead] Grants a table-level permission to a user or role.Parameters:name- Name of the user or role to which the permission will be granted. Must be an existing user or role.permission- Permission to grant to the user or role. Supported values:TABLE_ADMIN: Full read/write and administrative access to the table.TABLE_INSERT: Insert access to the table.TABLE_UPDATE: Update access to the table.TABLE_DELETE: Delete access to the table.TABLE_READ: Read access to the table.
tableName- Name of the table to which the permission grants access, in [schema_name.]table_name format, using standard name resolution rules. Must be an existing table, view, or schema. If a schema, the permission also applies to tables and views in the schema.filterExpression- Optional filter expression to apply to this grant. Only rows that match the filter will be affected. The default value is ”.options- Optional parameters.COLUMNS: Apply security to these columns, comma-separated. The default value is ”.
Map.Returns:Responseobject containing the results of the operation.Throws:GPUdbException- if an error occurs during the operation.