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
/
index_edit_accumulator.go
Search
History
445 lines
|
ISO-8859-1
|
15 KB
Blame
Outline
2
4
8
No wrap
Soft wrap
Outline
indexFlushThreshold
:
int64
IndexEditAccumulator
Delete
(ctx context.Context, keyHash, partialKeyHash hash.Hash, key, value types.Tuple)
:
error
Insert
(ctx context.Context, keyHash, partialKeyHash hash.Hash, key, value types.Tuple)
:
error
Has
(ctx context.Context, keyHash hash.Hash, key types.Tuple)
:
(bool, error)
HasPartial
(ctx context.Context, idxSch schema.Schema, partialKeyHash hash.Hash, partialKey types.Tuple)
:
([]hashedTuple, error)
Commit
(ctx context.Context, nbf *types.NomsBinFormat)
:
error
Rollback
(ctx context.Context)
:
error
MaterializeEdits
(ctx context.Context, nbf *types.NomsBinFormat)
:
(types.Map, error)
hashedTuple
key
:
types.Tuple
value
:
types.Tuple
hash
:
hash.Hash
inMemIndexEdits
partialAdds
:
map[hash.Hash]map[hash.Hash]types.Tuple
deletes
:
map[hash.Hash]*hashedTuple
adds
:
map[hash.Hash]*hashedTuple
ops
:
int64
newInMemIndexEdits
()
:
*inMemIndexEdits
indexEditAccumulatorImpl
nbf
:
*types.NomsBinFormat
rowData
:
types.Map
committed
:
*inMemIndexEdits
uncommitted
:
*inMemIndexEdits
accumulatorIdx
:
uint64
flusher
:
*edits.DiskEditFlusher
committedEaIds
:
*set.Uint64Set
uncommittedEaIds
:
*set.Uint64Set
commitEA
:
types.EditAccumulator
commitEAId
:
uint64
flushingUncommitted
:
bool
lastFlush
:
int64
uncommittedEA
:
types.EditAccumulator
uncommittedEAId
:
uint64
_
:
IndexEditAccumulator
*inMemIndexEdits
MergeIn
(other *inMemIndexEdits)
Has
(keyHash hash.Hash)
:
(added, deleted bool)
*indexEditAccumulatorImpl
flushUncommitted
()
Insert
(ctx context.Context, keyHash, partialKeyHash hash.Hash, key, value types.Tuple)
:
error
Delete
(ctx context.Context, keyHash, partialKeyHash hash.Hash, key, value types.Tuple)
:
error
Has
(ctx context.Context, keyHash hash.Hash, key types.Tuple)
:
(bool, error)
HasPartial
(ctx context.Context, idxSch schema.Schema, partialKeyHash hash.Hash, partialKey types.Tuple)
:
([]hashedTuple, error)
Commit
(ctx context.Context, nbf *types.NomsBinFormat)
:
error
Rollback
(ctx context.Context)
:
error
MaterializeEdits
(ctx context.Context, nbf *types.NomsBinFormat)
:
(m types.Map, err error)
All occurrences
Please wait...
Page is in error, reload to recover