Class DatasetNamespaceCombinedResolver
java.lang.Object
io.openlineage.client.dataset.namespace.resolver.DatasetNamespaceCombinedResolver
Utility class to resolve hosts based on the dataset host resolver configured. Methods of the
class should return original host address in case of no dataset host resolver defined
-
Constructor Summary
ConstructorDescription -
Method Summary
Modifier and TypeMethodDescriptionresolve
(DatasetIdentifier identifier) Resolves namespace by dataset host resolvers defined in dataset config.resolveHost
(URI namespace) Resolves namespace uri by dataset host resolvers defined in dataset config.
-
Constructor Details
-
DatasetNamespaceCombinedResolver
-
DatasetNamespaceCombinedResolver
-
-
Method Details
-
resolve
Resolves namespace by dataset host resolvers defined in dataset config. Whole namespace string is passed to dataset namespace resolvers.- Parameters:
namespace
- namespace that may contain host address to be resolved- Returns:
- resolved host address or the original one
-
resolve
-
resolveHost
Resolves namespace uri by dataset host resolvers defined in dataset config. Only host of the URI is passed to dataset namespace resolvers configured.- Parameters:
namespace
- host address to be resolved- Returns:
- resolved host address or the original one
-