types

package
v0.0.0-rc6 Latest Latest
Warning

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

Go to latest
Published: Oct 29, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BigFloatType

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

func NewBigFloatType

func NewBigFloatType(precision int) *BigFloatType

func (*BigFloatType) Cast

func (typ *BigFloatType) Cast(value base.Value) (BigFloatValue, error)

func (*BigFloatType) Precision

func (typ *BigFloatType) Precision() int

func (*BigFloatType) ToOldType

func (typ *BigFloatType) ToOldType() (yt_schema.Type, error)

func (*BigFloatType) Validate

func (typ *BigFloatType) Validate(value base.Value) error

type BigFloatValue

type BigFloatValue interface {
	base.Value
	BigFloatValue() *string
}

type BoolType

type BoolType struct {
}

func NewBoolType

func NewBoolType() *BoolType

func (*BoolType) Cast

func (typ *BoolType) Cast(value base.Value) (BoolValue, error)

func (*BoolType) ToOldType

func (typ *BoolType) ToOldType() (yt_schema.Type, error)

func (*BoolType) Validate

func (typ *BoolType) Validate(value base.Value) error

type BoolValue

type BoolValue interface {
	base.Value
	BoolValue() *bool
}

type BytesType

type BytesType struct {
}

func NewBytesType

func NewBytesType() *BytesType

func (*BytesType) Cast

func (typ *BytesType) Cast(value base.Value) (BytesValue, error)

func (*BytesType) ToOldType

func (typ *BytesType) ToOldType() (yt_schema.Type, error)

func (*BytesType) Validate

func (typ *BytesType) Validate(value base.Value) error

type BytesValue

type BytesValue interface {
	base.Value
	BytesValue() []byte
}

type CompositeType

type CompositeType struct {
}

func NewCompositeType

func NewCompositeType() *CompositeType

func (*CompositeType) Cast

func (typ *CompositeType) Cast(value base.Value) (CompositeValue, error)

func (*CompositeType) ToOldType

func (typ *CompositeType) ToOldType() (yt_schema.Type, error)

func (*CompositeType) Validate

func (typ *CompositeType) Validate(value base.Value) error

type CompositeValue

type CompositeValue interface {
	base.Value
	CompositeValue() interface{}
}

type DateTimeType

type DateTimeType struct {
}

func NewDateTimeType

func NewDateTimeType() *DateTimeType

func (*DateTimeType) Cast

func (typ *DateTimeType) Cast(value base.Value) (DateTimeValue, error)

func (*DateTimeType) ToOldType

func (typ *DateTimeType) ToOldType() (yt_schema.Type, error)

func (*DateTimeType) Validate

func (typ *DateTimeType) Validate(value base.Value) error

type DateTimeValue

type DateTimeValue interface {
	base.Value
	DateTimeValue() *time.Time
}

type DateType

type DateType struct {
}

func NewDateType

func NewDateType() *DateType

func (*DateType) Cast

func (typ *DateType) Cast(value base.Value) (DateValue, error)

func (*DateType) ToOldType

func (typ *DateType) ToOldType() (yt_schema.Type, error)

func (*DateType) Validate

func (typ *DateType) Validate(value base.Value) error

type DateValue

type DateValue interface {
	base.Value
	DateValue() *time.Time
}

type DecimalType

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

func NewDecimalType

func NewDecimalType(precision int, scale int) *DecimalType

func (*DecimalType) Cast

func (typ *DecimalType) Cast(value base.Value) (DecimalValue, error)

func (*DecimalType) Precision

func (typ *DecimalType) Precision() int

func (*DecimalType) Scale

func (typ *DecimalType) Scale() int

func (*DecimalType) ToOldType

func (typ *DecimalType) ToOldType() (yt_schema.Type, error)

func (*DecimalType) Validate

func (typ *DecimalType) Validate(value base.Value) error

type DecimalValue

type DecimalValue interface {
	base.Value
	DecimalValue() *string
}

type DefaultBigFloatValue

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

func NewDefaultBigFloatValue

func NewDefaultBigFloatValue(value *string, column base.Column) *DefaultBigFloatValue

func (*DefaultBigFloatValue) BigFloatValue

func (value *DefaultBigFloatValue) BigFloatValue() *string

