crash.software
Projects
Pull Requests
Issues
Builds
dolt
Code
Files
Commits
Branches
Tags
Pull Requests
Code Comments
Code Compare
Issues
List
Boards
Milestones
Builds
Statistics
Contributions
Source Lines
Child Projects
Projects
STRLCPY
dolt
Files
🤬
Sign In
88ec14b1
ROOT
/
go
/
libraries
/
doltcore
/
rowconv
/
field_mapping.go
Search
History
217 lines
|
ISO-8859-1
|
6 KB
Blame
Outline
2
4
8
No wrap
Soft wrap
Outline
ErrMappingFileRead
ErrEmptyMapping
BadMappingErr
srcField
:
string
destField
:
string
NameMapper
Map
(str string)
:
string
PreImage
(str string)
:
string
FieldMapping
SrcSch
:
schema.Schema
DestSch
:
schema.Schema
SrcToDest
:
map[uint64]uint64
NewFieldMapping
(srcSch, destSch schema.Schema, srcTagToDestTag map[uint64]uint64)
:
(*FieldMapping, error)
TagMapping
(srcSch, destSch schema.Schema)
:
(*FieldMapping, error)
NameMapping
(srcSch, destSch schema.Schema, nameMapper NameMapper)
:
(*FieldMapping, error)
NameMapperFromFile
(mappingFile string, FS filesys.ReadableFS)
:
(NameMapper, error)
TagMappingByTagAndName
(srcSch, destSch schema.Schema)
:
(*FieldMapping, error)
*BadMappingErr
Error
()
:
string
All occurrences
Please wait...
Page is in error, reload to recover