public class SharedDrillSession
extends java.lang.Object
implements java.lang.AutoCloseable
| Constructor and Description |
|---|
SharedDrillSession(OjaiConnection ojaiConnection,
java.lang.String clusterName) |
| Modifier and Type | Method and Description |
|---|---|
void |
addRef()
Add a reference to this shared session.
|
void |
close() |
java.lang.String |
getClusterName() |
org.apache.drill.exec.rpc.user.clusterclient.DrillSession |
getSession()
Get the shared Drill session.
|
public SharedDrillSession(OjaiConnection ojaiConnection, java.lang.String clusterName)
public void addRef()
public org.apache.drill.exec.rpc.user.clusterclient.DrillSession getSession()
public void close()
close in interface java.lang.AutoCloseablepublic java.lang.String getClusterName()