value

package
v0.0.0-...-56ee609 Latest Latest
Warning

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

Go to latest
Published: Sep 23, 2020 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Compare

func Compare(v1, v2 Value, op string) (bool, error)

func IsComparable

func IsComparable(v1, v2 Value) bool

Types

type Alien

type Alien struct {
	Val interface{}
}

func (Alien) Eq

func (i Alien) Eq(v Value) bool

func (Alien) Ge

func (i Alien) Ge(v Value) bool

func (Alien) Gt

func (i Alien) Gt(v Value) bool

func (Alien) Le

func (i Alien) Le(v Value) bool

func (Alien) Lt

func (i Alien) Lt(v Value) bool

func (Alien) String

func (i Alien) String() string

type Bool

type Bool struct {
	Val bool
}

func (Bool) Eq

func (i Bool) Eq(v Value) bool

func (Bool) Ge

func (i Bool) Ge(v Value) bool

func (Bool) Gt

func (i Bool) Gt(v Value) bool

func (Bool) Le

func (i Bool) Le(v Value) bool

func (Bool) Lt

func (i Bool) Lt(v Value) bool

func (Bool) String

func (i Bool) String() string

type Float

type Float struct {
	Val float64
}

func (Float) Eq

func (i Float) Eq(v Value) bool

func (Float) Ge

func (i Float) Ge(v Value) bool

func (Float) Gt

func (i Float) Gt(v Value) bool

func (Float) Le

func (i Float) Le(v Value) bool

func (Float) Lt

func (i Float) Lt(v Value) bool

func (Float) String

func (i Float) String() string

type Int

type Int struct {
	Val int64
}

func (Int) Eq

func (i Int) Eq(v Value) bool

func (Int) Ge

func (i Int) Ge(v Value) bool

func (Int) Gt

func (i Int) Gt(v Value) bool

func (Int) Le

func (i Int) Le(v Value) bool

func (Int) Lt

func (i Int) Lt(v Value) bool

func (Int) String

func (i Int) String() string

type Int96

type Int96 struct {
}

type Null

type Null struct{}

func (Null) Eq

func (i Null) Eq(v Value) bool

func (Null) Ge

func (i Null) Ge(v Value) bool

func (Null) Gt

func (i Null) Gt(v Value) bool

func (Null) Le

func (i Null) Le(v Value) bool

func (Null) Lt

func (i Null) Lt(v Value) bool

func (Null) String

func (i Null) String() string

type Row

type Row []Value

func (*Row) String

func (r *Row) String() string

type Str

type Str struct {
	Val string
}

func (Str) Eq

func (i Str) Eq(v Value) bool

func (Str) Ge

func (i Str) Ge(v Value) bool

func (Str) Gt

func (i Str) Gt(v Value) bool

func (Str) Le

func (i Str) Le(v Value) bool

func (Str) Lt

func (i Str) Lt(v Value) bool

func (Str) String

func (i Str) String() string

type Value

type Value interface {
	Gt(Value) bool
	Ge(Value) bool
	Lt(Value) bool
	Le(Value) bool
	Eq(Value) bool
	String() string
}

func NewFromParquetValue

func NewFromParquetValue(v interface{}) Value

Jump to

Keyboard shortcuts

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