public class AzureStorageDruidModule extends Object implements io.druid.initialization.DruidModule
Modifier and Type | Field and Description |
---|---|
static String |
DESCRIPTOR_FILE_NAME |
static String |
INDEX_ZIP_FILE_NAME |
static String |
SCHEME |
static String |
STORAGE_CONNECTION_STRING |
Constructor and Description |
---|
AzureStorageDruidModule() |
Modifier and Type | Method and Description |
---|---|
void |
configure(com.google.inject.Binder binder) |
AzureStorageContainer |
getAzureStorageContainer(com.microsoft.azure.storage.blob.CloudBlobContainer cloudBlobContainer) |
com.microsoft.azure.storage.blob.CloudBlobContainer |
getCloudBlobContainer(AzureAccountConfig config,
com.microsoft.azure.storage.CloudStorageAccount cloudStorageAccount) |
com.microsoft.azure.storage.CloudStorageAccount |
getCloudStorageAccount(AzureAccountConfig config) |
List<? extends com.fasterxml.jackson.databind.Module> |
getJacksonModules() |
public static final String SCHEME
public static final String STORAGE_CONNECTION_STRING
public static final String DESCRIPTOR_FILE_NAME
public static final String INDEX_ZIP_FILE_NAME
public List<? extends com.fasterxml.jackson.databind.Module> getJacksonModules()
getJacksonModules
in interface io.druid.initialization.DruidModule
public void configure(com.google.inject.Binder binder)
configure
in interface com.google.inject.Module
@Provides public com.microsoft.azure.storage.CloudStorageAccount getCloudStorageAccount(AzureAccountConfig config) throws URISyntaxException, InvalidKeyException
@Provides public com.microsoft.azure.storage.blob.CloudBlobContainer getCloudBlobContainer(AzureAccountConfig config, com.microsoft.azure.storage.CloudStorageAccount cloudStorageAccount) throws URISyntaxException, com.microsoft.azure.storage.StorageException
URISyntaxException
com.microsoft.azure.storage.StorageException
@Provides public AzureStorageContainer getAzureStorageContainer(com.microsoft.azure.storage.blob.CloudBlobContainer cloudBlobContainer)
Copyright © 2011–2015. All rights reserved.