package
9.0.0-alpha+incompatible
Repository: https://github.com/pingcap/tidb.git
Documentation: pkg.go.dev

# Functions

ArchiveSize return the size of Archive data.
CalculateChecksumStatsOnFiles returns the ChecksumStats for the given files.
DecodeMetaFile decodes the meta file to json format, it is called by br debug.
DecodeStatsFile decodes the stats file to json format, it is called by br debug.
Encrypt encrypts the content according to CipherInfo.
LoadBackupTables loads schemas from BackupMeta.
NewMetaReader creates MetaReader.
NewMetaWriter creates MetaWriter.
NewSizedMetaFile represents the sizedMetaFile.
PitrIDMapsFilename is filename that used to save id maps in pitr.
SkipFiles is the configuration which will make the schema reader skip all files.

# Constants

AppendDataFile represents the DataFile type.
AppendDDL represents the ddls before last backup.
AppendMetaFile represents the MetaFile type.
AppendSchema represents the schema from tidb.
CrypterIvLen represents the length of iv of crypter method.
JSONFileFormat represents json file name format.
LockFile represents file name.
MaxBatchSize represents the internal channel buffer size of MetaWriter and MetaReader.
MetaFile represents file name.
MetaFileSize represents the limit size of one MetaFile.
MetaJSONFile represents backup meta json file name.
MetaV1 represents the old version of backupmeta.
MetaV2 represents the new version of backupmeta.

# Structs

Database wraps the schema and tables of a database.
MetaReader wraps a reader to read both old and new version of backupmeta.
MetaWriter represents wraps a writer, and the MetaWriter should be compatible with old version of backupmeta.
A lightweight function wrapper to dump the statistic.
Table wraps the schema and files of a table.

# Type aliases

AppendOp represents the operation type of meta.
ReadSchemaOption describes some extra option of reading the config.