Class QueryServer.PhoenixDoAsCallback
java.lang.Object
org.apache.phoenix.queryserver.server.QueryServer.PhoenixDoAsCallback
- All Implemented Interfaces:
org.apache.calcite.avatica.server.DoAsRemoteUserCallback
- Enclosing class:
- QueryServer
public static class QueryServer.PhoenixDoAsCallback
extends Object
implements org.apache.calcite.avatica.server.DoAsRemoteUserCallback
Callback to run the Avatica server action as the remote (proxy) user instead of the server.
-
Constructor Summary
ConstructorsConstructorDescriptionPhoenixDoAsCallback(org.apache.hadoop.security.UserGroupInformation serverUgi, org.apache.hadoop.conf.Configuration conf) -
Method Summary
Modifier and TypeMethodDescription<T> TdoAsRemoteUser(String remoteUserName, String remoteAddress, Callable<T> action)
-
Constructor Details
-
PhoenixDoAsCallback
public PhoenixDoAsCallback(org.apache.hadoop.security.UserGroupInformation serverUgi, org.apache.hadoop.conf.Configuration conf)
-
-
Method Details