Documentation ¶
Index ¶
- func MarshalInternalKey(d *models.InternalDatumKey) ([]byte, error)
- func MarshalKey(d *pb.DatumKey) ([]byte, error)
- func MarshalValue(d *pb.DatumValue) ([]byte, error)
- func SizeInternalKey(d *models.InternalDatumKey) (s uint64)
- func SizeKey(d *pb.DatumKey) (s uint64)
- func SizeValue(d *pb.DatumValue) (s uint64)
- func UnmarshalInternalKey(d *models.InternalDatumKey, buf []byte) (uint64, error)
- func UnmarshalKey(d *pb.DatumKey, buf []byte) (uint64, error)
- func UnmarshalValue(d *pb.DatumValue, buf []byte) (uint64, error)
- type DatumScore
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MarshalInternalKey ¶ added in v0.0.70
func MarshalInternalKey(d *models.InternalDatumKey) ([]byte, error)
func MarshalValue ¶
func MarshalValue(d *pb.DatumValue) ([]byte, error)
func SizeInternalKey ¶ added in v0.0.70
func SizeInternalKey(d *models.InternalDatumKey) (s uint64)
//// InternalDatumKey
func SizeValue ¶
func SizeValue(d *pb.DatumValue) (s uint64)
func UnmarshalInternalKey ¶ added in v0.0.70
func UnmarshalInternalKey(d *models.InternalDatumKey, buf []byte) (uint64, error)
func UnmarshalValue ¶
func UnmarshalValue(d *pb.DatumValue, buf []byte) (uint64, error)
Types ¶
type DatumScore ¶
type DatumScore struct {
Score float64
}
func (*DatumScore) Marshal ¶
func (d *DatumScore) Marshal() ([]byte, error)
func (*DatumScore) Size ¶
func (d *DatumScore) Size() (s uint64)
Click to show internal directories.
Click to hide internal directories.