package
25.1.0+incompatible
Repository: https://github.com/cockroachdb/cockroach.git
Documentation: pkg.go.dev
# Functions
MakeProjection returns Projection builder given underlying descriptor.
MakeRowFromTuple converts a SQL datum produced by, for example, SELECT ROW(foo.*), into the same kind of cdcevent.Row you'd get as a result of an insert, but without the primary key.
NewEventDecoder returns key value decoder.
NewEventDecoderWithCache returns key value decoder.
NewEventDescriptor returns EventDescriptor for specified table and family descriptors.
newFixedRowFetcherCache constructs row fetcher cache that uses only the fixed set of descriptors provided.
TestingGetFamilyIDFromKey returns family ID encoded in the specified roachpb.Key.
TestingMakeEventRow initializes Row with provided arguments.
TestingMakeEventRowFromDatums initializes a Row that will return the provided datums when ForEachColumn is called.
TestingMakeEventRowFromEncDatums creates event row from specified enc datum row.
# Variables
DefaultCacheConfig is the default configuration for unordered cache.
ErrUnwatchedFamily is a sentinel error that indicates this part of the row is not being watched and does not need to be decoded.
# Structs
CacheKey is the key for the event caches.
EventDescriptor is a cdc event descriptor: collection of information describing Row.
Metadata describes event metadata.
ResultColumn associates ResultColumn with an ordinal position where such column expected to be found.
Row holds a row corresponding to an event.
# Type aliases
ColumnFn is a callback functioned invoked for each column type.
DatumFn is a callback function invoked for each decoded datum.
Projection is a helper to facilitate construction of "projection" rows.
RowType is the type of the row being decoded.