func (*DefaultBigFloatValue) Column

func (value *DefaultBigFloatValue) Column() base.Column

func (*DefaultBigFloatValue) ToOldValue

func (value *DefaultBigFloatValue) ToOldValue() (interface{}, error)

func (*DefaultBigFloatValue) Value

func (value *DefaultBigFloatValue) Value() interface{}

type DefaultBoolValue

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

func NewDefaultBoolValue

func NewDefaultBoolValue(value *bool, column base.Column) *DefaultBoolValue

func (*DefaultBoolValue) BoolValue

func (value *DefaultBoolValue) BoolValue() *bool

func (*DefaultBoolValue) Column

func (value *DefaultBoolValue) Column() base.Column

func (*DefaultBoolValue) ToOldValue

func (value *DefaultBoolValue) ToOldValue() (interface{}, error)

func (*DefaultBoolValue) Value

func (value *DefaultBoolValue) Value() interface{}

type DefaultBytesValue

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

func NewDefaultBytesValue

func NewDefaultBytesValue(value []byte, column base.Column) *DefaultBytesValue

func (*DefaultBytesValue) BytesValue

func (value *DefaultBytesValue) BytesValue() []byte

func (*DefaultBytesValue) Column

func (value *DefaultBytesValue) Column() base.Column

func (*DefaultBytesValue) ToOldValue

func (value *DefaultBytesValue) ToOldValue() (interface{}, error)

func (*DefaultBytesValue) Value

func (value *DefaultBytesValue) Value() interface{}

type DefaultCompositeValue

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

func NewDefaultCompositeValue

func NewDefaultCompositeValue(value interface{}, column base.Column) *DefaultCompositeValue

func (*DefaultCompositeValue) Column

func (value *DefaultCompositeValue) Column() base.Column

func (*DefaultCompositeValue) CompositeValue

func (value *DefaultCompositeValue) CompositeValue() interface{}

func (*DefaultCompositeValue) ToOldValue

func (value *DefaultCompositeValue) ToOldValue() (interface{}, error)

func (*DefaultCompositeValue) Value

func (value *DefaultCompositeValue) Value() interface{}

type DefaultDateTimeValue

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

func NewDefaultDateTimeValue

func NewDefaultDateTimeValue(value *time.Time, column base.Column) *DefaultDateTimeValue

func (*DefaultDateTimeValue) Column

func (value *DefaultDateTimeValue) Column() base.Column

func (*DefaultDateTimeValue) DateTimeValue

func (value *DefaultDateTimeValue) DateTimeValue() *time.Time

func (*DefaultDateTimeValue) ToOldValue

func (value *DefaultDateTimeValue) ToOldValue() (interface{}, error)

func (*DefaultDateTimeValue) Value

func (value *DefaultDateTimeValue) Value() interface{}

type DefaultDateValue

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

func NewDefaultDateValue

func NewDefaultDateValue(value *time.Time, column base.Column) *DefaultDateValue

func (*DefaultDateValue) Column

func (value *DefaultDateValue) Column() base.Column

func (*DefaultDateValue) DateValue

func (value *DefaultDateValue) DateValue() *time.Time

func (*DefaultDateValue) ToOldValue

func (value *DefaultDateValue) ToOldValue() (interface{}, error)

func (*DefaultDateValue) Value

func (value *DefaultDateValue) Value() interface{}

type DefaultDecimalValue

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

func NewDefaultDecimalValue

func NewDefaultDecimalValue(value *string, column base.Column) *DefaultDecimalValue

func (*DefaultDecimalValue) Column

func (value *DefaultDecimalValue) Column() base.Column

func (*DefaultDecimalValue) DecimalValue

func (value *DefaultDecimalValue) DecimalValue() *string

func (*DefaultDecimalValue) ToOldValue

func (value *DefaultDecimalValue) ToOldValue() (interface{}, error)

func (*DefaultDecimalValue) Value

func (value *DefaultDecimalValue) Value() interface{}

type DefaultDoubleValue

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

func NewDefaultDoubleValue

func NewDefaultDoubleValue(value *float64, column base.Column) *DefaultDoubleValue

func (*DefaultDoubleValue) Column

func (value *DefaultDoubleValue) Column() base.Column

