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
/
root_val.go
Search
History
1348 lines
|
ISO-8859-1
|
35 KB
Blame
Outline
2
4
8
No wrap
Soft wrap
Outline
ddbRootStructName
tablesKey
foreignKeyKey
featureVersKey
rootCollationKey
superSchemasKey
FeatureVersion
DoltFeatureVersion
:
FeatureVersion
RootValue
vrw
:
types.ValueReadWriter
ns
:
tree.NodeStore
st
:
rvStorage
fkc
:
*ForeignKeyCollection
hash
:
hash.Hash
tableEdit
name
:
string
ref
:
*types.Ref
old_name
:
string
tableMap
Get
(ctx context.Context, name string)
:
(hash.Hash, error)
Iter
(ctx context.Context, cb func(name string, addr hash.Hash) (bool, error))
:
error
tmIterAll
(ctx context.Context, tm tableMap, cb func(name string, addr hash.Hash))
:
error
rvStorage
GetFeatureVersion
()
:
(FeatureVersion, bool, error)
GetTablesMap
(ctx context.Context, vr types.ValueReadWriter, ns tree.NodeStore)
:
(tableMap, error)
GetForeignKeys
(ctx context.Context, vr types.ValueReader)
:
(types.Value, bool, error)
GetCollation
(ctx context.Context)
:
(schema.Collation, error)
SetForeignKeyMap
(ctx context.Context, vrw types.ValueReadWriter, m types.Value)
:
(rvStorage, error)
SetFeatureVersion
(v FeatureVersion)
:
(rvStorage, error)
SetCollation
(ctx context.Context, collation schema.Collation)
:
(rvStorage, error)
EditTablesMap
(ctx context.Context, vrw types.ValueReadWriter, ns tree.NodeStore, edits []tableEdit)
:
(rvStorage, error)
DebugString
(ctx context.Context)
:
string
nomsValue
()
:
types.Value
nomsRvStorage
valueSt
:
types.Struct
GetFeatureVersion
()
:
(FeatureVersion, bool, error)
GetTablesMap
(context.Context, types.ValueReadWriter, tree.NodeStore)
:
(tableMap, error)
GetForeignKeys
(context.Context, types.ValueReader)
:
(types.Value, bool, error)
GetCollation
(ctx context.Context)
:
(schema.Collation, error)
EditTablesMap
(ctx context.Context, vrw types.ValueReadWriter, ns tree.NodeStore, edits []tableEdit)
:
(rvStorage, error)
SetForeignKeyMap
(ctx context.Context, vrw types.ValueReadWriter, v types.Value)
:
(rvStorage, error)
SetFeatureVersion
(v FeatureVersion)
:
(rvStorage, error)
SetCollation
(ctx context.Context, collation schema.Collation)
:
(rvStorage, error)
DebugString
(ctx context.Context)
:
string
nomsValue
()
:
types.Value
nomsTableMap
types.Map
Get
(ctx context.Context, name string)
:
(hash.Hash, error)
Iter
(ctx context.Context, cb func(name string, addr hash.Hash) (bool, error))
:
error
newRootValue
(vrw types.ValueReadWriter, ns tree.NodeStore, v types.Value)
:
(*RootValue, error)
LoadRootValueFromRootIshAddr
(ctx context.Context, vrw types.ValueReadWriter, ns tree.NodeStore, h hash.Hash)
:
(*RootValue, error)
decodeRootNomsValue
(vrw types.ValueReadWriter, ns tree.NodeStore, val types.Value)
:
(*RootValue, error)
isRootValue
(nbf *types.NomsBinFormat, val types.Value)
:
bool
EmptyRootValue
(ctx context.Context, vrw types.ValueReadWriter, ns tree.NodeStore)
:
(*RootValue, error)
getExistingColumns
( ctx context.Context, root, headRoot *RootValue, tableName string, newColNames []string, newColKinds []types.NomsKind, )
:
([]schema.Column, error)
putTable
(ctx context.Context, root *RootValue, tName string, ref types.Ref)
:
(*RootValue, error)
GetAllTagsForRoots
(ctx context.Context, roots ...*RootValue)
:
(tags schema.TagMapping, err error)
UnionTableNames
(ctx context.Context, roots ...*RootValue)
:
([]string, error)
validateTagUniqueness
(ctx context.Context, root *RootValue, tableName string, table *Table)
:
error
debugStringer
DebugString
(ctx context.Context)
:
string
fbRvStorage
srv
:
*serial.RootValue
GetFeatureVersion
()
:
(FeatureVersion, bool, error)
getAddressMap
(vrw types.ValueReadWriter, ns tree.NodeStore)
:
(prolly.AddressMap, error)
GetTablesMap
(ctx context.Context, vrw types.ValueReadWriter, ns tree.NodeStore)
:
(tableMap, error)
GetForeignKeys
(ctx context.Context, vr types.ValueReader)
:
(types.Value, bool, error)
GetCollation
(ctx context.Context)
:
(schema.Collation, error)
EditTablesMap
(ctx context.Context, vrw types.ValueReadWriter, ns tree.NodeStore, edits []tableEdit)
:
(rvStorage, error)
SetForeignKeyMap
(ctx context.Context, vrw types.ValueReadWriter, v types.Value)
:
(rvStorage, error)
SetFeatureVersion
(v FeatureVersion)
:
(rvStorage, error)
SetCollation
(ctx context.Context, collation schema.Collation)
:
(rvStorage, error)
clone
()
:
fbRvStorage
DebugString
(ctx context.Context)
:
string
nomsValue
()
:
types.Value
fbTableMap
prolly.AddressMap
Get
(ctx context.Context, name string)
:
(hash.Hash, error)
Iter
(ctx context.Context, cb func(string, hash.Hash) (bool, error))
:
error
DataCacheKey
hash.Hash
NewDataCacheKey
(rv *RootValue)
:
(DataCacheKey, error)
HackNomsValuesFromRootValues
(root *RootValue)
:
types.Value
*RootValue
VRW
()
:
types.ValueReadWriter
NodeStore
()
:
tree.NodeStore
GetFeatureVersion
(ctx context.Context)
:
(ver FeatureVersion, ok bool, err error)
setFeatureVersion
(v FeatureVersion)
:
(*RootValue, error)
GetCollation
(ctx context.Context)
:
(schema.Collation, error)
SetCollation
(ctx context.Context, collation schema.Collation)
:
(*RootValue, error)
HasTable
(ctx context.Context, tName string)
:
(bool, error)
GenerateTagsForNewColColl
(ctx context.Context, tableName string, cc *schema.ColCollection)
:
(*schema.ColCollection, error)
GenerateTagsForNewColumns
( ctx context.Context, tableName string, newColNames []string, newColKinds []types.NomsKind, headRoot *RootValue, )
:
([]uint64, error)
GetAllSchemas
(ctx context.Context)
:
(map[string]schema.Schema, error)
GetTableHash
(ctx context.Context, tName string)
:
(hash.Hash, bool, error)
SetTableHash
(ctx context.Context, tName string, h hash.Hash)
:
(*RootValue, error)
ResolveTableName
(ctx context.Context, tName string)
:
(string, bool, error)
GetTable
(ctx context.Context, tName string)
:
(*Table, bool, error)
GetTableInsensitive
(ctx context.Context, tName string)
:
(*Table, string, bool, error)
GetTableByColTag
(ctx context.Context, tag uint64)
:
(tbl *Table, name string, found bool, err error)
GetTableNames
(ctx context.Context)
:
([]string, error)
getTableMap
(ctx context.Context)
:
(tableMap, error)
TablesInConflict
(ctx context.Context)
:
([]string, error)
TablesWithConstraintViolations
(ctx context.Context)
:
([]string, error)
HasConflicts
(ctx context.Context)
:
(bool, error)
HasConstraintViolations
(ctx context.Context)
:
(bool, error)
IterTables
(ctx context.Context, cb func(name string, table *Table, sch schema.Schema) (stop bool, err error))
:
error
withStorage
(st rvStorage)
:
*RootValue
nomsValue
()
:
types.Value
PutTable
(ctx context.Context, tName string, table *Table)
:
(*RootValue, error)
CreateEmptyTable
(ctx context.Context, tName string, sch schema.Schema)
:
(*RootValue, error)
HashOf
()
:
(hash.Hash, error)
RenameTable
(ctx context.Context, oldName, newName string)
:
(*RootValue, error)
RemoveTables
(ctx context.Context, skipFKHandling bool, allowDroppingFKReferenced bool, tables ...string)
:
(*RootValue, error)
GetForeignKeyCollection
(ctx context.Context)
:
(*ForeignKeyCollection, error)
PutForeignKeyCollection
(ctx context.Context, fkc *ForeignKeyCollection)
:
(*RootValue, error)
ValidateForeignKeysOnSchemas
(ctx context.Context)
:
(*RootValue, error)
DebugString
(ctx context.Context, transitive bool)
:
string
MapTableHashes
(ctx context.Context)
:
(map[string]hash.Hash, error)
All occurrences
Please wait...
Page is in error, reload to recover