Package io.deephaven.iceberg.internal
Class DataInstructionsProviderLoader
java.lang.Object
io.deephaven.iceberg.internal.DataInstructionsProviderLoader
A service loader class for loading
DataInstructionsProviderPlugin
implementations at runtime which provide
DataInstructionsProviderLoader
implementations for different URI schemes.-
Method Summary
Modifier and TypeMethodDescriptionCreate aDataInstructionsProviderLoader
instance for the given property collection with a static list ofDataInstructionsProviderPlugin
provided viaServiceLoader.load(Class)
.Create a new data instructions object compatible with reading from and writing to the given URI scheme.
-
Method Details
-
create
Create aDataInstructionsProviderLoader
instance for the given property collection with a static list ofDataInstructionsProviderPlugin
provided viaServiceLoader.load(Class)
.- Parameters:
properties
- The property collection.- Returns:
- A
DataInstructionsProviderLoader
instance.
-
load
Create a new data instructions object compatible with reading from and writing to the given URI scheme. For example, for an "S3" URI scheme will create anS3Instructions
object which can read files from S3.- Parameters:
uriScheme
- The URI scheme- Returns:
- A data instructions object for the given URI scheme or null if one cannot be found
-