func (*DefaultDoubleValue) DoubleValue

func (value *DefaultDoubleValue) DoubleValue() *float64

func (*DefaultDoubleValue) ToOldValue

func (value *DefaultDoubleValue) ToOldValue() (interface{}, error)

func (*DefaultDoubleValue) Value

func (value *DefaultDoubleValue) Value() interface{}

type DefaultFloatValue

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

func NewDefaultFloatValue

func NewDefaultFloatValue(value *float32, column base.Column) *DefaultFloatValue

func (*DefaultFloatValue) Column

func (value *DefaultFloatValue) Column() base.Column

func (*DefaultFloatValue) FloatValue

func (value *DefaultFloatValue) FloatValue() *float32

func (*DefaultFloatValue) ToOldValue

func (value *DefaultFloatValue) ToOldValue() (interface{}, error)

func (*DefaultFloatValue) Value

func (value *DefaultFloatValue) Value() interface{}

type DefaultInt16Value

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

func NewDefaultInt16Value

func NewDefaultInt16Value(value *int16, column base.Column) *DefaultInt16Value

func (*DefaultInt16Value) Column

func (value *DefaultInt16Value) Column() base.Column

func (*DefaultInt16Value) Int16Value

func (value *DefaultInt16Value) Int16Value() *int16

func (*DefaultInt16Value) ToOldValue

func (value *DefaultInt16Value) ToOldValue() (interface{}, error)

func (*DefaultInt16Value) Value

func (value *DefaultInt16Value) Value() interface{}

type DefaultInt32Value

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

func NewDefaultInt32Value

func NewDefaultInt32Value(value *int32, column base.Column) *DefaultInt32Value

func (*DefaultInt32Value) Column

func (value *DefaultInt32Value) Column() base.Column

func (*DefaultInt32Value) Int32Value

func (value *DefaultInt32Value) Int32Value() *int32

func (*DefaultInt32Value) ToOldValue

func (value *DefaultInt32Value) ToOldValue() (interface{}, error)

func (*DefaultInt32Value) Value

func (value *DefaultInt32Value) Value() interface{}

type DefaultInt64Value

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

func NewDefaultInt64Value

func NewDefaultInt64Value(value *int64, column base.Column) *DefaultInt64Value

func (*DefaultInt64Value) Column

func (value *DefaultInt64Value) Column() base.Column

func (*DefaultInt64Value) Int64Value

func (value *DefaultInt64Value) Int64Value() *int64

func (*DefaultInt64Value) ToOldValue

func (value *DefaultInt64Value) ToOldValue() (interface{}, error)

func (*DefaultInt64Value) Value

func (value *DefaultInt64Value) Value() interface{}

type DefaultInt8Value

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

func NewDefaultInt8Value

func NewDefaultInt8Value(value *int8, column base.Column) *DefaultInt8Value

func (*DefaultInt8Value) Column

func (value *DefaultInt8Value) Column() base.Column

func (*DefaultInt8Value) Int8Value

func (value *DefaultInt8Value) Int8Value() *int8

func (*DefaultInt8Value) ToOldValue

func (value *DefaultInt8Value) ToOldValue() (interface{}, error)

func (*DefaultInt8Value) Value

func (value *DefaultInt8Value) Value() interface{}

type DefaultIntervalValue

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

func NewDefaultIntervalValue

func NewDefaultIntervalValue(value *time.Duration, column base.Column) *DefaultIntervalValue

func (*DefaultIntervalValue) Column

func (value *DefaultIntervalValue) Column() base.Column

func (*DefaultIntervalValue) IntervalValue

func (value *DefaultIntervalValue) IntervalValue() *time.Duration

func (*DefaultIntervalValue) ToOldValue

func (value *DefaultIntervalValue) ToOldValue() (interface{}, error)

func (*DefaultIntervalValue) Value

func (value *DefaultIntervalValue) Value() interface{}

type DefaultJSONValue

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

func NewDefaultJSONValue

func NewDefaultJSONValue(value interface{}, column base.Column) *DefaultJSONValue

func (*DefaultJSONValue) Column

func (v *DefaultJSONValue) Column() base.Column

func (*DefaultJSONValue) JSONValue

