internal

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Oct 6, 2020 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	FragmentSize = 128
)

Functions

func DeserializeResultSet

func DeserializeResultSet(data []byte) *ssd.ResultSet

func SerializeResultSet

func SerializeResultSet(rs *ssd.ResultSet) []byte

Types

type Attribute

type Attribute struct {
	Code      []byte
	Offset    uint16
	ValueType byte
	Value     uint64
}

type Column

type Column struct {
	Key           []byte
	Ok            bool
	Name          string
	Group         bool
	Type          byte
	Func          *ssql.Function
	ColumnText    *ColumnText
	ColumnFloat64 *ColumnFloat64
	ColumnInt64   *ColumnInt64
	ColumnBool    *ColumnBool
	ColumnNull    *ColumnNull
	ColumnJson    *ColumnJson
}

type ColumnBool

type ColumnBool struct {
	Columnar []bool
	Rows     []uint32
	Cols     []uint32
}

type ColumnFloat64

type ColumnFloat64 struct {
	Columnar []float64
	Rows     []uint32
	Cols     []uint32
}

type ColumnInt64

type ColumnInt64 struct {
	Columnar []int64
	Rows     []uint32
	Cols     []uint32
}

func (*ColumnInt64) Bytes

func (i64 *ColumnInt64) Bytes() []byte

func (*ColumnInt64) FromBytes

func (i64 *ColumnInt64) FromBytes(buf []byte)

type ColumnJson

type ColumnJson struct {
	Rows []uint32
	Cols [][]byte
}

type ColumnNull

type ColumnNull struct {
	Rows []uint32
	Cols []uint32
}

type ColumnText

type ColumnText struct {
	Columnar map[uint32][]byte
	Rows     []uint32
	Cols     []uint32
}

func (*ColumnText) Bytes

func (txt *ColumnText) Bytes() []byte

func (*ColumnText) FromBytes

func (txt *ColumnText) FromBytes(buf []byte)

type Document

type Document struct {
	Entity    []uint16
	Attribute []uint16
}

Jump to

Keyboard shortcuts

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