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 aDataInstructionsProviderLoaderinstance for the given property collection with a static list ofDataInstructionsProviderPluginprovided viaServiceLoader.load(Class).@Nullable ObjectCreate a new data instructions object compatible with reading from and writing to the given URI scheme.
-
Method Details
-
create
Create aDataInstructionsProviderLoaderinstance for the given property collection with a static list ofDataInstructionsProviderPluginprovided viaServiceLoader.load(Class).- Parameters:
properties- The property collection.- Returns:
- A
DataInstructionsProviderLoaderinstance.
-
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 anS3Instructionsobject 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
-