class OptionValidator extends AnyRef
Validator for delta source and sink connector configuration options.
Setting of an option is allowed for known option names. For invalid options, the validation
throws DeltaOptionValidationException. Known option names are passed via constructor
parameter validOptions.
This is an internal class meant for connector implementations only.
Usage example (for sink):
OptionValidator validator = new OptionValidator(sinkConfig, validSinkOptions);
validator.option("mergeSchema", true);
// For any option set on the sink, pass it to validator. If it's successful, sinkConfig
// will be updated with the corresponding option.
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- OptionValidator
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
- new OptionValidator(tablePath: Path, config: DeltaConnectorConfiguration, validOptions: Map[String, DeltaConfigOption[_]])
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
def
option(optionName: String, optionValue: Long): Unit
Sets a configuration option.
-
def
option(optionName: String, optionValue: Int): Unit
Sets a configuration option.
-
def
option(optionName: String, optionValue: Boolean): Unit
Sets a configuration option.
-
def
option(optionName: String, optionValue: String): Unit
Sets a configuration option.
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
def
validateOptionName[TYPE](optionName: String): DeltaConfigOption[TYPE]
- Attributes
- protected[options]
- Annotations
- @SuppressWarnings()
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()