rowcodec

package
v0.0.0-...-75542a6 Latest Latest
Warning

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

Go to latest
Published: Mar 25, 2024 License: GPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	NilFlag          byte = 0
	BytesFlag        byte = 1
	CompactBytesFlag byte = 2
	IntFlag          byte = 3
	UintFlag         byte = 4
	VarintFlag       byte = 8
	VaruintFlag      byte = 9
)
View Source
const CodecVer = 128

Variables

This section is empty.

Functions

This section is empty.

Types

type Decoder

type Decoder struct {
	// contains filtered or unexported fields
}

func NewDecoder

func NewDecoder(
	requestColIDs []int64,
	handleColID int64,
	tps []*types.FieldType,
	origDefaults [][]byte,
	loc *time.Location,
) (*Decoder, error)

func (*Decoder) Decode

func (decoder *Decoder) Decode(rowData []byte, handle int64, chk *chunk.Chunk) error

func (Decoder) String

func (r Decoder) String() string

Jump to

Keyboard shortcuts

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