1 #ifndef ZSERIO_I_VALIDATION_OBSERVER_H_INC
2 #define ZSERIO_I_VALIDATION_OBSERVER_H_INC
42 virtual bool beginTable(std::string_view tableName,
size_t numberOfRows) = 0;
52 virtual bool endTable(std::string_view tableName,
size_t numberOfValidatedRows) = 0;
111 virtual bool reportError(std::string_view tableName, std::string_view fieldName,
virtual bool reportError(std::string_view tableName, std::string_view fieldName, Span< const std::string_view > primaryKeyValues, ErrorType errorType, std::string_view message)=0
virtual void beginDatabase(size_t numberOfTables)=0
virtual bool beginTable(std::string_view tableName, size_t numberOfRows)=0
virtual ~IValidationObserver()=default
virtual bool endTable(std::string_view tableName, size_t numberOfValidatedRows)=0
@ INVALID_COLUMN_CONSTRAINT
virtual void endDatabase(size_t numberOfValidatedTables)=0