Class AccumuloConnectionImpl
- java.lang.Object
-
- org.teiid.resource.adapter.accumulo.AccumuloConnectionImpl
-
- All Implemented Interfaces:
javax.resource.cci.Connection
,Connection
,ResourceConnection
,AccumuloConnection
public class AccumuloConnectionImpl extends Object implements AccumuloConnection, ResourceConnection
-
-
Constructor Summary
Constructors Constructor Description AccumuloConnectionImpl(AccumuloManagedConnectionFactory mcf)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
org.apache.accumulo.core.security.Authorizations
getAuthorizations()
org.apache.accumulo.core.client.Connector
getInstance()
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.teiid.resource.spi.ResourceConnection
cleanUp, createInteraction, getLocalTransaction, getMetaData, getResultSetInfo, getXAResource, isAlive
-
-
-
-
Constructor Detail
-
AccumuloConnectionImpl
public AccumuloConnectionImpl(AccumuloManagedConnectionFactory mcf) throws javax.resource.ResourceException
- Throws:
javax.resource.ResourceException
-
-
Method Detail
-
getInstance
public org.apache.accumulo.core.client.Connector getInstance()
- Specified by:
getInstance
in interfaceAccumuloConnection
-
close
public void close() throws javax.resource.ResourceException
- Specified by:
close
in interfacejavax.resource.cci.Connection
- Specified by:
close
in interfaceConnection
- Throws:
javax.resource.ResourceException
-
getAuthorizations
public org.apache.accumulo.core.security.Authorizations getAuthorizations()
- Specified by:
getAuthorizations
in interfaceAccumuloConnection
-
-