public class CreatePrivilegedUserProcedure extends PrivilegeProcedureBase
PrivilegeType.ADMIN privilege can perform this operation. Usage:
CALL sys.create_privileged_user('username', 'password')
| Modifier and Type | Field and Description |
|---|---|
static String |
IDENTIFIER |
catalog| Constructor and Description |
|---|
CreatePrivilegedUserProcedure() |
| Modifier and Type | Method and Description |
|---|---|
String[] |
call(org.apache.flink.table.procedure.ProcedureContext procedureContext,
String name,
String password) |
String |
identifier()
Returns a unique identifier among same factory interfaces.
|
getPrivilegedCatalogexecute, execute, execute, notnull, nullable, optionalConfigMap, table, withCatalogpublic static final String IDENTIFIER
public String[] call(org.apache.flink.table.procedure.ProcedureContext procedureContext, String name, String password)
public String identifier()
FactoryFor consistency, an identifier should be declared as one lower case word (e.g. kafka). If multiple factories exist for different versions, a version should be appended
using "-" (e.g. elasticsearch-7).
Copyright © 2023–2024 The Apache Software Foundation. All rights reserved.