value

package
v3.28.0 Latest Latest
Warning

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

Go to latest
Published: Jul 6, 2022 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BoolValue

func BoolValue(v bool) boolValue

func DateValue

func DateValue(v uint32) dateValue

func DatetimeValue

func DatetimeValue(v uint32) datetimeValue

func DecimalValue

func DecimalValue(v [16]byte, precision uint32, scale uint32) *decimalValue

func DictField

func DictField(k, v V) dictField

func DictValue

func DictValue(v ...dictField) *dictValue

func DoubleValue

func DoubleValue(v float64) *doubleValue

func DyNumberValue

func DyNumberValue(v string) *dyNumberValue

func FloatValue

func FloatValue(v float32) *floatValue

func Int16Value

func Int16Value(v int16) int16Value

func Int32Value

func Int32Value(v int32) int32Value

func Int64Value

func Int64Value(v int64) int64Value

func Int8Value

func Int8Value(v int8) int8Value

func IntervalValue

func IntervalValue(v int64) intervalValue

IntervalValue makes Value from given microseconds value

func JSONDocumentValue

func JSONDocumentValue(v string) *jsondocumentValue

func JSONValue

func JSONValue(v string) *jsonValue

func ListValue

func ListValue(v ...V) *listValue

func OptionalValue

func OptionalValue(v V) optionalValue

func StringValue

func StringValue(v []byte) stringValue

func StructField

func StructField(name string, value V) structField

func StructValue

func StructValue(v ...structField) structValue

func TimestampValue

func TimestampValue(v uint64) timestampValue

func TupleValue

func TupleValue(v ...V) *tupleValue

func TzDateValue

func TzDateValue(v string) *tzDateValue

func TzDatetimeValue

func TzDatetimeValue(v string) *tzDatetimeValue

func TzTimestampValue

func TzTimestampValue(v string) *tzTimestampValue

func UTF8Value

func UTF8Value(v string) *utf8Value

func UUIDValue

func UUIDValue(v [16]byte) *uuidValue

func Uint16Value

func Uint16Value(v uint16) uint16Value

func Uint32Value

func Uint32Value(v uint32) uint32Value

func Uint64Value

func Uint64Value(v uint64) uint64Value

func Uint8Value

func Uint8Value(v uint8) uint8Value

func VoidValue

func VoidValue() voidValue

func YSONValue

func YSONValue(v string) *ysonValue

Types

type V

type V interface {
	// contains filtered or unexported methods
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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