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
2aa11235
ROOT
/
go
/
libraries
/
doltcore
/
doltdb
/
table.go
Search
History
673 lines
|
ISO-8859-1
|
20 KB
Blame
Outline
2
4
8
No wrap
Soft wrap
Outline
TableNameRegexStr
ForeignKeyNameRegexStr
IndexNameRegexStr
tableNameRegex
foreignKeyNameRegex
indexNameRegex
ErrNoConflictsResolved
IsValidTableName
(name string)
:
bool
IsValidForeignKeyName
(name string)
:
bool
IsValidIndexName
(name string)
:
bool
Table
table
:
durable.Table
NewNomsTable
(ctx context.Context, vrw types.ValueReadWriter, ns tree.NodeStore, sch schema.Schema, rows types.Map, indexes durable.IndexSet, autoIncVal types.Value)
:
(*Table, error)
NewTable
(ctx context.Context, vrw types.ValueReadWriter, ns tree.NodeStore, sch schema.Schema, rows durable.Index, indexes durable.IndexSet, autoIncVal types.Value)
:
(*Table, error)
NewEmptyTable
(ctx context.Context, vrw types.ValueReadWriter, ns tree.NodeStore, sch schema.Schema)
:
(*Table, error)
tableFromRootIsh
(ctx context.Context, vrw types.ValueReadWriter, ns tree.NodeStore, h hash.Hash, tblName string)
:
(*Table, bool, error)
*Table
Format
()
:
*types.NomsBinFormat
ValueReadWriter
()
:
types.ValueReadWriter
NodeStore
()
:
tree.NodeStore
SetConflicts
(ctx context.Context, schemas conflict.ConflictSchema, conflictData durable.ConflictIndex)
:
(*Table, error)
GetConflicts
(ctx context.Context)
:
(conflict.ConflictSchema, durable.ConflictIndex, error)
HasConflicts
(ctx context.Context)
:
(bool, error)
GetArtifacts
(ctx context.Context)
:
(durable.ArtifactIndex, error)
SetArtifacts
(ctx context.Context, artifacts durable.ArtifactIndex)
:
(*Table, error)
NumRowsInConflict
(ctx context.Context)
:
(uint64, error)
NumConstraintViolations
(ctx context.Context)
:
(uint64, error)
ClearConflicts
(ctx context.Context)
:
(*Table, error)
clearArtifactConflicts
(ctx context.Context)
:
(*Table, error)
clearConflicts
(ctx context.Context)
:
(*Table, error)
GetConflictSchemas
(ctx context.Context, tblName string)
:
(base, sch, mergeSch schema.Schema, err error)
getProllyConflictSchemas
(ctx context.Context, tblName string)
:
(base, sch, mergeSch schema.Schema, err error)
getNomsConflictSchemas
(ctx context.Context)
:
(base, sch, mergeSch schema.Schema, err error)
GetConstraintViolationsSchema
(ctx context.Context)
:
(schema.Schema, error)
GetConstraintViolations
(ctx context.Context)
:
(types.Map, error)
SetConstraintViolations
(ctx context.Context, violationsMap types.Map)
:
(*Table, error)
GetSchema
(ctx context.Context)
:
(schema.Schema, error)
GetSchemaHash
(ctx context.Context)
:
(hash.Hash, error)
UpdateSchema
(ctx context.Context, sch schema.Schema)
:
(*Table, error)
HashOf
()
:
(hash.Hash, error)
UpdateNomsRows
(ctx context.Context, updatedRows types.Map)
:
(*Table, error)
UpdateRows
(ctx context.Context, updatedRows durable.Index)
:
(*Table, error)
GetNomsRowData
(ctx context.Context)
:
(types.Map, error)
GetRowData
(ctx context.Context)
:
(durable.Index, error)
ResolveConflicts
(ctx context.Context, pkTuples []types.Value)
:
(invalid, notFound []types.Value, tbl *Table, err error)
GetIndexSet
(ctx context.Context)
:
(durable.IndexSet, error)
SetIndexSet
(ctx context.Context, indexes durable.IndexSet)
:
(*Table, error)
GetNomsIndexRowData
(ctx context.Context, indexName string)
:
(types.Map, error)
GetIndexRowData
(ctx context.Context, indexName string)
:
(durable.Index, error)
SetIndexRows
(ctx context.Context, indexName string, idx durable.Index)
:
(*Table, error)
SetNomsIndexRows
(ctx context.Context, indexName string, idx types.Map)
:
(*Table, error)
DeleteIndexRowData
(ctx context.Context, indexName string)
:
(*Table, error)
RenameIndexRowData
(ctx context.Context, oldIndexName, newIndexName string)
:
(*Table, error)
GetAutoIncrementValue
(ctx context.Context)
:
(uint64, error)
SetAutoIncrementValue
(ctx context.Context, val uint64)
:
(*Table, error)
AddColumnToRows
(ctx context.Context, newCol string, newSchema schema.Schema)
:
(*Table, error)
DebugString
(ctx context.Context)
:
string
All occurrences
Please wait...
Page is in error, reload to recover