Class ContextFunctions.User
java.lang.Object
org.apache.drill.exec.expr.fn.impl.ContextFunctions.User
- All Implemented Interfaces:
DrillFunc
,DrillSimpleFunc
- Enclosing class:
- ContextFunctions
Implement "user", "session_user" or "system_user" function. Returns the username of the user connected to Drillbit.
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
User
public User()
-
-
Method Details
-
setup
public void setup()- Specified by:
setup
in interfaceDrillSimpleFunc
-
eval
public void eval()- Specified by:
eval
in interfaceDrillSimpleFunc
-