decoder

package
v0.24.5 Latest Latest
Warning

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

Go to latest
Published: May 15, 2024 License: BSD-3-Clause Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DecodeNone

type DecodeNone string

DecodeNone returns error for every method of Decoder.

func (DecodeNone) DecodeAssignment

func (d DecodeNone) DecodeAssignment(affine.Affinity, []byte) (_ rt.Assignment, err error)

func (DecodeNone) DecodeField

func (d DecodeNone) DecodeField(affine.Affinity, []byte, string) (_ literal.LiteralValue, err error)

func (DecodeNone) DecodeProg

func (d DecodeNone) DecodeProg([]byte) (_ []rt.Execute, err error)

type Decoder

type Decoder interface {
	DecodeField(a affine.Affinity, b []byte, fieldType string) (literal.LiteralValue, error)
	DecodeAssignment(affine.Affinity, []byte) (rt.Assignment, error)
	DecodeProg([]byte) ([]rt.Execute, error)
}

Decoder transforms the raw bytes pulled from a query into in-memory commands.

type NotImplemented

type NotImplemented string

NotImplemented - generic error used returned by QueryNone

func (NotImplemented) Error

func (e NotImplemented) Error() string

Jump to

Keyboard shortcuts

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