func (v *DefaultJSONValue) JSONValue() ([]byte, error)

func (*DefaultJSONValue) ToOldValue

func (v *DefaultJSONValue) ToOldValue() (interface{}, error)

func (*DefaultJSONValue) Value

func (v *DefaultJSONValue) Value() interface{}

type DefaultStringValue

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

func NewDefaultStringValue

func NewDefaultStringValue(value *string, column base.Column) *DefaultStringValue

func (*DefaultStringValue) Column

func (value *DefaultStringValue) Column() base.Column

func (*DefaultStringValue) StringValue

func (value *DefaultStringValue) StringValue() *string

func (*DefaultStringValue) ToOldValue

func (value *DefaultStringValue) ToOldValue() (interface{}, error)

func (*DefaultStringValue) Value

func (value *DefaultStringValue) Value() interface{}

type DefaultTimestampTZValue

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

func NewDefaultTimestampTZValue

func NewDefaultTimestampTZValue(value *time.Time, column base.Column) *DefaultTimestampTZValue

func (*DefaultTimestampTZValue) Column

func (value *DefaultTimestampTZValue) Column() base.Column

func (*DefaultTimestampTZValue) TimestampTZValue

func (value *DefaultTimestampTZValue) TimestampTZValue() *time.Time

func (*DefaultTimestampTZValue) ToOldValue

func (value *DefaultTimestampTZValue) ToOldValue() (interface{}, error)

func (*DefaultTimestampTZValue) Value

func (value *DefaultTimestampTZValue) Value() interface{}

type DefaultTimestampValue

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

func NewDefaultTimestampValue

func NewDefaultTimestampValue(value *time.Time, column base.Column) *DefaultTimestampValue

func (*DefaultTimestampValue) Column

func (value *DefaultTimestampValue) Column() base.Column

func (*DefaultTimestampValue) TimestampValue

func (value *DefaultTimestampValue) TimestampValue() *time.Time

func (*DefaultTimestampValue) ToOldValue

func (value *DefaultTimestampValue) ToOldValue() (interface{}, error)

func (*DefaultTimestampValue) Value

func (value *DefaultTimestampValue) Value() interface{}

type DefaultUInt16Value

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

func NewDefaultUInt16Value

func NewDefaultUInt16Value(value *uint16, column base.Column) *DefaultUInt16Value

func (*DefaultUInt16Value) Column

func (value *DefaultUInt16Value) Column() base.Column

func (*DefaultUInt16Value) ToOldValue

func (value *DefaultUInt16Value) ToOldValue() (interface{}, error)

func (*DefaultUInt16Value) UInt16Value

func (value *DefaultUInt16Value) UInt16Value() *uint16

func (*DefaultUInt16Value) Value

func (value *DefaultUInt16Value) Value() interface{}

type DefaultUInt32Value

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

func NewDefaultUInt32Value

func NewDefaultUInt32Value(value *uint32, column base.Column) *DefaultUInt32Value

func (*DefaultUInt32Value) Column

func (value *DefaultUInt32Value) Column() base.Column

func (*DefaultUInt32Value) ToOldValue

func (value *DefaultUInt32Value) ToOldValue() (interface{}, error)

func (*DefaultUInt32Value) UInt32Value

func (value *DefaultUInt32Value) UInt32Value() *uint32

func (*DefaultUInt32Value) Value

func (value *DefaultUInt32Value) Value() interface{}

type DefaultUInt64Value

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

func NewDefaultUInt64Value

func NewDefaultUInt64Value(value *uint64, column base.Column) *DefaultUInt64Value

func (*DefaultUInt64Value) Column

func (value *DefaultUInt64Value) Column() base.Column

func (*DefaultUInt64Value) ToOldValue

func (value *DefaultUInt64Value) ToOldValue() (interface{}, error)

func (*DefaultUInt64Value) UInt64Value

func (value *DefaultUInt64Value) UInt64Value() *uint64

func (*DefaultUInt64Value) Value

func (value *DefaultUInt64Value) Value() interface{}

type DefaultUInt8Value

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

func NewDefaultUInt8Value

func NewDefaultUInt8Value(value *uint8, column base.Column) *DefaultUInt8Value

func (*DefaultUInt8Value) Column

