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, tenantIdFields inherited from class com.adaptris.core.AdaptrisConnectionImp
log -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionThe Azure account to use to access the Data Lake.com.azure.storage.file.datalake.DataLakeServiceClientprotected voidInitialise the underlying connection.voidsetAccount(String account) The Azure account to use to access the Data Lake.protected voidStart the underlying connection.Methods inherited from class com.adaptris.interlok.azure.AzureConnection
clientSecret, closeConnection, getApplicationId, getClientSecret, getTenantId, prepareConnection, setApplicationId, setClientSecret, setTenantId, stopConnectionMethods 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
-
Constructor Details
-
DataLakeConnection
public DataLakeConnection()
-
-
Method Details
-
initConnection
Initialise 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
The Azure account to use to access the Data Lake. -
setAccount
The Azure account to use to access the Data Lake.
-