Package io.openlineage.client.dataset
Class DatasetConfig
- java.lang.Object
-
- io.openlineage.client.dataset.DatasetConfig
-
- All Implemented Interfaces:
MergeConfig<DatasetConfig>
public class DatasetConfig extends java.lang.Object implements MergeConfig<DatasetConfig>
-
-
Constructor Summary
Constructors Constructor Description DatasetConfig()
DatasetConfig(java.util.Map<java.lang.String,DatasetNamespaceResolverConfig> namespaceResolvers)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Map<java.lang.String,DatasetNamespaceResolverConfig>
getNamespaceResolvers()
DatasetConfig
mergeWithNonNull(DatasetConfig other)
Method to create new config class based on current instance and non-null argument value.void
setNamespaceResolvers(java.util.Map<java.lang.String,DatasetNamespaceResolverConfig> namespaceResolvers)
java.lang.String
toString()
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface io.openlineage.client.MergeConfig
mergePropertyWith, mergePropertyWith, mergeWith, mergeWithDefaultValue
-
-
-
-
Constructor Detail
-
DatasetConfig
public DatasetConfig()
-
DatasetConfig
public DatasetConfig(java.util.Map<java.lang.String,DatasetNamespaceResolverConfig> namespaceResolvers)
-
-
Method Detail
-
mergeWithNonNull
public DatasetConfig mergeWithNonNull(DatasetConfig other)
Description copied from interface:MergeConfig
Method to create new config class based on current instance and non-null argument value. In most cases, implementation needs to create a new instance of T, while merging all the properties.- Specified by:
mergeWithNonNull
in interfaceMergeConfig<DatasetConfig>
- Parameters:
other
- overwrite value- Returns:
- merged config entry
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
getNamespaceResolvers
public java.util.Map<java.lang.String,DatasetNamespaceResolverConfig> getNamespaceResolvers()
-
setNamespaceResolvers
public void setNamespaceResolvers(java.util.Map<java.lang.String,DatasetNamespaceResolverConfig> namespaceResolvers)
-
-