func (value *DefaultUInt8Value) Column() base.Column

func (*DefaultUInt8Value) ToOldValue

func (value *DefaultUInt8Value) ToOldValue() (interface{}, error)

func (*DefaultUInt8Value) UInt8Value

func (value *DefaultUInt8Value) UInt8Value() *uint8

func (*DefaultUInt8Value) Value

func (value *DefaultUInt8Value) Value() interface{}

type DoubleType

type DoubleType struct{}

func NewDoubleType

func NewDoubleType() *DoubleType

func (*DoubleType) Cast

func (typ *DoubleType) Cast(value base.Value) (DoubleValue, error)

func (*DoubleType) ToOldType

func (typ *DoubleType) ToOldType() (yt_schema.Type, error)

func (*DoubleType) Validate

func (typ *DoubleType) Validate(value base.Value) error

type DoubleValue

type DoubleValue interface {
	base.Value
	DoubleValue() *float64
}

type FloatType

type FloatType struct {
}

func NewFloatType

func NewFloatType() *FloatType

func (*FloatType) Cast

func (typ *FloatType) Cast(value base.Value) (FloatValue, error)

func (*FloatType) ToOldType

func (typ *FloatType) ToOldType() (yt_schema.Type, error)

func (*FloatType) Validate

func (typ *FloatType) Validate(value base.Value) error

type FloatValue

type FloatValue interface {
	base.Value
	FloatValue() *float32
}

type Int16Type

type Int16Type struct {
}

func NewInt16Type

func NewInt16Type() *Int16Type

func (*Int16Type) Cast

func (typ *Int16Type) Cast(value base.Value) (Int16Value, error)

func (*Int16Type) ToOldType

func (typ *Int16Type) ToOldType() (yt_schema.Type, error)

func (*Int16Type) Validate

func (typ *Int16Type) Validate(value base.Value) error

type Int16Value

type Int16Value interface {
	base.Value
	Int16Value() *int16
}

type Int32Type

type Int32Type struct {
}

func NewInt32Type

func NewInt32Type() *Int32Type

func (*Int32Type) Cast

func (typ *Int32Type) Cast(value base.Value) (Int32Value, error)

func (*Int32Type) ToOldType

func (typ *Int32Type) ToOldType() (yt_schema.Type, error)

func (*Int32Type) Validate

func (typ *Int32Type) Validate(value base.Value) error

type Int32Value

type Int32Value interface {
	base.Value
	Int32Value() *int32
}

type Int64Type

type Int64Type struct {
}

func NewInt64Type

func NewInt64Type() *Int64Type

func (*Int64Type) Cast

func (typ *Int64Type) Cast(value base.Value) (Int64Value, error)

func (*Int64Type) ToOldType

func (typ *Int64Type) ToOldType() (yt_schema.Type, error)

func (*Int64Type) Validate

func (typ *Int64Type) Validate(value base.Value) error

type Int64Value

type Int64Value interface {
	base.Value
	Int64Value() *int64
}

type Int8Type

type Int8Type struct {
}

func NewInt8Type

func NewInt8Type() *Int8Type

func (*Int8Type) Cast

func (typ *Int8Type) Cast(value base.Value) (Int8Value, error)

func (*Int8Type) ToOldType

func (typ *Int8Type) ToOldType() (yt_schema.Type, error)

func (*Int8Type) Validate

func (typ *Int8Type) Validate(value base.Value) error

type Int8Value

type Int8Value interface {
	base.Value
	Int8Value() *int8
}

type IntervalType

type IntervalType struct {
}

func NewIntervalType

func NewIntervalType() *IntervalType

func (*IntervalType) Cast

func (typ *IntervalType) Cast(value base.Value) (IntervalValue, error)

func (*IntervalType) ToOldType

func (typ *IntervalType) ToOldType() (yt_schema.Type, error)

func (*IntervalType) Validate

func (typ *IntervalType) Validate(value base.Value) error

type IntervalValue

type IntervalValue interface {
	base.Value
	IntervalValue() *time.Duration
}

type JSONType

type JSONType struct{}

func NewJSONType

func NewJSONType() *JSONType

func (*JSONType) ToOldType

func (t *JSONType) ToOldType() (schema.Type, error)

