Documentation ¶
Index ¶
- type BigFloatType
- type BigFloatValue
- type BoolType
- type BoolValue
- type BytesType
- type BytesValue
- type CompositeType
- type CompositeValue
- type DateTimeType
- type DateTimeValue
- type DateType
- type DateValue
- type DecimalType
- type DecimalValue
- type DefaultBigFloatValue
- type DefaultBoolValue
- type DefaultBytesValue
- type DefaultCompositeValue
- type DefaultDateTimeValue
- type DefaultDateValue
- type DefaultDecimalValue
- type DefaultDoubleValue
- type DefaultFloatValue
- type DefaultInt16Value
- type DefaultInt32Value
- type DefaultInt64Value
- type DefaultInt8Value
- type DefaultIntervalValue
- type DefaultJSONValue
- type DefaultStringValue
- type DefaultTimestampTZValue
- type DefaultTimestampValue
- type DefaultUInt16Value
- type DefaultUInt32Value
- type DefaultUInt64Value
- type DefaultUInt8Value
- type DoubleType
- type DoubleValue
- type FloatType
- type FloatValue
- type Int16Type
- type Int16Value
- type Int32Type
- type Int32Value
- type Int64Type
- type Int64Value
- type Int8Type
- type Int8Value
- type IntervalType
- type IntervalValue
- type JSONType
- type JSONValue
- type StringType
- type StringValue
- type TimestampTZType
- type TimestampTZValue
- type TimestampType
- type TimestampValue
- type UInt16Type
- type UInt16Value
- type UInt32Type
- type UInt32Value
- type UInt64Type
- type UInt64Value
- type UInt8Type
- type UInt8Value
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
type BigFloatValue ¶
type BytesValue ¶
type CompositeType ¶
type CompositeType struct { }
func NewCompositeType ¶
func NewCompositeType() *CompositeType
func (*CompositeType) Cast ¶
func (typ *CompositeType) Cast(value base.Value) (CompositeValue, error)
type CompositeValue ¶
type DateTimeType ¶
type DateTimeType struct { }
func NewDateTimeType ¶
func NewDateTimeType() *DateTimeType
func (*DateTimeType) Cast ¶
func (typ *DateTimeType) Cast(value base.Value) (DateTimeValue, error)
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
type DecimalValue ¶
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)
type DoubleValue ¶
type FloatValue ¶
type Int16Value ¶
type Int32Value ¶
type Int64Value ¶
type IntervalType ¶
type IntervalType struct { }
func NewIntervalType ¶
func NewIntervalType() *IntervalType
func (*IntervalType) Cast ¶
func (typ *IntervalType) Cast(value base.Value) (IntervalValue, 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
type StringValue ¶
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
type TimestampTZValue ¶
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
type UInt16Type ¶
type UInt16Type struct { }
func NewUInt16Type ¶
func NewUInt16Type() *UInt16Type
func (*UInt16Type) Cast ¶
func (typ *UInt16Type) Cast(value base.Value) (UInt16Value, error)
type UInt16Value ¶
type UInt32Type ¶
type UInt32Type struct { }
func NewUInt32Type ¶
func NewUInt32Type() *UInt32Type
func (*UInt32Type) Cast ¶
func (typ *UInt32Type) Cast(value base.Value) (UInt32Value, error)
type UInt32Value ¶
type UInt64Type ¶
type UInt64Type struct { }
func NewUInt64Type ¶
func NewUInt64Type() *UInt64Type
func (*UInt64Type) Cast ¶
func (typ *UInt64Type) Cast(value base.Value) (UInt64Value, error)
type UInt64Value ¶
type UInt8Value ¶
Click to show internal directories.
Click to hide internal directories.