package
9.0.0-beta.1.pre+incompatible
Repository: https://github.com/pingcap/ticdc.git
Documentation: pkg.go.dev
# Packages
No description provided by the author
No description provided by the author
No description provided by the author
# Functions
EndCompare compares two end keys.
EscapeName replaces all "`" in name with double "`".
FindPrimaryIndex uses to find primary index in columnSchema.
getColumnValue returns the column value in the row.
GetColumnDefaultValue returns the default definition of a column.
GetIntersectSpan return the intersect part of lhs and rhs span.
No description provided by the author
GetTableRange returns the span to watch for the specified table Note that returned keys are not in memcomparable format.
HackTableSpan will set End as UpperBoundKey if End is Nil.
HashTableSpan hashes the given span to a slot offset.
InitMetrics registers the etcd request counter.
IsColCDCVisible returns whether the col is visible for CDC.
IsEmptySpan returns true if the span is empty.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
NewHashMap returns a new HashMap.
No description provided by the author
NewURLs return a URLs from a slice of formatted URL strings.
No description provided by the author
PrimaryPrefixColumnIDs get prefix column ids in primary key.
QuoteName wraps a name with "`".
QuoteSchema quotes a full table name.
StartCompare compares two start keys.
ToComparableKey returns a memcomparable key.
No description provided by the author
ToSpan returns a span, keys are encoded in memcomparable format.
TryGetCommonPkColumnIds get the IDs of primary key column if the table has common handle.
No description provided by the author
WrapTableInfo creates a TableInfo from a model.TableInfo.
# Constants
BinaryFlag means the column charset is binary.
No description provided by the author
No description provided by the author
No description provided by the author
DefaultNamespace is the default namespace value, all the old changefeed will be put into default namespace.
GeneratedColumnFlag means the column is a generated column.
HandleIndexPKIsHandle represents that the handle index is the pk and the pk is the handle.
HandleIndexTableIneligible represents that the table is ineligible.
HandleKeyFlag means the column is selected as the handle key The handleKey is chosen by the following rules in the order: 1.
No description provided by the author
MultipleKeyFlag means the column is multiple key.
No description provided by the author
NullableFlag means the column is nullable.
OpType for kv.
OpType for kv.
OpType for kv.
OpType for kv.
PrimaryKeyFlag means the column is primary key.
UniqueKeyFlag means the column is unique key.
UnsignedFlag means the column stores an unsigned integer.
# Variables
No description provided by the author
No description provided by the author
No description provided by the author
UpperBoundKey represents the maximum value.
# Structs
ChangeFeedDisplayName represents the user-friendly name and namespace of a changefeed.
ChangefeedID is the unique identifier of a changefeed.
Column represents a column value and its schema info.
No description provided by the author
No description provided by the author
hash representation for columnSchema of TableInfo Considering sha-256 output is 32 bytes, we use 4 uint64 to represent the hash value.
No description provided by the author
No description provided by the author
RawKVEntry represents a kv change or a resolved ts event TODO: use a different struct.
No description provided by the author
HashMapSpan is a specialized hash map that map a TableSpan to a value.
TableInfo provides meta data describing a DB table.
TableName represents name of a table, includes table name and schema name.
# Interfaces
SubModule identify the modules will be started when the server is starting.
# Type aliases
ColumnFlagType is for encapsulating the flag operations for different flags.
No description provided by the author
No description provided by the author
No description provided by the author
Flag is a uint64 flag to show a 64 bit mask.
No description provided by the author
No description provided by the author
OpType for the kv, delete or put.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
URLs defines a slice of URLs as a type.
URLsValue define a slice of URLs as a type.