15 package com.cloudera.impala.authorization;
17 import java.util.List;
19 import org.apache.sentry.core.model.db.DBModelAuthorizable;
21 import com.google.common.base.Preconditions;
22 import com.google.common.base.Strings;
23 import com.google.common.collect.Lists;
32 private final org.apache.sentry.core.model.db.Server
server_;
35 Preconditions.checkState(!Strings.isNullOrEmpty(serverName));
36 server_ =
new org.apache.sentry.core.model.db.Server(serverName);
41 return Lists.newArrayList((DBModelAuthorizable)
server_);
45 public String
getName() {
return server_.getName(); }
final org.apache.sentry.core.model.db.Server server_
List< DBModelAuthorizable > getHiveAuthorizeableHierarchy()
AuthorizeableServer(String serverName)