15 package com.cloudera.impala.analysis;
19 import com.cloudera.impala.thrift.TCreateDropRoleParams;
20 import com.google.common.base.Preconditions;
33 Preconditions.checkNotNull(roleName);
44 TCreateDropRoleParams params =
new TCreateDropRoleParams();
52 super.analyze(analyzer);
53 Role existingRole = analyzer.getCatalog().getAuthPolicy().getRole(
roleName_);
TCreateDropRoleParams toThrift()
final boolean isDropRole_
CreateDropRoleStmt(String roleName, boolean isDropRole)
void analyze(Analyzer analyzer)