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_editor.go
Search
History
410 lines
|
ISO-8859-1
|
13 KB
Blame
Outline
2
4
8
No wrap
Soft wrap
Outline
rebuildIndexFlushInterval
_
:
error
uniqueKeyErr
TableTuple
:
types.Tuple
IndexTuple
:
types.Tuple
IndexName
:
string
IndexEditor
nbf
:
*types.NomsBinFormat
idxSch
:
schema.Schema
tblSch
:
schema.Schema
idx
:
schema.Index
iea
:
IndexEditAccumulator
stack
:
indexOperationStack
permanentErr
:
error
writeMutex
:
*sync.Mutex
NewIndexEditor
(ctx context.Context, index schema.Index, indexData types.Map, tableSch schema.Schema, opts Options)
:
*IndexEditor
RebuildIndex
(ctx context.Context, tbl *doltdb.Table, indexName string, opts Options)
:
(types.Map, error)
RebuildAllIndexes
(ctx context.Context, t *doltdb.Table, opts Options)
:
(*doltdb.Table, error)
rebuildIndexRowData
(ctx context.Context, vrw types.ValueReadWriter, sch schema.Schema, tblRowData types.Map, index schema.Index, opts Options, tf *types.TupleFactory)
:
(types.Map, error)
*uniqueKeyErr
Error
()
:
string
*IndexEditor
InsertRow
(ctx context.Context, key, partialKey types.Tuple, value types.Tuple)
:
error
InsertRowWithDupCb
(ctx context.Context, key, partialKey types.Tuple, value types.Tuple, cb func(ctx context.Context, uke *uniqueKeyErr) error)
:
error
DeleteRow
(ctx context.Context, key, partialKey, value types.Tuple)
:
error
HasPartial
(ctx context.Context, partialKey types.Tuple)
:
(bool, error)
Undo
(ctx context.Context)
Map
(ctx context.Context)
:
(types.Map, error)
Index
()
:
schema.Index
StatementStarted
(ctx context.Context)
StatementFinished
(ctx context.Context, errored bool)
:
error
Close
()
:
error
All occurrences
Please wait...
Page is in error, reload to recover