Package com.adaptris.interlok.azure
Class DataLakeConnection
- java.lang.Object
-
- com.adaptris.core.AdaptrisConnectionImp
-
- com.adaptris.interlok.azure.AzureConnection<com.azure.storage.file.datalake.DataLakeServiceClient>
-
- com.adaptris.interlok.azure.DataLakeConnection
-
- All Implemented Interfaces:
AdaptrisComponent,AdaptrisConnection,ComponentLifecycle,ComponentLifecycleExtension,StateManagedComponent
@ComponentProfile(summary="Connect to an Azure tenant and access the Data Lake", tag="connections,azure,data lake,data,lake") public class DataLakeConnection extends AzureConnection<com.azure.storage.file.datalake.DataLakeServiceClient>
-
-
Field Summary
-
Fields inherited from class com.adaptris.interlok.azure.AzureConnection
applicationId, clientSecret, tenantId
-
Fields inherited from class com.adaptris.core.AdaptrisConnectionImp
log
-
-
Constructor Summary
Constructors Constructor Description DataLakeConnection()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetAccount()The Azure account to use to access the Data Lake.com.azure.storage.file.datalake.DataLakeServiceClientgetClientConnection()protected voidinitConnection()Initialise the underlying connection.voidsetAccount(java.lang.String account)The Azure account to use to access the Data Lake.protected voidstartConnection()Start the underlying connection.-
Methods inherited from class com.adaptris.interlok.azure.AzureConnection
clientSecret, closeConnection, getApplicationId, getClientSecret, getTenantId, prepareConnection, setApplicationId, setClientSecret, setTenantId, stopConnection, tenant
-
Methods inherited from class com.adaptris.core.AdaptrisConnectionImp
addExceptionListener, addMessageConsumer, addMessageProducer, changeState, cloneForTesting, close, connectionErrorHandler, getConnectionErrorHandler, getUniqueId, getWorkersFirstOnShutdown, init, prepare, requestClose, requestInit, requestStart, requestStop, retrieveComponentState, retrieveConnection, retrieveExceptionListeners, retrieveMessageConsumers, retrieveMessageProducers, setConnectionErrorHandler, setUniqueId, setWorkersFirstOnShutdown, start, stop, workersFirstOnShutdown
-
-
-
-
Method Detail
-
initConnection
protected void initConnection() throws CoreExceptionInitialise the underlying connection.- Specified by:
initConnectionin classAdaptrisConnectionImp- Throws:
CoreException- wrapping any exception.
-
startConnection
protected void startConnection()
Start the underlying connection.- Specified by:
startConnectionin classAdaptrisConnectionImp- Throws:
CoreException- wrapping any exception.
-
getClientConnection
public com.azure.storage.file.datalake.DataLakeServiceClient getClientConnection()
- Specified by:
getClientConnectionin classAzureConnection<com.azure.storage.file.datalake.DataLakeServiceClient>
-
getAccount
public java.lang.String getAccount()
The Azure account to use to access the Data Lake.
-
setAccount
public void setAccount(java.lang.String account)
The Azure account to use to access the Data Lake.
-
-