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
1c3fcbe5
ROOT
/
go
/
libraries
/
doltcore
/
sqle
/
writer
/
prolly_index_writer_keyless.go
Search
History
360 lines
|
ISO-8859-1
|
9 KB
Blame
Outline
2
4
8
No wrap
Soft wrap
Outline
prollyKeylessWriter
name
:
string
mut
:
*prolly.MutableMap
keyBld
:
*val.TupleBuilder
valBld
:
*val.TupleBuilder
valMap
:
val.OrdinalMapping
Name
()
:
string
Map
(ctx context.Context)
:
(prolly.Map, error)
ValidateKeyViolations
(ctx context.Context, sqlRow sql.Row)
:
error
Insert
(ctx context.Context, sqlRow sql.Row)
:
error
Delete
(ctx context.Context, sqlRow sql.Row)
:
error
Update
(ctx context.Context, oldRow sql.Row, newRow sql.Row)
:
(err error)
Commit
(ctx context.Context)
:
error
Discard
(ctx context.Context)
:
error
HasEdits
(ctx context.Context)
:
bool
IterRange
(ctx context.Context, rng prolly.Range)
:
(prolly.MapIter, error)
tuplesFromRow
(ctx context.Context, sqlRow sql.Row)
:
(hashId, value val.Tuple, err error)
errForSecondaryUniqueKeyError
(ctx context.Context, err secondaryUniqueKeyError)
:
error
uniqueKeyError
(ctx context.Context, keyStr string, key val.Tuple, isPk bool)
:
error
_
:
indexWriter
_
:
primaryIndexErrBuilder
secondaryUniqueKeyError
keyStr
:
string
existingKey
:
val.Tuple
Error
()
:
string
prollyKeylessSecondaryWriter
name
:
string
mut
:
*prolly.MutableMap
primary
:
prollyKeylessWriter
unique
:
bool
prefixLengths
:
[]uint16
keyBld
:
*val.TupleBuilder
prefixBld
:
*val.TupleBuilder
hashBld
:
*val.TupleBuilder
keyMap
:
val.OrdinalMapping
Name
()
:
string
Map
(ctx context.Context)
:
(prolly.Map, error)
ValidateKeyViolations
(ctx context.Context, sqlRow sql.Row)
:
error
trimKeyPart
(to int, keyPart interface{})
:
interface{}
Insert
(ctx context.Context, sqlRow sql.Row)
:
error
checkForUniqueKeyError
(ctx context.Context, prefixKey val.Tuple)
:
error
Delete
(ctx context.Context, sqlRow sql.Row)
:
error
Update
(ctx context.Context, oldRow sql.Row, newRow sql.Row)
:
(err error)
Commit
(ctx context.Context)
:
error
Discard
(ctx context.Context)
:
error
HasEdits
(ctx context.Context)
:
bool
IterRange
(ctx context.Context, rng prolly.Range)
:
(prolly.MapIter, error)
_
:
indexWriter
All occurrences
Please wait...
Page is in error, reload to recover