Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CombinedReporter ¶
type CombinedReporter struct {
Reporters []Reporter
}
func (CombinedReporter) Close ¶
func (c CombinedReporter) Close()
func (CombinedReporter) Report ¶
func (c CombinedReporter) Report(obj ReportableObject)
type ExtraneousRow ¶
type FixReporter ¶
func (FixReporter) Close ¶
func (l FixReporter) Close()
func (FixReporter) Report ¶
func (l FixReporter) Report(obj ReportableObject)
type LogReporter ¶
LogReporter reports to `zerolog`.
func (LogReporter) Close ¶
func (l LogReporter) Close()
func (LogReporter) Report ¶
func (l LogReporter) Report(obj ReportableObject)
type MismatchingColumn ¶ added in v0.1.1
type MismatchingRow ¶
type MismatchingTableDefinition ¶
MismatchingTableDefinition represents a missing table definition.
type MissingRow ¶
type ReportableObject ¶
type ReportableObject interface{}
type Reporter ¶
type Reporter interface {
Report(obj ReportableObject)
Close()
}
type RowStats ¶ added in v0.1.1
type RowStats struct {
Schema string
Table string
NumVerified int
NumSuccess int
NumConditionalSuccess int
NumMissing int
NumMismatch int
NumColumnMismatch int
NumExtraneous int
NumLiveRetry int
}
RowStats includes all details about the total rows processed.
type StatusReport ¶
type StatusReport struct {
Info string
}
StatusReport gives status on the running verify task. For example, that the task started, is running at a given table, etc.
type SummaryReport ¶ added in v0.1.1
SummaryReport gives running summary reports on the running verify task. For example, how many successes, rows are seen, mismatches, etc.