Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CIStr ¶
type CIStr struct {
O string `json:"O"` // Original string.
L string `json:"L"` // Lower case string.
}
CIStr is case-insensitive string.
func (*CIStr) UnmarshalJSON ¶
UnmarshalJSON implements the user defined unmarshal method. CIStr can be unmarshaled from a single string, so PartitionDefinition.Name in this change https://github.com/pingcap/tidb/pull/6460/files would be compatible during TiDB upgrading.
type GraphInfo ¶
type GraphInfo struct {
ID int64 `json:"id"`
Name CIStr `json:"name"`
Indexes []*IndexInfo `json:"indexes"`
NextPropID uint16 `json:"next_prop_id"`
Query string `json:"query"`
Labels []*LabelInfo `json:"-"`
Properties []*PropertyInfo `json:"-"`
}
GraphInfo provides meta data describing a graph.
type IndexInfo ¶
type IndexInfo struct {
ID int64 `json:"id"`
Name CIStr `json:"name"`
Properties []CIStr `json:"properties"`
Query string `json:"query"`
}
IndexInfo provides meta data describing a index.
type PropertyInfo ¶
func (*PropertyInfo) Clone ¶
func (info *PropertyInfo) Clone() *PropertyInfo
Click to show internal directories.
Click to hide internal directories.