protocol

package
v0.4.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 5, 2022 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Attr = iota
	Unary
	Multi
	Paren
	Value
	Binary
)
View Source
const (
	List = iota
	Range
	ListWithSub
	RangeWithSub
)

Variables

This section is empty.

Functions

func DecodeBatch

func DecodeBatch(data []byte) (*batch.Batch, []byte, error)

func DecodeExtend

func DecodeExtend(data []byte) (extend.Extend, []byte, error)

func DecodeListPartition

func DecodeListPartition(data []byte) (engine.ListPartition, []byte, error)

func DecodePartition

func DecodePartition(data []byte) (*engine.PartitionByDef, []byte, error)

func DecodeRangePartition

func DecodeRangePartition(data []byte) (engine.RangePartition, []byte, error)

func DecodeVector

func DecodeVector(data []byte) (*vector.Vector, []byte, error)

func EncodeBatch

func EncodeBatch(bat *batch.Batch, buf *bytes.Buffer) error

func EncodeExtend

func EncodeExtend(e extend.Extend, buf *bytes.Buffer) error

func EncodeListPartition

func EncodeListPartition(def engine.ListPartition, buf *bytes.Buffer) error

func EncodePartition

func EncodePartition(def *engine.PartitionByDef, buf *bytes.Buffer) error

func EncodeRangePartition

func EncodeRangePartition(def engine.RangePartition, buf *bytes.Buffer) error

func EncodeVector

func EncodeVector(v *vector.Vector, buf *bytes.Buffer) error

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL