public class PermissionHostInfo extends AbstractModel
header, skipSign| Constructor and Description | 
|---|
PermissionHostInfo()  | 
PermissionHostInfo(PermissionHostInfo source)
NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
       and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
CatalogPermission[] | 
getCatalogPermissions()
Get The key is the full name of the catalog, and the value is the permission list of the user on the catalog. 
 | 
DatabasePermissions[] | 
getDatabasePermissions()
Get The key is the database name, and the value is the permission list of the user on the database. 
 | 
String[] | 
getGlobalPermissions()
Get A list of user permissions in the global scope, which can be applied to all databases and tables. 
 | 
TablePermissions[] | 
getTablePermissions()
Get The key is the full name of the table, and the value is the permission list of the user on the table. 
 | 
void | 
setCatalogPermissions(CatalogPermission[] CatalogPermissions)
Set The key is the full name of the catalog, and the value is the permission list of the user on the catalog. 
 | 
void | 
setDatabasePermissions(DatabasePermissions[] DatabasePermissions)
Set The key is the database name, and the value is the permission list of the user on the database. 
 | 
void | 
setGlobalPermissions(String[] GlobalPermissions)
Set A list of user permissions in the global scope, which can be applied to all databases and tables. 
 | 
void | 
setTablePermissions(TablePermissions[] TablePermissions)
Set The key is the full name of the table, and the value is the permission list of the user on the table. 
 | 
void | 
toMap(HashMap<String,String> map,
     String prefix)
Internal implementation, normal users should not use it. 
 | 
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, isStream, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonStringpublic PermissionHostInfo()
public PermissionHostInfo(PermissionHostInfo source)
public String[] getGlobalPermissions()
public void setGlobalPermissions(String[] GlobalPermissions)
GlobalPermissions - A list of user permissions in the global scope, which can be applied to all databases and tables.
Note: This field may return null, indicating that no valid values can be obtained.public DatabasePermissions[] getDatabasePermissions()
public void setDatabasePermissions(DatabasePermissions[] DatabasePermissions)
DatabasePermissions - The key is the database name, and the value is the permission list of the user on the database.
Note: This field may return null, indicating that no valid values can be obtained.public TablePermissions[] getTablePermissions()
public void setTablePermissions(TablePermissions[] TablePermissions)
TablePermissions - The key is the full name of the table, and the value is the permission list of the user on the table.
Note: This field may return null, indicating that no valid values can be obtained.public CatalogPermission[] getCatalogPermissions()
public void setCatalogPermissions(CatalogPermission[] CatalogPermissions)
CatalogPermissions - The key is the full name of the catalog, and the value is the permission list of the user on the catalog.
Note: This field may return null, indicating that no valid values can be obtained.Copyright © 2025. All rights reserved.