sqlspanner

package module
v0.0.0-...-05e7db7 Latest Latest
Warning

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

Go to latest
Published: Apr 6, 2017 License: BSD-3-Clause Imports: 18 Imported by: 0

README

sqlspanner

Documentation

Index

Constants

View Source
const (
	UnsupportedError   = "Unsupported"
	UnimplementedError = "Unimplemented"
)

Variables

This section is empty.

Functions

func IsValue

func IsValue(v interface{}) bool

Types

type ArgPlaceholder

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

type Args

type Args struct {
	Cur     int
	Counter int
}

func (*Args) ParseValExpr

func (a *Args) ParseValExpr(expr sqlparser.ValExpr) (interface{}, error)

type AwareKeySet

type AwareKeySet struct {
	Keys     map[string]*Key
	KeyOrder []string
	Args     *Args
}

type Key

type Key struct {
	Name       string
	LowerValue interface{}
	UpperValue interface{}
	LowerOpen  bool
	UpperOpen  bool
	HaveLower  bool
	HaveUpper  bool
}

type MergableKeyRange

type MergableKeyRange struct {
	Start     *partialArgSlice
	End       *partialArgSlice
	LowerOpen bool
	UpperOpen bool
	HaveLower bool
	HaveUpper bool
}

func (*MergableKeyRange) ToKeyRange

func (k *MergableKeyRange) ToKeyRange(args []driver.Value) (*spanner.KeyRange, error)

Jump to

Keyboard shortcuts

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