Class AzureInputSource
- java.lang.Object
-
- org.apache.druid.data.input.AbstractInputSource
-
- org.apache.druid.data.input.impl.CloudObjectInputSource
-
- org.apache.druid.data.input.azure.AzureInputSource
-
- All Implemented Interfaces:
org.apache.druid.data.input.impl.SplittableInputSource<List<org.apache.druid.data.input.impl.CloudObjectLocation>>
,org.apache.druid.data.input.InputSource
public class AzureInputSource extends org.apache.druid.data.input.impl.CloudObjectInputSource
Abstracts the Azure storage system where input data is stored. Allows users to retrieve entities in the storage system that match either a particular uri, prefix, or object.
-
-
Constructor Summary
Constructors Constructor Description AzureInputSource(AzureStorage storage, AzureEntityFactory entityFactory, AzureCloudBlobIterableFactory azureCloudBlobIterableFactory, AzureInputDataConfig inputDataConfig, List<URI> uris, List<URI> prefixes, List<org.apache.druid.data.input.impl.CloudObjectLocation> objects, String objectGlob)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected AzureEntity
createEntity(org.apache.druid.data.input.impl.CloudObjectLocation location)
boolean
equals(Object o)
protected org.apache.druid.data.input.impl.CloudObjectSplitWidget
getSplitWidget()
Set<String>
getTypes()
int
hashCode()
String
toString()
org.apache.druid.data.input.impl.SplittableInputSource<List<org.apache.druid.data.input.impl.CloudObjectLocation>>
withSplit(org.apache.druid.data.input.InputSplit<List<org.apache.druid.data.input.impl.CloudObjectLocation>> split)
-
Methods inherited from class org.apache.druid.data.input.impl.CloudObjectInputSource
createSplits, estimateNumSplits, formattableReader, getObjectGlob, getObjects, getPrefixes, getUris, needsFormat
-
Methods inherited from class org.apache.druid.data.input.AbstractInputSource
fixedFormatReader, reader
-
-
-
-
Field Detail
-
SCHEME
public static final String SCHEME
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
AzureInputSource
public AzureInputSource(AzureStorage storage, AzureEntityFactory entityFactory, AzureCloudBlobIterableFactory azureCloudBlobIterableFactory, AzureInputDataConfig inputDataConfig, @Nullable List<URI> uris, @Nullable List<URI> prefixes, @Nullable List<org.apache.druid.data.input.impl.CloudObjectLocation> objects, @Nullable String objectGlob)
-
-
Method Detail
-
withSplit
public org.apache.druid.data.input.impl.SplittableInputSource<List<org.apache.druid.data.input.impl.CloudObjectLocation>> withSplit(org.apache.druid.data.input.InputSplit<List<org.apache.druid.data.input.impl.CloudObjectLocation>> split)
-
createEntity
protected AzureEntity createEntity(org.apache.druid.data.input.impl.CloudObjectLocation location)
- Specified by:
createEntity
in classorg.apache.druid.data.input.impl.CloudObjectInputSource
-
getSplitWidget
protected org.apache.druid.data.input.impl.CloudObjectSplitWidget getSplitWidget()
- Specified by:
getSplitWidget
in classorg.apache.druid.data.input.impl.CloudObjectInputSource
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classorg.apache.druid.data.input.impl.CloudObjectInputSource
-
equals
public boolean equals(Object o)
- Overrides:
equals
in classorg.apache.druid.data.input.impl.CloudObjectInputSource
-
-