Package org.apache.druid.storage.azure
Class AzureDataSegmentKiller
- java.lang.Object
-
- org.apache.druid.storage.azure.AzureDataSegmentKiller
-
- All Implemented Interfaces:
org.apache.druid.segment.loading.DataSegmentKiller
public class AzureDataSegmentKiller extends Object implements org.apache.druid.segment.loading.DataSegmentKiller
Used for removing segment files stored in Azure based deep storage
-
-
Constructor Summary
Constructors Constructor Description AzureDataSegmentKiller(AzureDataSegmentConfig segmentConfig, AzureInputDataConfig inputDataConfig, AzureAccountConfig accountConfig, AzureStorage azureStorage, AzureCloudBlobIterableFactory azureCloudBlobIterableFactory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidkill(org.apache.druid.timeline.DataSegment segment)voidkillAll()
-
-
-
Constructor Detail
-
AzureDataSegmentKiller
@Inject public AzureDataSegmentKiller(AzureDataSegmentConfig segmentConfig, AzureInputDataConfig inputDataConfig, AzureAccountConfig accountConfig, AzureStorage azureStorage, AzureCloudBlobIterableFactory azureCloudBlobIterableFactory)
-
-
Method Detail
-
kill
public void kill(org.apache.druid.timeline.DataSegment segment) throws org.apache.druid.segment.loading.SegmentLoadingException- Specified by:
killin interfaceorg.apache.druid.segment.loading.DataSegmentKiller- Throws:
org.apache.druid.segment.loading.SegmentLoadingException
-
killAll
public void killAll() throws IOException- Specified by:
killAllin interfaceorg.apache.druid.segment.loading.DataSegmentKiller- Throws:
IOException
-
-