validate Database
Validate the database manually.
User can either automatically validate the database or manually validate it.
Automatically: Specify the
databaseValidationModeas DatabaseValidationMode.ERROR or DatabaseValidationMode.WARNING when building theKSqlClientobject, so there is NO need to call this functionManually: Specify the
databaseValidationModeas DatabaseValidationMode.NONE and call this method after obtaining theKSqlClientobject
Note: If there are any database validation errors, the relevant exceptions will be returned as the result of this method instead of being thrown directly.
Return
The validation error or null