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
/
table
/
editor
/
keyless_table_editor.go
Search
History
641 lines
|
ISO-8859-1
|
14 KB
Blame
Outline
2
4
8
No wrap
Soft wrap
Outline
keylessTableEditor
tbl
:
*doltdb.Table
sch
:
schema.Schema
name
:
string
acc
:
keylessEditAcc
indexEds
:
[]*IndexEditor
cvEditor
:
*types.MapEditor
dirty
:
bool
eg
:
*errgroup.Group
mu
:
*sync.Mutex
_
:
TableEditor
keylessEditAcc
deltas
:
map[hash.Hash]rowDelta
nbf
:
*types.NomsBinFormat
increment
(key, val types.Tuple)
:
error
decrement
(key, val types.Tuple)
:
error
getRowDelta
(key types.Tuple)
:
(rowDelta, error)
rowDelta
key
:
types.Tuple
val
:
types.Tuple
delta
:
int64
newKeylessTableEditor
(ctx context.Context, tbl *doltdb.Table, sch schema.Schema, name string, opts Options)
:
(TableEditor, error)
applyEdits
(ctx context.Context, tbl *doltdb.Table, acc keylessEditAcc, indexEds []*IndexEditor)
:
(_ *doltdb.Table, retErr error)
pointReader
m
:
types.Map
keys
:
[]types.Tuple
emptyTuple
:
types.Tuple
idx
:
int
newMapPointReader
(m types.Map, keys []types.Tuple)
:
*pointReader
initializeCardinality
(val types.Tuple, card int64)
:
(v types.Tuple, ok bool, err error)
modifyCardinalityWithDelta
(val types.Tuple, delta int64)
:
(v types.Tuple, ok bool, err error)
*keylessTableEditor
GetIndexedRows
(ctx context.Context, key types.Tuple, indexName string, idxSch schema.Schema)
:
([]row.Row, error)
InsertKeyVal
(ctx context.Context, key, val types.Tuple, tagToVal map[uint64]types.Value, errFunc PKDuplicateCb)
:
error
DeleteByKey
(ctx context.Context, key types.Tuple, tagToVal map[uint64]types.Value)
:
(err error)
InsertRow
(ctx context.Context, r row.Row, _ PKDuplicateCb)
:
(err error)
DeleteRow
(ctx context.Context, r row.Row)
:
(err error)
UpdateRow
(ctx context.Context, old row.Row, new row.Row, _ PKDuplicateCb)
:
(err error)
HasEdits
()
:
bool
MarkDirty
()
GetAutoIncrementValue
()
:
types.Value
SetAutoIncrementValue
(v types.Value)
:
(err error)
Table
(ctx context.Context)
:
(*doltdb.Table, error)
Schema
()
:
schema.Schema
Name
()
:
string
Format
()
:
*types.NomsBinFormat
ValueReadWriter
()
:
types.ValueReadWriter
StatementStarted
(ctx context.Context)
StatementFinished
(ctx context.Context, errored bool)
:
error
SetConstraintViolation
(ctx context.Context, k types.LesserValuable, v types.Valuable)
:
error
Close
(ctx context.Context)
:
error
autoFlush
(ctx context.Context)
:
error
flush
(ctx context.Context)
:
error
*pointReader
NextTuple
(ctx context.Context)
:
(k, v types.Tuple, err error)
All occurrences
Please wait...
Page is in error, reload to recover