Class PatternNamespaceResolverConfig
- java.lang.Object
-
- io.openlineage.client.dataset.namespace.resolver.PatternNamespaceResolverConfig
-
- All Implemented Interfaces:
DatasetNamespaceResolverConfig
,MergeConfig<PatternNamespaceResolverConfig>
public class PatternNamespaceResolverConfig extends java.lang.Object implements DatasetNamespaceResolverConfig, MergeConfig<PatternNamespaceResolverConfig>
-
-
Constructor Summary
Constructors Constructor Description PatternNamespaceResolverConfig()
PatternNamespaceResolverConfig(@NonNull java.lang.String regex, java.lang.String schema)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected boolean
canEqual(java.lang.Object other)
boolean
equals(java.lang.Object o)
@NonNull java.lang.String
getRegex()
java.lang.String
getSchema()
int
hashCode()
PatternNamespaceResolverConfig
mergeWithNonNull(PatternNamespaceResolverConfig t)
Method to create new config class based on current instance and non-null argument value.void
setRegex(@NonNull java.lang.String regex)
void
setSchema(java.lang.String schema)
java.lang.String
toString()
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface io.openlineage.client.MergeConfig
mergePropertyWith, mergePropertyWith, mergeWith, mergeWithDefaultValue
-
-
-
-
Method Detail
-
mergeWithNonNull
public PatternNamespaceResolverConfig mergeWithNonNull(PatternNamespaceResolverConfig t)
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<PatternNamespaceResolverConfig>
- Parameters:
t
- overwrite value- Returns:
- merged config entry
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
canEqual
protected boolean canEqual(java.lang.Object other)
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
getRegex
@NonNull public @NonNull java.lang.String getRegex()
-
setRegex
public void setRegex(@NonNull @NonNull java.lang.String regex)
-
getSchema
public java.lang.String getSchema()
-
setSchema
public void setSchema(java.lang.String schema)
-
-