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
2a583dd8
ROOT
/
go
/
libraries
/
doltcore
/
schema
/
encoding
/
schema_marshaling.go
Search
History
447 lines
|
ISO-8859-1
|
12 KB
Blame
Outline
2
4
8
No wrap
Soft wrap
Outline
encodedColumn
Tag
:
uint64
Name
:
string
Kind
:
string
IsPartOfPK
:
bool
TypeInfo
:
encodedTypeInfo
Default
:
string
AutoIncrement
:
bool
Comment
:
string
Constraints
:
[]encodedConstraint
decodeColumn
()
:
(schema.Column, error)
encodeAllColConstraints
(constraints []schema.ColConstraint)
:
[]encodedConstraint
decodeAllColConstraint
(encConstraints []encodedConstraint)
:
[]schema.ColConstraint
encodeColumn
(col schema.Column)
:
encodedColumn
encodedConstraint
Type
:
string
Params
:
map[string]string
decodeColConstraint
()
:
schema.ColConstraint
encodeColConstraint
(constraint schema.ColConstraint)
:
encodedConstraint
encodedTypeInfo
Type
:
string
Params
:
map[string]string
decodeTypeInfo
()
:
(typeinfo.TypeInfo, error)
encodeTypeInfo
(ti typeinfo.TypeInfo)
:
encodedTypeInfo
encodedIndex
Name
:
string
Tags
:
[]uint64
Comment
:
string
Unique
:
bool
IsSystemDefined
:
bool
PrefixLengths
:
[]uint16
encodedCheck
Name
:
string
Expression
:
string
Enforced
:
bool
schemaData
Columns
:
[]encodedColumn
IndexCollection
:
[]encodedIndex
CheckConstraints
:
[]encodedCheck
PkOrdinals
:
[]int
Collation
:
schema.Collation
decodeSchema
()
:
(schema.Schema, error)
addChecksIndexesAndPkOrderingToSchema
(sch schema.Schema)
:
error
toSchemaData
(sch schema.Schema)
:
(schemaData, error)
MarshalSchemaAsNomsValue
(ctx context.Context, vrw types.ValueReadWriter, sch schema.Schema)
:
(types.Value, error)
schCacheData
all
:
*schema.ColCollection
pk
:
*schema.ColCollection
nonPK
:
*schema.ColCollection
sd
:
*schemaData
schemaCacheMu
:
*sync.Mutex
unmarshalledSchemaCache
UnmarshalSchemaNomsValue
(ctx context.Context, nbf *types.NomsBinFormat, schemaVal types.Value)
:
(schema.Schema, error)
*schemaData
Copy
()
:
*schemaData
All occurrences
Please wait...
Page is in error, reload to recover