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
e87a8262
ROOT
/
go
/
libraries
/
doltcore
/
migrate
/
tuples.go
Search
History
394 lines
|
ISO-8859-1
|
10 KB
Blame
Outline
2
4
8
No wrap
Soft wrap
Outline
maxInlineValue
ErrCannotMigrateText
ErrCannotMigrateBlob
translator
builder
:
*val.TupleBuilder
mapping
:
map[uint64]int
ns
:
tree.NodeStore
pool
:
pool.BuffPool
TranslateTuple
(ctx context.Context, tup types.Tuple)
:
(val.Tuple, error)
tupleTranslatorsFromSchema
(sch schema.Schema, ns tree.NodeStore)
:
(kt, vt translator)
newTupleTranslator
(ns tree.NodeStore, mapping map[uint64]int, desc val.TupleDesc)
:
translator
translateNomsField
(ctx context.Context, ns tree.NodeStore, value types.Value, idx int, b *val.TupleBuilder)
:
error
translateUintField
(value types.Uint, idx int, b *val.TupleBuilder)
translateIntField
(value types.Int, idx int, b *val.TupleBuilder)
translateFloatField
(value types.Float, idx int, b *val.TupleBuilder)
translateStringField
(ctx context.Context, ns tree.NodeStore, value types.String, idx int, b *val.TupleBuilder)
:
error
translateTimestampField
(value types.Timestamp, idx int, b *val.TupleBuilder)
translateGeometryField
(value types.Value, idx int, b *val.TupleBuilder)
translateJSONField
(ctx context.Context, ns tree.NodeStore, value types.JSON, idx int, b *val.TupleBuilder)
:
error
translateBlobField
(ctx context.Context, ns tree.NodeStore, value types.Blob, idx int, b *val.TupleBuilder)
:
error
translateBlobValueToInlineField
(ctx context.Context, value types.Blob, idx int, b *val.TupleBuilder)
:
error
isEven
(n uint64)
:
bool
All occurrences
Please wait...
Page is in error, reload to recover