package
25.1.0+incompatible
Repository: https://github.com/cockroachdb/cockroach.git
Documentation: pkg.go.dev

# Packages

Package schematestutils is a utility package for constructing schema objects in the context of cdc.

# Functions

IsOnlyPrimaryIndexChange returns to true if the event corresponds to a change in the primary index and _only_ a change in the primary index.
IsPrimaryIndexChange returns true if the event corresponds to a change in the primary index.
IsRegionalByRowChange returns true if the event corresponds to a change in the table's locality to or from RegionalByRow.
MakeMetrics constructs a Metrics struct with the provided histogram window.
New creates a SchemaFeed tracking 'targets' and emitting specified 'events'.

# Variables

DoNothingSchemaFeed is the SchemaFeed implementation that does nothing.

# Structs

Metrics is a metric.Struct for schemafeed metrics.
TableEvent represents a change to a table descriptor.

# Interfaces

SchemaFeed is a stream of events corresponding the relevant set of descriptors.