Package org.apache.druid.storage.local
Class LocalFileStorageConnectorProvider
java.lang.Object
org.apache.druid.storage.local.LocalFileStorageConnectorProvider
- All Implemented Interfaces:
StorageConnectorProvider
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateStorageConnector(File defaultTempDir) Returns the storage connector.booleaninthashCode()
-
Field Details
-
TYPE_NAME
- See Also:
-
-
Constructor Details
-
LocalFileStorageConnectorProvider
-
-
Method Details
-
createStorageConnector
Description copied from interface:StorageConnectorProviderReturns the storage connector. Takes a parameter defaultTempDir to be possibly used as the temporary directory, if the storage connector requires one. This StorageConnectorProvider is not guaranteed to use this value, even if the StorageConnectorProvider requires one, as it gives priority to a value of defaultTempDir configured as a runtime configuration.
This value needs to be passed instead of injected by Jackson as the default temporary directory is dependent on the task id, and such dynamic task specific bindings is not possible on indexers.- Specified by:
createStorageConnectorin interfaceStorageConnectorProvider
-
equals
-
hashCode
public int hashCode()
-