public class Privilege extends Object
Modifier and Type | Field and Description |
---|---|
static Privilege |
ALL |
static Privilege |
ALTER_DATA |
static Privilege |
ALTER_METADATA |
static Privilege |
CREATE |
static Privilege |
DELETE |
static Privilege |
DROP |
static Privilege |
INSERT |
static Privilege |
LOCK |
static Privilege |
SELECT |
static Privilege |
SHOW_DATABASE |
Constructor and Description |
---|
Privilege() |
Privilege(PrivilegeType priv) |
Modifier and Type | Method and Description |
---|---|
PrivilegeType |
getPriv() |
List<String> |
getScopeList() |
void |
setPriv(PrivilegeType priv) |
boolean |
supportColumnLevel() |
boolean |
supportDBLevel() |
boolean |
supportTableLevel() |
String |
toString() |
public static Privilege ALL
public static Privilege ALTER_METADATA
public static Privilege ALTER_DATA
public static Privilege CREATE
public static Privilege DROP
public static Privilege LOCK
public static Privilege SELECT
public static Privilege INSERT
public static Privilege DELETE
public static Privilege SHOW_DATABASE
public Privilege(PrivilegeType priv)
public Privilege()
public PrivilegeType getPriv()
public void setPriv(PrivilegeType priv)
public boolean supportColumnLevel()
public boolean supportDBLevel()
public boolean supportTableLevel()
Copyright © 2022 The Apache Software Foundation. All rights reserved.