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
/
table_edit_accumulator.go
Search
History
486 lines
|
ISO-8859-1
|
16 KB
Blame
Outline
2
4
8
No wrap
Soft wrap
Outline
invalidEaId
doltKVP
k
:
types.Tuple
v
:
types.Tuple
TableEditAccumulator
Delete
(keyHash hash.Hash, key types.Tuple)
:
error
Insert
(keyHash hash.Hash, key types.Tuple, val types.Tuple)
:
error
Get
(ctx context.Context, keyHash hash.Hash, key types.Tuple)
:
(*doltKVP, 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)
flushThreshold
:
int64
inMemModifications
ops
:
int64
adds
:
map[hash.Hash]*doltKVP
deletes
:
map[hash.Hash]types.Tuple
newInMemModifications
()
:
*inMemModifications
tableEditAccumulatorImpl
nbf
:
*types.NomsBinFormat
rowData
:
types.Map
committed
:
*inMemModifications
uncommitted
:
*inMemModifications
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
DbEaFactory
NewTableEA
(ctx context.Context, rowData types.Map)
:
TableEditAccumulator
NewIndexEA
(ctx context.Context, rowData types.Map)
:
IndexEditAccumulator
dbEaFactory
directory
:
string
vrw
:
types.ValueReadWriter
NewDbEaFactory
(directory string, vrw types.ValueReadWriter)
:
DbEaFactory
*inMemModifications
MergeIn
(other *inMemModifications)
Get
(keyHash hash.Hash)
:
(kvp *doltKVP, added, deleted bool)
*tableEditAccumulatorImpl
Get
(ctx context.Context, keyHash hash.Hash, key types.Tuple)
:
(*doltKVP, bool, error)
HasPartial
(ctx context.Context, idxSch schema.Schema, partialKeyHash hash.Hash, partialKey types.Tuple)
:
([]hashedTuple, error)
flushUncommitted
()
Delete
(keyHash hash.Hash, key types.Tuple)
:
error
Insert
(keyHash hash.Hash, key types.Tuple, val types.Tuple)
:
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)
*dbEaFactory
NewTableEA
(ctx context.Context, rowData types.Map)
:
TableEditAccumulator
NewIndexEA
(ctx context.Context, rowData types.Map)
:
IndexEditAccumulator
All occurrences
Please wait...
Page is in error, reload to recover