public class PrivilegeGrantInfoBuilder extends Object
PrivilegeGrantInfo. The privilege is required. If not provided the grantor
is
assumed to be the current user. This is really intended for use by the
HiveObjectPrivilegeBuilder.| Constructor and Description |
|---|
PrivilegeGrantInfoBuilder() |
| Modifier and Type | Method and Description |
|---|---|
PrivilegeGrantInfo |
build() |
PrivilegeGrantInfoBuilder |
setCreateTime(int createTime) |
PrivilegeGrantInfoBuilder |
setGrantOption(boolean grantOption) |
PrivilegeGrantInfoBuilder |
setGrantor(String grantor) |
PrivilegeGrantInfoBuilder |
setGrantorType(PrincipalType grantorType) |
PrivilegeGrantInfoBuilder |
setPrivilege(String privilege) |
public PrivilegeGrantInfoBuilder setPrivilege(String privilege)
public PrivilegeGrantInfoBuilder setGrantor(String grantor)
public PrivilegeGrantInfoBuilder setCreateTime(int createTime)
public PrivilegeGrantInfoBuilder setGrantorType(PrincipalType grantorType)
public PrivilegeGrantInfoBuilder setGrantOption(boolean grantOption)
public PrivilegeGrantInfo build() throws MetaException
MetaExceptionCopyright © 2024 The Apache Software Foundation. All rights reserved.