Documentation ¶
Index ¶
- Constants
- Variables
- func DecodeStorePrefix(key []byte) (byte, uint64, uint64)
- func EncodePrimaryKey(buf []byte, col *basepb.Column, sval []byte) ([]byte, error)
- func EncodeSplitKeys(keys []string, columns []*basepb.Column) ([][]byte, error)
- func EncodeStorePrefix(prefix uint8, id uint64) (start []byte, end []byte)
- func MakeRowKeys(tableID, dataRangeNum uint64) (int64, [][]byte)
- func ModifyColumn(table *basepb.Table, source []*basepb.Column) error
- func ParseTableProperties(properties string) (*entity.TableProperty, error)
- func ToTableProperty(cols []*basepb.Column) (string, error)
- func ValidateName(name string) error
- type ByLetter
Constants ¶
View Source
const ( //record_data Store_Prefix_KV byte = 1 Store_Prefix_INDEX byte = 2 )
Variables ¶
View Source
var ( MaxColumnNameLength = 128 DefaultRowIDName = "__row_id" )
Functions ¶
func EncodePrimaryKey ¶
EncodePrimaryKey encodes the primary key column without encoding the column ID to maintain the sort attribute
func EncodeSplitKeys ¶
func MakeRowKeys ¶
func ParseTableProperties ¶
func ParseTableProperties(properties string) (*entity.TableProperty, error)
func ValidateName ¶
Types ¶
Directories ¶
Path | Synopsis |
---|---|
Package apd implements arbitrary-precision decimals.
|
Package apd implements arbitrary-precision decimals. |
Package glog implements logging analogous to the Google-internal C++ INFO/ERROR/V setup.
|
Package glog implements logging analogous to the Google-internal C++ INFO/ERROR/V setup. |
Click to show internal directories.
Click to hide internal directories.