cql

package
v1.15.0-rc.1 Latest Latest
Warning

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

Go to latest
Published: Dec 12, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (

	// OptionsFrame is a minimal OPTIONS CQL frame.
	// Ref: https://github.com/apache/cassandra/blob/f278f6774fc76465c182041e081982105c3e7dbb/doc/native_protocol_v4.spec
	OptionsFrame = `\x04\x00\x00\x00\x05\x00\x00\x00\x00`
)

Variables

This section is empty.

Functions

This section is empty.

Types

type FrameParser

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

func NewFrameParser

func NewFrameParser(buf *bytes.Buffer) *FrameParser

func (*FrameParser) ReadShort

func (fp *FrameParser) ReadShort() uint16

func (*FrameParser) ReadString

func (fp *FrameParser) ReadString() string

func (*FrameParser) ReadStringList

func (fp *FrameParser) ReadStringList() []string

func (*FrameParser) ReadStringMultiMap

func (fp *FrameParser) ReadStringMultiMap() map[string][]string

func (*FrameParser) SkipHeader

func (fp *FrameParser) SkipHeader()

Jump to

Keyboard shortcuts

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