func (*JSONType) Validate

func (t *JSONType) Validate(value base.Value) error

type JSONValue

type JSONValue interface {
	base.Value
	JSONValue() ([]byte, error)
}

type StringType

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

func NewStringType

func NewStringType(length int) *StringType

func (*StringType) Cast

func (typ *StringType) Cast(value base.Value) (StringValue, error)

func (*StringType) Length

func (typ *StringType) Length() int

func (*StringType) ToOldType

func (typ *StringType) ToOldType() (yt_schema.Type, error)

func (*StringType) Validate

func (typ *StringType) Validate(value base.Value) error

type StringValue

type StringValue interface {
	base.Value
	StringValue() *string
}

type TimestampTZType

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

func NewTimestampTZType

func NewTimestampTZType(precision int) *TimestampTZType

func (*TimestampTZType) Cast

func (typ *TimestampTZType) Cast(value base.Value) (TimestampTZValue, error)

func (*TimestampTZType) Precision

func (typ *TimestampTZType) Precision() int

func (*TimestampTZType) ToOldType

func (typ *TimestampTZType) ToOldType() (yt_schema.Type, error)

func (*TimestampTZType) Validate

func (typ *TimestampTZType) Validate(value base.Value) error

type TimestampTZValue

type TimestampTZValue interface {
	base.Value
	TimestampTZValue() *time.Time
}

type TimestampType

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

func NewTimestampType

func NewTimestampType(precision int) *TimestampType

func (*TimestampType) Cast

func (typ *TimestampType) Cast(value base.Value) (TimestampValue, error)

func (*TimestampType) Precision

func (typ *TimestampType) Precision() int

func (*TimestampType) ToOldType

func (typ *TimestampType) ToOldType() (yt_schema.Type, error)

func (*TimestampType) Validate

func (typ *TimestampType) Validate(value base.Value) error

type TimestampValue

type TimestampValue interface {
	base.Value
	TimestampValue() *time.Time
}

type UInt16Type

type UInt16Type struct {
}

func NewUInt16Type

func NewUInt16Type() *UInt16Type

func (*UInt16Type) Cast

func (typ *UInt16Type) Cast(value base.Value) (UInt16Value, error)

func (*UInt16Type) ToOldType

func (typ *UInt16Type) ToOldType() (yt_schema.Type, error)

func (*UInt16Type) Validate

func (typ *UInt16Type) Validate(value base.Value) error

type UInt16Value

type UInt16Value interface {
	base.Value
	UInt16Value() *uint16
}

type UInt32Type

type UInt32Type struct {
}

func NewUInt32Type

func NewUInt32Type() *UInt32Type

func (*UInt32Type) Cast

func (typ *UInt32Type) Cast(value base.Value) (UInt32Value, error)

func (*UInt32Type) ToOldType

func (typ *UInt32Type) ToOldType() (yt_schema.Type, error)

func (*UInt32Type) Validate

func (typ *UInt32Type) Validate(value base.Value) error

type UInt32Value

type UInt32Value interface {
	base.Value
	UInt32Value() *uint32
}

type UInt64Type

type UInt64Type struct {
}

func NewUInt64Type

func NewUInt64Type() *UInt64Type

func (*UInt64Type) Cast

func (typ *UInt64Type) Cast(value base.Value) (UInt64Value, error)

func (*UInt64Type) ToOldType

func (typ *UInt64Type) ToOldType() (yt_schema.Type, error)

func (*UInt64Type) Validate

func (typ *UInt64Type) Validate(value base.Value) error

type UInt64Value

type UInt64Value interface {
	base.Value
	UInt64Value() *uint64
}

type UInt8Type

type UInt8Type struct {
}

func NewUInt8Type

func NewUInt8Type() *UInt8Type

func (*UInt8Type) Cast

func (typ *UInt8Type) Cast(value base.Value) (UInt8Value, error)

func (*UInt8Type) ToOldType

func (typ *UInt8Type) ToOldType() (yt_schema.Type, error)

func (*UInt8Type) Validate

func (typ *UInt8Type) Validate(value base.Value) error

type UInt8Value

type UInt8Value interface {
	base.Value
	UInt8Value() *uint8
}

Jump to

Keyboard shortcuts

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