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.go
Search
History
442 lines
|
ISO-8859-1
|
11 KB
Blame
Outline
2
4
8
No wrap
Soft wrap
Outline
getPrimaryProllyWriter
(ctx context.Context, t *doltdb.Table, sqlSch sql.Schema, sch schema.Schema)
:
(prollyIndexWriter, error)
getPrimaryKeylessProllyWriter
(ctx context.Context, t *doltdb.Table, sqlSch sql.Schema, sch schema.Schema)
:
(prollyKeylessWriter, error)
indexWriter
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)
:
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)
primaryIndexErrBuilder
errForSecondaryUniqueKeyError
(ctx context.Context, err secondaryUniqueKeyError)
:
error
prollyIndexWriter
mut
:
*prolly.MutableMap
keyBld
:
*val.TupleBuilder
keyMap
:
val.OrdinalMapping
valBld
:
*val.TupleBuilder
valMap
:
val.OrdinalMapping
Name
()
:
string
Map
(ctx context.Context)
:
(prolly.Map, error)
keyFromRow
(ctx context.Context, sqlRow sql.Row)
:
(val.Tuple, 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)
:
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)
errForSecondaryUniqueKeyError
(ctx context.Context, err secondaryUniqueKeyError)
:
error
uniqueKeyError
(ctx context.Context, keyStr string, key val.Tuple, isPk bool)
:
error
_
:
indexWriter
_
:
primaryIndexErrBuilder
prollySecondaryIndexWriter
name
:
string
mut
:
*prolly.MutableMap
unique
:
bool
prefixLengths
:
[]uint16
idxCols
:
int
keyMap
:
val.OrdinalMapping
keyBld
:
*val.TupleBuilder
pkMap
:
val.OrdinalMapping
pkBld
:
*val.TupleBuilder
Name
()
:
string
Map
(ctx context.Context)
:
(prolly.Map, error)
ValidateKeyViolations
(ctx context.Context, sqlRow sql.Row)
:
error
trimKeyPart
(to int, keyPart interface{})
:
interface{}
keyFromRow
(ctx context.Context, sqlRow sql.Row)
:
(val.Tuple, error)
Insert
(ctx context.Context, sqlRow sql.Row)
:
error
checkForUniqueKeyErr
(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)
:
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
FormatKeyForUniqKeyErr
(key val.Tuple, d val.TupleDesc)
:
string
All occurrences
Please wait...
Page is in error, reload to recover