Documentation ¶
Index ¶
- Constants
- Variables
- type Boolean
- func CastToBoolean(v interface{}) (Boolean, bool)
- func Eq(left Object, right Object) (Boolean, error)
- func Greater(left Object, right Object) (Boolean, error)
- func GreaterEq(left Object, right Object) (Boolean, error)
- func IsNil(o Object) Boolean
- func Less(left Object, right Object) (Boolean, error)
- func LessEq(left Object, right Object) (Boolean, error)
- func Neq(left Object, right Object) (Boolean, error)
- func NewBoolean(v bool) Boolean
- func ToBoolean(o Object) Boolean
- func (e Boolean) Eq(r Object) (Boolean, error)
- func (e Boolean) Greater(r Object) (Boolean, error)
- func (e Boolean) GreaterEq(r Object) (Boolean, error)
- func (e Boolean) Less(r Object) (Boolean, error)
- func (e Boolean) LessEq(r Object) (Boolean, error)
- func (e Boolean) Neq(r Object) (Boolean, error)
- func (t Boolean) ToBoolean() Boolean
- func (t Boolean) ToBooleanChecked() (Boolean, Boolean)
- func (t Boolean) ToDate32() Date32
- func (t Boolean) ToDate32Checked() (Date32, Boolean)
- func (t Boolean) ToDate64() Date64
- func (t Boolean) ToDate64Checked() (Date64, Boolean)
- func (t Boolean) ToDayTimeInterval() DayTimeInterval
- func (t Boolean) ToDayTimeIntervalChecked() (DayTimeInterval, Boolean)
- func (t Boolean) ToDecimal128() Decimal128
- func (t Boolean) ToDecimal128Checked() (Decimal128, Boolean)
- func (t Boolean) ToDuration() Duration
- func (t Boolean) ToDurationChecked() (Duration, Boolean)
- func (t Boolean) ToFloat16() Float16
- func (t Boolean) ToFloat16Checked() (Float16, Boolean)
- func (t Boolean) ToFloat32() Float32
- func (t Boolean) ToFloat32Checked() (Float32, Boolean)
- func (t Boolean) ToFloat64() Float64
- func (t Boolean) ToFloat64Checked() (Float64, Boolean)
- func (t Boolean) ToInt16() Int16
- func (t Boolean) ToInt16Checked() (Int16, Boolean)
- func (t Boolean) ToInt32() Int32
- func (t Boolean) ToInt32Checked() (Int32, Boolean)
- func (t Boolean) ToInt64() Int64
- func (t Boolean) ToInt64Checked() (Int64, Boolean)
- func (t Boolean) ToInt8() Int8
- func (t Boolean) ToInt8Checked() (Int8, Boolean)
- func (t Boolean) ToMonthInterval() MonthInterval
- func (t Boolean) ToMonthIntervalChecked() (MonthInterval, Boolean)
- func (t Boolean) ToString() String
- func (t Boolean) ToStringChecked() (String, Boolean)
- func (t Boolean) ToTime32() Time32
- func (t Boolean) ToTime32Checked() (Time32, Boolean)
- func (t Boolean) ToTime64() Time64
- func (t Boolean) ToTime64Checked() (Time64, Boolean)
- func (t Boolean) ToTimestamp() Timestamp
- func (t Boolean) ToTimestampChecked() (Timestamp, Boolean)
- func (t Boolean) ToUint16() Uint16
- func (t Boolean) ToUint16Checked() (Uint16, Boolean)
- func (t Boolean) ToUint32() Uint32
- func (t Boolean) ToUint32Checked() (Uint32, Boolean)
- func (t Boolean) ToUint64() Uint64
- func (t Boolean) ToUint64Checked() (Uint64, Boolean)
- func (t Boolean) ToUint8() Uint8
- func (t Boolean) ToUint8Checked() (Uint8, Boolean)
- func (e Boolean) Value() bool
- type CastableToBoolean
- type CastableToDate32
- type CastableToDate64
- type CastableToDayTimeInterval
- type CastableToDecimal128
- type CastableToDuration
- type CastableToFloat16
- type CastableToFloat32
- type CastableToFloat64
- type CastableToInt16
- type CastableToInt32
- type CastableToInt64
- type CastableToInt8
- type CastableToMonthInterval
- type CastableToString
- type CastableToTime32
- type CastableToTime64
- type CastableToTimestamp
- type CastableToUint16
- type CastableToUint32
- type CastableToUint64
- type CastableToUint8
- type Comparable
- type Date32
- func (e Date32) Eq(r Object) (Boolean, error)
- func (e Date32) Greater(r Object) (Boolean, error)
- func (e Date32) GreaterEq(r Object) (Boolean, error)
- func (e Date32) Less(r Object) (Boolean, error)
- func (e Date32) LessEq(r Object) (Boolean, error)
- func (e Date32) Neq(r Object) (Boolean, error)
- func (t Date32) ToBoolean() Boolean
- func (t Date32) ToBooleanChecked() (Boolean, Boolean)
- func (t Date32) ToDate32() Date32
- func (t Date32) ToDate32Checked() (Date32, Boolean)
- func (t Date32) ToDate64() Date64
- func (t Date32) ToDate64Checked() (Date64, Boolean)
- func (t Date32) ToInt32() Int32
- func (t Date32) ToInt32Checked() (Int32, Boolean)
- func (t Date32) ToInt64() Int64
- func (t Date32) ToInt64Checked() (Int64, Boolean)
- func (t Date32) ToString() String
- func (t Date32) ToStringChecked() (String, Boolean)
- func (t Date32) ToUint64() Uint64
- func (t Date32) ToUint64Checked() (Uint64, Boolean)
- func (e Date32) Value() arrow.Date32
- type Date64
- func (e Date64) Eq(r Object) (Boolean, error)
- func (e Date64) Greater(r Object) (Boolean, error)
- func (e Date64) GreaterEq(r Object) (Boolean, error)
- func (e Date64) Less(r Object) (Boolean, error)
- func (e Date64) LessEq(r Object) (Boolean, error)
- func (e Date64) Neq(r Object) (Boolean, error)
- func (t Date64) ToBoolean() Boolean
- func (t Date64) ToBooleanChecked() (Boolean, Boolean)
- func (t Date64) ToDate32() Date32
- func (t Date64) ToDate32Checked() (Date32, Boolean)
- func (t Date64) ToDate64() Date64
- func (t Date64) ToDate64Checked() (Date64, Boolean)
- func (t Date64) ToFloat32() Float32
- func (t Date64) ToFloat32Checked() (Float32, Boolean)
- func (t Date64) ToFloat64() Float64
- func (t Date64) ToFloat64Checked() (Float64, Boolean)
- func (t Date64) ToInt16() Int16
- func (t Date64) ToInt16Checked() (Int16, Boolean)
- func (t Date64) ToInt32() Int32
- func (t Date64) ToInt32Checked() (Int32, Boolean)
- func (t Date64) ToInt64() Int64
- func (t Date64) ToInt64Checked() (Int64, Boolean)
- func (t Date64) ToInt8() Int8
- func (t Date64) ToInt8Checked() (Int8, Boolean)
- func (t Date64) ToString() String
- func (t Date64) ToStringChecked() (String, Boolean)
- func (t Date64) ToTime32() Time32
- func (t Date64) ToTime32Checked() (Time32, Boolean)
- func (t Date64) ToTime64() Time64
- func (t Date64) ToTime64Checked() (Time64, Boolean)
- func (t Date64) ToTimestamp() Timestamp
- func (t Date64) ToTimestampChecked() (Timestamp, Boolean)
- func (t Date64) ToUint16() Uint16
- func (t Date64) ToUint16Checked() (Uint16, Boolean)
- func (t Date64) ToUint32() Uint32
- func (t Date64) ToUint32Checked() (Uint32, Boolean)
- func (t Date64) ToUint64() Uint64
- func (t Date64) ToUint64Checked() (Uint64, Boolean)
- func (t Date64) ToUint8() Uint8
- func (t Date64) ToUint8Checked() (Uint8, Boolean)
- func (e Date64) Value() arrow.Date64
- type DayTimeInterval
- func (e DayTimeInterval) Eq(r Object) (Boolean, error)
- func (e DayTimeInterval) Greater(r Object) (Boolean, error)
- func (e DayTimeInterval) GreaterEq(r Object) (Boolean, error)
- func (e DayTimeInterval) Less(r Object) (Boolean, error)
- func (e DayTimeInterval) LessEq(r Object) (Boolean, error)
- func (e DayTimeInterval) Neq(r Object) (Boolean, error)
- func (t DayTimeInterval) ToBoolean() Boolean
- func (t DayTimeInterval) ToBooleanChecked() (Boolean, Boolean)
- func (t DayTimeInterval) ToDayTimeInterval() DayTimeInterval
- func (t DayTimeInterval) ToDayTimeIntervalChecked() (DayTimeInterval, Boolean)
- func (t DayTimeInterval) ToString() String
- func (t DayTimeInterval) ToStringChecked() (String, Boolean)
- func (e DayTimeInterval) Value() arrow.DayTimeInterval
- type Decimal128
- func (e Decimal128) Eq(r Object) (Boolean, error)
- func (e Decimal128) Greater(r Object) (Boolean, error)
- func (e Decimal128) GreaterEq(r Object) (Boolean, error)
- func (e Decimal128) HighBits() int64
- func (e Decimal128) Less(r Object) (Boolean, error)
- func (e Decimal128) LessEq(r Object) (Boolean, error)
- func (e Decimal128) LowBits() uint64
- func (e Decimal128) MarshalJSON() ([]byte, error)
- func (e Decimal128) Neq(r Object) (Boolean, error)
- func (e Decimal128) Sign() int
- func (t Decimal128) ToBoolean() Boolean
- func (t Decimal128) ToBooleanChecked() (Boolean, Boolean)
- func (t Decimal128) ToDate32() Date32
- func (t Decimal128) ToDate32Checked() (Date32, Boolean)
- func (t Decimal128) ToDate64() Date64
- func (t Decimal128) ToDate64Checked() (Date64, Boolean)
- func (t Decimal128) ToDecimal128() Decimal128
- func (t Decimal128) ToDecimal128Checked() (Decimal128, Boolean)
- func (t Decimal128) ToFloat32() Float32
- func (t Decimal128) ToFloat32Checked() (Float32, Boolean)
- func (t Decimal128) ToFloat64() Float64
- func (t Decimal128) ToFloat64Checked() (Float64, Boolean)
- func (t Decimal128) ToInt16() Int16
- func (t Decimal128) ToInt16Checked() (Int16, Boolean)
- func (t Decimal128) ToInt64() Int64
- func (t Decimal128) ToInt64Checked() (Int64, Boolean)
- func (t Decimal128) ToInt8() Int8
- func (t Decimal128) ToInt8Checked() (Int8, Boolean)
- func (t Decimal128) ToString() String
- func (t Decimal128) ToStringChecked() (String, Boolean)
- func (t Decimal128) ToTime32() Time32
- func (t Decimal128) ToTime32Checked() (Time32, Boolean)
- func (t Decimal128) ToTime64() Time64
- func (t Decimal128) ToTime64Checked() (Time64, Boolean)
- func (t Decimal128) ToTimestamp() Timestamp
- func (t Decimal128) ToTimestampChecked() (Timestamp, Boolean)
- func (t Decimal128) ToUint16() Uint16
- func (t Decimal128) ToUint16Checked() (Uint16, Boolean)
- func (t Decimal128) ToUint32() Uint32
- func (t Decimal128) ToUint32Checked() (Uint32, Boolean)
- func (t Decimal128) ToUint64() Uint64
- func (t Decimal128) ToUint64Checked() (Uint64, Boolean)
- func (t Decimal128) ToUint8() Uint8
- func (t Decimal128) ToUint8Checked() (Uint8, Boolean)
- func (e *Decimal128) UnmarshalJSON(data []byte) error
- func (e Decimal128) Value() decimal128.Num
- type Duration
- func (e Duration) Eq(r Object) (Boolean, error)
- func (e Duration) Greater(r Object) (Boolean, error)
- func (e Duration) GreaterEq(r Object) (Boolean, error)
- func (e Duration) Less(r Object) (Boolean, error)
- func (e Duration) LessEq(r Object) (Boolean, error)
- func (e Duration) Neq(r Object) (Boolean, error)
- func (t Duration) ToBoolean() Boolean
- func (t Duration) ToBooleanChecked() (Boolean, Boolean)
- func (t Duration) ToDate32() Date32
- func (t Duration) ToDate32Checked() (Date32, Boolean)
- func (t Duration) ToDate64() Date64
- func (t Duration) ToDate64Checked() (Date64, Boolean)
- func (t Duration) ToDuration() Duration
- func (t Duration) ToDurationChecked() (Duration, Boolean)
- func (t Duration) ToFloat32() Float32
- func (t Duration) ToFloat32Checked() (Float32, Boolean)
- func (t Duration) ToFloat64() Float64
- func (t Duration) ToFloat64Checked() (Float64, Boolean)
- func (t Duration) ToInt16() Int16
- func (t Duration) ToInt16Checked() (Int16, Boolean)
- func (t Duration) ToInt64() Int64
- func (t Duration) ToInt64Checked() (Int64, Boolean)
- func (t Duration) ToInt8() Int8
- func (t Duration) ToInt8Checked() (Int8, Boolean)
- func (t Duration) ToString() String
- func (t Duration) ToStringChecked() (String, Boolean)
- func (t Duration) ToTime32() Time32
- func (t Duration) ToTime32Checked() (Time32, Boolean)
- func (t Duration) ToTime64() Time64
- func (t Duration) ToTime64Checked() (Time64, Boolean)
- func (t Duration) ToTimestamp() Timestamp
- func (t Duration) ToTimestampChecked() (Timestamp, Boolean)
- func (t Duration) ToUint16() Uint16
- func (t Duration) ToUint16Checked() (Uint16, Boolean)
- func (t Duration) ToUint32() Uint32
- func (t Duration) ToUint32Checked() (Uint32, Boolean)
- func (t Duration) ToUint64() Uint64
- func (t Duration) ToUint64Checked() (Uint64, Boolean)
- func (t Duration) ToUint8() Uint8
- func (t Duration) ToUint8Checked() (Uint8, Boolean)
- func (e Duration) Value() arrow.Duration
- type Float16
- func (e Float16) Eq(r Object) (Boolean, error)
- func (e Float16) Greater(r Object) (Boolean, error)
- func (e Float16) GreaterEq(r Object) (Boolean, error)
- func (e Float16) Less(r Object) (Boolean, error)
- func (e Float16) LessEq(r Object) (Boolean, error)
- func (e Float16) Neq(r Object) (Boolean, error)
- func (t Float16) ToBoolean() Boolean
- func (t Float16) ToBooleanChecked() (Boolean, Boolean)
- func (t Float16) ToDate32() Date32
- func (t Float16) ToDate32Checked() (Date32, Boolean)
- func (t Float16) ToDate64() Date64
- func (t Float16) ToDate64Checked() (Date64, Boolean)
- func (t Float16) ToFloat16() Float16
- func (t Float16) ToFloat16Checked() (Float16, Boolean)
- func (t Float16) ToFloat32() Float32
- func (t Float16) ToFloat32Checked() (Float32, Boolean)
- func (t Float16) ToFloat64() Float64
- func (t Float16) ToFloat64Checked() (Float64, Boolean)
- func (t Float16) ToInt16() Int16
- func (t Float16) ToInt16Checked() (Int16, Boolean)
- func (t Float16) ToInt32() Int32
- func (t Float16) ToInt32Checked() (Int32, Boolean)
- func (t Float16) ToInt64() Int64
- func (t Float16) ToInt64Checked() (Int64, Boolean)
- func (t Float16) ToInt8() Int8
- func (t Float16) ToInt8Checked() (Int8, Boolean)
- func (t Float16) ToString() String
- func (t Float16) ToStringChecked() (String, Boolean)
- func (t Float16) ToTime32() Time32
- func (t Float16) ToTime32Checked() (Time32, Boolean)
- func (t Float16) ToTime64() Time64
- func (t Float16) ToTime64Checked() (Time64, Boolean)
- func (t Float16) ToTimestamp() Timestamp
- func (t Float16) ToTimestampChecked() (Timestamp, Boolean)
- func (t Float16) ToUint16() Uint16
- func (t Float16) ToUint16Checked() (Uint16, Boolean)
- func (t Float16) ToUint32() Uint32
- func (t Float16) ToUint32Checked() (Uint32, Boolean)
- func (t Float16) ToUint64() Uint64
- func (t Float16) ToUint64Checked() (Uint64, Boolean)
- func (t Float16) ToUint8() Uint8
- func (t Float16) ToUint8Checked() (Uint8, Boolean)
- func (e Float16) Uint16() uint16
- func (e Float16) Value() float16.Num
- type Float32
- func (e Float32) Eq(r Object) (Boolean, error)
- func (e Float32) Greater(r Object) (Boolean, error)
- func (e Float32) GreaterEq(r Object) (Boolean, error)
- func (e Float32) Less(r Object) (Boolean, error)
- func (e Float32) LessEq(r Object) (Boolean, error)
- func (e Float32) Neq(r Object) (Boolean, error)
- func (t Float32) ToBoolean() Boolean
- func (t Float32) ToBooleanChecked() (Boolean, Boolean)
- func (t Float32) ToDate32() Date32
- func (t Float32) ToDate32Checked() (Date32, Boolean)
- func (t Float32) ToDate64() Date64
- func (t Float32) ToDate64Checked() (Date64, Boolean)
- func (t Float32) ToFloat16() Float16
- func (t Float32) ToFloat16Checked() (Float16, Boolean)
- func (t Float32) ToFloat32() Float32
- func (t Float32) ToFloat32Checked() (Float32, Boolean)
- func (t Float32) ToFloat64() Float64
- func (t Float32) ToFloat64Checked() (Float64, Boolean)
- func (t Float32) ToInt16() Int16
- func (t Float32) ToInt16Checked() (Int16, Boolean)
- func (t Float32) ToInt32() Int32
- func (t Float32) ToInt32Checked() (Int32, Boolean)
- func (t Float32) ToInt64() Int64
- func (t Float32) ToInt64Checked() (Int64, Boolean)
- func (t Float32) ToInt8() Int8
- func (t Float32) ToInt8Checked() (Int8, Boolean)
- func (t Float32) ToString() String
- func (t Float32) ToStringChecked() (String, Boolean)
- func (t Float32) ToTime32() Time32
- func (t Float32) ToTime32Checked() (Time32, Boolean)
- func (t Float32) ToTime64() Time64
- func (t Float32) ToTime64Checked() (Time64, Boolean)
- func (t Float32) ToTimestamp() Timestamp
- func (t Float32) ToTimestampChecked() (Timestamp, Boolean)
- func (t Float32) ToUint16() Uint16
- func (t Float32) ToUint16Checked() (Uint16, Boolean)
- func (t Float32) ToUint32() Uint32
- func (t Float32) ToUint32Checked() (Uint32, Boolean)
- func (t Float32) ToUint64() Uint64
- func (t Float32) ToUint64Checked() (Uint64, Boolean)
- func (t Float32) ToUint8() Uint8
- func (t Float32) ToUint8Checked() (Uint8, Boolean)
- func (e Float32) Value() float32
- type Float64
- func (e Float64) Eq(r Object) (Boolean, error)
- func (e Float64) Greater(r Object) (Boolean, error)
- func (e Float64) GreaterEq(r Object) (Boolean, error)
- func (e Float64) Less(r Object) (Boolean, error)
- func (e Float64) LessEq(r Object) (Boolean, error)
- func (e Float64) Neq(r Object) (Boolean, error)
- func (t Float64) ToBoolean() Boolean
- func (t Float64) ToBooleanChecked() (Boolean, Boolean)
- func (t Float64) ToDate32() Date32
- func (t Float64) ToDate32Checked() (Date32, Boolean)
- func (t Float64) ToDate64() Date64
- func (t Float64) ToDate64Checked() (Date64, Boolean)
- func (t Float64) ToFloat32() Float32
- func (t Float64) ToFloat32Checked() (Float32, Boolean)
- func (t Float64) ToFloat64() Float64
- func (t Float64) ToFloat64Checked() (Float64, Boolean)
- func (t Float64) ToInt16() Int16
- func (t Float64) ToInt16Checked() (Int16, Boolean)
- func (t Float64) ToInt32() Int32
- func (t Float64) ToInt32Checked() (Int32, Boolean)
- func (t Float64) ToInt64() Int64
- func (t Float64) ToInt64Checked() (Int64, Boolean)
- func (t Float64) ToInt8() Int8
- func (t Float64) ToInt8Checked() (Int8, Boolean)
- func (t Float64) ToString() String
- func (t Float64) ToStringChecked() (String, Boolean)
- func (t Float64) ToTime32() Time32
- func (t Float64) ToTime32Checked() (Time32, Boolean)
- func (t Float64) ToTime64() Time64
- func (t Float64) ToTime64Checked() (Time64, Boolean)
- func (t Float64) ToTimestamp() Timestamp
- func (t Float64) ToTimestampChecked() (Timestamp, Boolean)
- func (t Float64) ToUint16() Uint16
- func (t Float64) ToUint16Checked() (Uint16, Boolean)
- func (t Float64) ToUint32() Uint32
- func (t Float64) ToUint32Checked() (Uint32, Boolean)
- func (t Float64) ToUint64() Uint64
- func (t Float64) ToUint64Checked() (Uint64, Boolean)
- func (t Float64) ToUint8() Uint8
- func (t Float64) ToUint8Checked() (Uint8, Boolean)
- func (e Float64) Value() float64
- type Int16
- func (e Int16) Eq(r Object) (Boolean, error)
- func (e Int16) Greater(r Object) (Boolean, error)
- func (e Int16) GreaterEq(r Object) (Boolean, error)
- func (e Int16) Less(r Object) (Boolean, error)
- func (e Int16) LessEq(r Object) (Boolean, error)
- func (e Int16) Neq(r Object) (Boolean, error)
- func (t Int16) ToBoolean() Boolean
- func (t Int16) ToBooleanChecked() (Boolean, Boolean)
- func (t Int16) ToDate32() Date32
- func (t Int16) ToDate32Checked() (Date32, Boolean)
- func (t Int16) ToDate64() Date64
- func (t Int16) ToDate64Checked() (Date64, Boolean)
- func (t Int16) ToFloat32() Float32
- func (t Int16) ToFloat32Checked() (Float32, Boolean)
- func (t Int16) ToFloat64() Float64
- func (t Int16) ToFloat64Checked() (Float64, Boolean)
- func (t Int16) ToInt16() Int16
- func (t Int16) ToInt16Checked() (Int16, Boolean)
- func (t Int16) ToInt32() Int32
- func (t Int16) ToInt32Checked() (Int32, Boolean)
- func (t Int16) ToInt64() Int64
- func (t Int16) ToInt64Checked() (Int64, Boolean)
- func (t Int16) ToInt8() Int8
- func (t Int16) ToInt8Checked() (Int8, Boolean)
- func (t Int16) ToString() String
- func (t Int16) ToStringChecked() (String, Boolean)
- func (t Int16) ToTime32() Time32
- func (t Int16) ToTime32Checked() (Time32, Boolean)
- func (t Int16) ToTime64() Time64
- func (t Int16) ToTime64Checked() (Time64, Boolean)
- func (t Int16) ToTimestamp() Timestamp
- func (t Int16) ToTimestampChecked() (Timestamp, Boolean)
- func (t Int16) ToUint16() Uint16
- func (t Int16) ToUint16Checked() (Uint16, Boolean)
- func (t Int16) ToUint32() Uint32
- func (t Int16) ToUint32Checked() (Uint32, Boolean)
- func (t Int16) ToUint64() Uint64
- func (t Int16) ToUint64Checked() (Uint64, Boolean)
- func (t Int16) ToUint8() Uint8
- func (t Int16) ToUint8Checked() (Uint8, Boolean)
- func (e Int16) Value() int16
- type Int32
- func (e Int32) Eq(r Object) (Boolean, error)
- func (e Int32) Greater(r Object) (Boolean, error)
- func (e Int32) GreaterEq(r Object) (Boolean, error)
- func (e Int32) Less(r Object) (Boolean, error)
- func (e Int32) LessEq(r Object) (Boolean, error)
- func (e Int32) Neq(r Object) (Boolean, error)
- func (t Int32) ToBoolean() Boolean
- func (t Int32) ToBooleanChecked() (Boolean, Boolean)
- func (t Int32) ToDate32() Date32
- func (t Int32) ToDate32Checked() (Date32, Boolean)
- func (t Int32) ToDate64() Date64
- func (t Int32) ToDate64Checked() (Date64, Boolean)
- func (t Int32) ToFloat32() Float32
- func (t Int32) ToFloat32Checked() (Float32, Boolean)
- func (t Int32) ToFloat64() Float64
- func (t Int32) ToFloat64Checked() (Float64, Boolean)
- func (t Int32) ToInt16() Int16
- func (t Int32) ToInt16Checked() (Int16, Boolean)
- func (t Int32) ToInt32() Int32
- func (t Int32) ToInt32Checked() (Int32, Boolean)
- func (t Int32) ToInt64() Int64
- func (t Int32) ToInt64Checked() (Int64, Boolean)
- func (t Int32) ToInt8() Int8
- func (t Int32) ToInt8Checked() (Int8, Boolean)
- func (t Int32) ToMonthInterval() MonthInterval
- func (t Int32) ToMonthIntervalChecked() (MonthInterval, Boolean)
- func (t Int32) ToString() String
- func (t Int32) ToStringChecked() (String, Boolean)
- func (t Int32) ToTime32() Time32
- func (t Int32) ToTime32Checked() (Time32, Boolean)
- func (t Int32) ToTime64() Time64
- func (t Int32) ToTime64Checked() (Time64, Boolean)
- func (t Int32) ToTimestamp() Timestamp
- func (t Int32) ToTimestampChecked() (Timestamp, Boolean)
- func (t Int32) ToUint16() Uint16
- func (t Int32) ToUint16Checked() (Uint16, Boolean)
- func (t Int32) ToUint32() Uint32
- func (t Int32) ToUint32Checked() (Uint32, Boolean)
- func (t Int32) ToUint64() Uint64
- func (t Int32) ToUint64Checked() (Uint64, Boolean)
- func (t Int32) ToUint8() Uint8
- func (t Int32) ToUint8Checked() (Uint8, Boolean)
- func (e Int32) Value() int32
- type Int64
- func (e Int64) Eq(r Object) (Boolean, error)
- func (e Int64) Greater(r Object) (Boolean, error)
- func (e Int64) GreaterEq(r Object) (Boolean, error)
- func (e Int64) Less(r Object) (Boolean, error)
- func (e Int64) LessEq(r Object) (Boolean, error)
- func (e Int64) Neq(r Object) (Boolean, error)
- func (t Int64) ToBoolean() Boolean
- func (t Int64) ToBooleanChecked() (Boolean, Boolean)
- func (t Int64) ToDate32() Date32
- func (t Int64) ToDate32Checked() (Date32, Boolean)
- func (t Int64) ToDate64() Date64
- func (t Int64) ToDate64Checked() (Date64, Boolean)
- func (t Int64) ToDecimal128() Decimal128
- func (t Int64) ToDecimal128Checked() (Decimal128, Boolean)
- func (t Int64) ToDuration() Duration
- func (t Int64) ToDurationChecked() (Duration, Boolean)
- func (t Int64) ToFloat32() Float32
- func (t Int64) ToFloat32Checked() (Float32, Boolean)
- func (t Int64) ToFloat64() Float64
- func (t Int64) ToFloat64Checked() (Float64, Boolean)
- func (t Int64) ToInt16() Int16
- func (t Int64) ToInt16Checked() (Int16, Boolean)
- func (t Int64) ToInt32() Int32
- func (t Int64) ToInt32Checked() (Int32, Boolean)
- func (t Int64) ToInt64() Int64
- func (t Int64) ToInt64Checked() (Int64, Boolean)
- func (t Int64) ToInt8() Int8
- func (t Int64) ToInt8Checked() (Int8, Boolean)
- func (t Int64) ToString() String
- func (t Int64) ToStringChecked() (String, Boolean)
- func (t Int64) ToTime32() Time32
- func (t Int64) ToTime32Checked() (Time32, Boolean)
- func (t Int64) ToTime64() Time64
- func (t Int64) ToTime64Checked() (Time64, Boolean)
- func (t Int64) ToTimestamp() Timestamp
- func (t Int64) ToTimestampChecked() (Timestamp, Boolean)
- func (t Int64) ToUint16() Uint16
- func (t Int64) ToUint16Checked() (Uint16, Boolean)
- func (t Int64) ToUint32() Uint32
- func (t Int64) ToUint32Checked() (Uint32, Boolean)
- func (t Int64) ToUint64() Uint64
- func (t Int64) ToUint64Checked() (Uint64, Boolean)
- func (t Int64) ToUint8() Uint8
- func (t Int64) ToUint8Checked() (Uint8, Boolean)
- func (e Int64) Value() int64
- type Int8
- func (e Int8) Eq(r Object) (Boolean, error)
- func (e Int8) Greater(r Object) (Boolean, error)
- func (e Int8) GreaterEq(r Object) (Boolean, error)
- func (e Int8) Less(r Object) (Boolean, error)
- func (e Int8) LessEq(r Object) (Boolean, error)
- func (e Int8) Neq(r Object) (Boolean, error)
- func (t Int8) ToBoolean() Boolean
- func (t Int8) ToBooleanChecked() (Boolean, Boolean)
- func (t Int8) ToDate32() Date32
- func (t Int8) ToDate32Checked() (Date32, Boolean)
- func (t Int8) ToDate64() Date64
- func (t Int8) ToDate64Checked() (Date64, Boolean)
- func (t Int8) ToFloat32() Float32
- func (t Int8) ToFloat32Checked() (Float32, Boolean)
- func (t Int8) ToFloat64() Float64
- func (t Int8) ToFloat64Checked() (Float64, Boolean)
- func (t Int8) ToInt16() Int16
- func (t Int8) ToInt16Checked() (Int16, Boolean)
- func (t Int8) ToInt32() Int32
- func (t Int8) ToInt32Checked() (Int32, Boolean)
- func (t Int8) ToInt64() Int64
- func (t Int8) ToInt64Checked() (Int64, Boolean)
- func (t Int8) ToInt8() Int8
- func (t Int8) ToInt8Checked() (Int8, Boolean)
- func (t Int8) ToString() String
- func (t Int8) ToStringChecked() (String, Boolean)
- func (t Int8) ToTime32() Time32
- func (t Int8) ToTime32Checked() (Time32, Boolean)
- func (t Int8) ToTime64() Time64
- func (t Int8) ToTime64Checked() (Time64, Boolean)
- func (t Int8) ToTimestamp() Timestamp
- func (t Int8) ToTimestampChecked() (Timestamp, Boolean)
- func (t Int8) ToUint16() Uint16
- func (t Int8) ToUint16Checked() (Uint16, Boolean)
- func (t Int8) ToUint32() Uint32
- func (t Int8) ToUint32Checked() (Uint32, Boolean)
- func (t Int8) ToUint64() Uint64
- func (t Int8) ToUint64Checked() (Uint64, Boolean)
- func (t Int8) ToUint8() Uint8
- func (t Int8) ToUint8Checked() (Uint8, Boolean)
- func (e Int8) Value() int8
- type MonthInterval
- func (e MonthInterval) Eq(r Object) (Boolean, error)
- func (e MonthInterval) Greater(r Object) (Boolean, error)
- func (e MonthInterval) GreaterEq(r Object) (Boolean, error)
- func (e MonthInterval) Less(r Object) (Boolean, error)
- func (e MonthInterval) LessEq(r Object) (Boolean, error)
- func (e MonthInterval) Neq(r Object) (Boolean, error)
- func (t MonthInterval) ToBoolean() Boolean
- func (t MonthInterval) ToBooleanChecked() (Boolean, Boolean)
- func (t MonthInterval) ToInt32() Int32
- func (t MonthInterval) ToInt32Checked() (Int32, Boolean)
- func (t MonthInterval) ToMonthInterval() MonthInterval
- func (t MonthInterval) ToMonthIntervalChecked() (MonthInterval, Boolean)
- func (t MonthInterval) ToString() String
- func (t MonthInterval) ToStringChecked() (String, Boolean)
- func (e MonthInterval) Value() arrow.MonthInterval
- type Null
- func (e Null) Eq(r Object) (Boolean, error)
- func (e Null) Greater(r Object) (Boolean, error)
- func (e Null) GreaterEq(r Object) (Boolean, error)
- func (e Null) Less(r Object) (Boolean, error)
- func (e Null) LessEq(r Object) (Boolean, error)
- func (e Null) Neq(r Object) (Boolean, error)
- func (e Null) String() string
- func (e Null) ToBoolean() Boolean
- func (e Null) Value() interface{}
- type Object
- type String
- func (e String) Eq(r Object) (Boolean, error)
- func (e String) Greater(r Object) (Boolean, error)
- func (e String) GreaterEq(r Object) (Boolean, error)
- func (e String) Less(r Object) (Boolean, error)
- func (e String) LessEq(r Object) (Boolean, error)
- func (e String) Neq(r Object) (Boolean, error)
- func (t String) ToBoolean() Boolean
- func (t String) ToBooleanChecked() (Boolean, Boolean)
- func (t String) ToString() String
- func (t String) ToStringChecked() (String, Boolean)
- func (e String) Value() string
- type Time32
- func (e Time32) Eq(r Object) (Boolean, error)
- func (e Time32) Greater(r Object) (Boolean, error)
- func (e Time32) GreaterEq(r Object) (Boolean, error)
- func (e Time32) Less(r Object) (Boolean, error)
- func (e Time32) LessEq(r Object) (Boolean, error)
- func (e Time32) Neq(r Object) (Boolean, error)
- func (t Time32) ToBoolean() Boolean
- func (t Time32) ToBooleanChecked() (Boolean, Boolean)
- func (t Time32) ToDate32() Date32
- func (t Time32) ToDate32Checked() (Date32, Boolean)
- func (t Time32) ToDate64() Date64
- func (t Time32) ToDate64Checked() (Date64, Boolean)
- func (t Time32) ToFloat32() Float32
- func (t Time32) ToFloat32Checked() (Float32, Boolean)
- func (t Time32) ToFloat64() Float64
- func (t Time32) ToFloat64Checked() (Float64, Boolean)
- func (t Time32) ToInt16() Int16
- func (t Time32) ToInt16Checked() (Int16, Boolean)
- func (t Time32) ToInt32() Int32
- func (t Time32) ToInt32Checked() (Int32, Boolean)
- func (t Time32) ToInt64() Int64
- func (t Time32) ToInt64Checked() (Int64, Boolean)
- func (t Time32) ToInt8() Int8
- func (t Time32) ToInt8Checked() (Int8, Boolean)
- func (t Time32) ToString() String
- func (t Time32) ToStringChecked() (String, Boolean)
- func (t Time32) ToTime32() Time32
- func (t Time32) ToTime32Checked() (Time32, Boolean)
- func (t Time32) ToTime64() Time64
- func (t Time32) ToTime64Checked() (Time64, Boolean)
- func (t Time32) ToTimestamp() Timestamp
- func (t Time32) ToTimestampChecked() (Timestamp, Boolean)
- func (t Time32) ToUint16() Uint16
- func (t Time32) ToUint16Checked() (Uint16, Boolean)
- func (t Time32) ToUint32() Uint32
- func (t Time32) ToUint32Checked() (Uint32, Boolean)
- func (t Time32) ToUint64() Uint64
- func (t Time32) ToUint64Checked() (Uint64, Boolean)
- func (t Time32) ToUint8() Uint8
- func (t Time32) ToUint8Checked() (Uint8, Boolean)
- func (e Time32) Value() arrow.Time32
- type Time64
- func (e Time64) Eq(r Object) (Boolean, error)
- func (e Time64) Greater(r Object) (Boolean, error)
- func (e Time64) GreaterEq(r Object) (Boolean, error)
- func (e Time64) Less(r Object) (Boolean, error)
- func (e Time64) LessEq(r Object) (Boolean, error)
- func (e Time64) Neq(r Object) (Boolean, error)
- func (t Time64) ToBoolean() Boolean
- func (t Time64) ToBooleanChecked() (Boolean, Boolean)
- func (t Time64) ToDate32() Date32
- func (t Time64) ToDate32Checked() (Date32, Boolean)
- func (t Time64) ToDate64() Date64
- func (t Time64) ToDate64Checked() (Date64, Boolean)
- func (t Time64) ToFloat32() Float32
- func (t Time64) ToFloat32Checked() (Float32, Boolean)
- func (t Time64) ToFloat64() Float64
- func (t Time64) ToFloat64Checked() (Float64, Boolean)
- func (t Time64) ToInt16() Int16
- func (t Time64) ToInt16Checked() (Int16, Boolean)
- func (t Time64) ToInt32() Int32
- func (t Time64) ToInt32Checked() (Int32, Boolean)
- func (t Time64) ToInt64() Int64
- func (t Time64) ToInt64Checked() (Int64, Boolean)
- func (t Time64) ToInt8() Int8
- func (t Time64) ToInt8Checked() (Int8, Boolean)
- func (t Time64) ToString() String
- func (t Time64) ToStringChecked() (String, Boolean)
- func (t Time64) ToTime32() Time32
- func (t Time64) ToTime32Checked() (Time32, Boolean)
- func (t Time64) ToTime64() Time64
- func (t Time64) ToTime64Checked() (Time64, Boolean)
- func (t Time64) ToTimestamp() Timestamp
- func (t Time64) ToTimestampChecked() (Timestamp, Boolean)
- func (t Time64) ToUint16() Uint16
- func (t Time64) ToUint16Checked() (Uint16, Boolean)
- func (t Time64) ToUint32() Uint32
- func (t Time64) ToUint32Checked() (Uint32, Boolean)
- func (t Time64) ToUint64() Uint64
- func (t Time64) ToUint64Checked() (Uint64, Boolean)
- func (t Time64) ToUint8() Uint8
- func (t Time64) ToUint8Checked() (Uint8, Boolean)
- func (e Time64) Value() arrow.Time64
- type Timestamp
- func (e Timestamp) Eq(r Object) (Boolean, error)
- func (e Timestamp) Greater(r Object) (Boolean, error)
- func (e Timestamp) GreaterEq(r Object) (Boolean, error)
- func (e Timestamp) Less(r Object) (Boolean, error)
- func (e Timestamp) LessEq(r Object) (Boolean, error)
- func (e Timestamp) Neq(r Object) (Boolean, error)
- func (t Timestamp) ToBoolean() Boolean
- func (t Timestamp) ToBooleanChecked() (Boolean, Boolean)
- func (t Timestamp) ToDate32() Date32
- func (t Timestamp) ToDate32Checked() (Date32, Boolean)
- func (t Timestamp) ToDate64() Date64
- func (t Timestamp) ToDate64Checked() (Date64, Boolean)
- func (t Timestamp) ToFloat32() Float32
- func (t Timestamp) ToFloat32Checked() (Float32, Boolean)
- func (t Timestamp) ToFloat64() Float64
- func (t Timestamp) ToFloat64Checked() (Float64, Boolean)
- func (t Timestamp) ToInt16() Int16
- func (t Timestamp) ToInt16Checked() (Int16, Boolean)
- func (t Timestamp) ToInt32() Int32
- func (t Timestamp) ToInt32Checked() (Int32, Boolean)
- func (t Timestamp) ToInt64() Int64
- func (t Timestamp) ToInt64Checked() (Int64, Boolean)
- func (t Timestamp) ToInt8() Int8
- func (t Timestamp) ToInt8Checked() (Int8, Boolean)
- func (t Timestamp) ToString() String
- func (t Timestamp) ToStringChecked() (String, Boolean)
- func (t Timestamp) ToTime32() Time32
- func (t Timestamp) ToTime32Checked() (Time32, Boolean)
- func (t Timestamp) ToTime64() Time64
- func (t Timestamp) ToTime64Checked() (Time64, Boolean)
- func (t Timestamp) ToTimestamp() Timestamp
- func (t Timestamp) ToTimestampChecked() (Timestamp, Boolean)
- func (t Timestamp) ToUint16() Uint16
- func (t Timestamp) ToUint16Checked() (Uint16, Boolean)
- func (t Timestamp) ToUint32() Uint32
- func (t Timestamp) ToUint32Checked() (Uint32, Boolean)
- func (t Timestamp) ToUint64() Uint64
- func (t Timestamp) ToUint64Checked() (Uint64, Boolean)
- func (t Timestamp) ToUint8() Uint8
- func (t Timestamp) ToUint8Checked() (Uint8, Boolean)
- func (e Timestamp) Value() arrow.Timestamp
- type Uint16
- func (e Uint16) Eq(r Object) (Boolean, error)
- func (e Uint16) Greater(r Object) (Boolean, error)
- func (e Uint16) GreaterEq(r Object) (Boolean, error)
- func (e Uint16) Less(r Object) (Boolean, error)
- func (e Uint16) LessEq(r Object) (Boolean, error)
- func (e Uint16) Neq(r Object) (Boolean, error)
- func (t Uint16) ToBoolean() Boolean
- func (t Uint16) ToBooleanChecked() (Boolean, Boolean)
- func (t Uint16) ToDate32() Date32
- func (t Uint16) ToDate32Checked() (Date32, Boolean)
- func (t Uint16) ToDate64() Date64
- func (t Uint16) ToDate64Checked() (Date64, Boolean)
- func (t Uint16) ToFloat32() Float32
- func (t Uint16) ToFloat32Checked() (Float32, Boolean)
- func (t Uint16) ToFloat64() Float64
- func (t Uint16) ToFloat64Checked() (Float64, Boolean)
- func (t Uint16) ToInt16() Int16
- func (t Uint16) ToInt16Checked() (Int16, Boolean)
- func (t Uint16) ToInt32() Int32
- func (t Uint16) ToInt32Checked() (Int32, Boolean)
- func (t Uint16) ToInt64() Int64
- func (t Uint16) ToInt64Checked() (Int64, Boolean)
- func (t Uint16) ToInt8() Int8
- func (t Uint16) ToInt8Checked() (Int8, Boolean)
- func (t Uint16) ToString() String
- func (t Uint16) ToStringChecked() (String, Boolean)
- func (t Uint16) ToTime32() Time32
- func (t Uint16) ToTime32Checked() (Time32, Boolean)
- func (t Uint16) ToTime64() Time64
- func (t Uint16) ToTime64Checked() (Time64, Boolean)
- func (t Uint16) ToTimestamp() Timestamp
- func (t Uint16) ToTimestampChecked() (Timestamp, Boolean)
- func (t Uint16) ToUint16() Uint16
- func (t Uint16) ToUint16Checked() (Uint16, Boolean)
- func (t Uint16) ToUint32() Uint32
- func (t Uint16) ToUint32Checked() (Uint32, Boolean)
- func (t Uint16) ToUint64() Uint64
- func (t Uint16) ToUint64Checked() (Uint64, Boolean)
- func (t Uint16) ToUint8() Uint8
- func (t Uint16) ToUint8Checked() (Uint8, Boolean)
- func (e Uint16) Value() uint16
- type Uint32
- func (e Uint32) Eq(r Object) (Boolean, error)
- func (e Uint32) Greater(r Object) (Boolean, error)
- func (e Uint32) GreaterEq(r Object) (Boolean, error)
- func (e Uint32) Less(r Object) (Boolean, error)
- func (e Uint32) LessEq(r Object) (Boolean, error)
- func (e Uint32) Neq(r Object) (Boolean, error)
- func (t Uint32) ToBoolean() Boolean
- func (t Uint32) ToBooleanChecked() (Boolean, Boolean)
- func (t Uint32) ToDate32() Date32
- func (t Uint32) ToDate32Checked() (Date32, Boolean)
- func (t Uint32) ToDate64() Date64
- func (t Uint32) ToDate64Checked() (Date64, Boolean)
- func (t Uint32) ToFloat32() Float32
- func (t Uint32) ToFloat32Checked() (Float32, Boolean)
- func (t Uint32) ToFloat64() Float64
- func (t Uint32) ToFloat64Checked() (Float64, Boolean)
- func (t Uint32) ToInt16() Int16
- func (t Uint32) ToInt16Checked() (Int16, Boolean)
- func (t Uint32) ToInt32() Int32
- func (t Uint32) ToInt32Checked() (Int32, Boolean)
- func (t Uint32) ToInt64() Int64
- func (t Uint32) ToInt64Checked() (Int64, Boolean)
- func (t Uint32) ToInt8() Int8
- func (t Uint32) ToInt8Checked() (Int8, Boolean)
- func (t Uint32) ToString() String
- func (t Uint32) ToStringChecked() (String, Boolean)
- func (t Uint32) ToTime32() Time32
- func (t Uint32) ToTime32Checked() (Time32, Boolean)
- func (t Uint32) ToTime64() Time64
- func (t Uint32) ToTime64Checked() (Time64, Boolean)
- func (t Uint32) ToTimestamp() Timestamp
- func (t Uint32) ToTimestampChecked() (Timestamp, Boolean)
- func (t Uint32) ToUint16() Uint16
- func (t Uint32) ToUint16Checked() (Uint16, Boolean)
- func (t Uint32) ToUint32() Uint32
- func (t Uint32) ToUint32Checked() (Uint32, Boolean)
- func (t Uint32) ToUint64() Uint64
- func (t Uint32) ToUint64Checked() (Uint64, Boolean)
- func (t Uint32) ToUint8() Uint8
- func (t Uint32) ToUint8Checked() (Uint8, Boolean)
- func (e Uint32) Value() uint32
- type Uint64
- func (e Uint64) Eq(r Object) (Boolean, error)
- func (e Uint64) Greater(r Object) (Boolean, error)
- func (e Uint64) GreaterEq(r Object) (Boolean, error)
- func (e Uint64) Less(r Object) (Boolean, error)
- func (e Uint64) LessEq(r Object) (Boolean, error)
- func (e Uint64) Neq(r Object) (Boolean, error)
- func (t Uint64) ToBoolean() Boolean
- func (t Uint64) ToBooleanChecked() (Boolean, Boolean)
- func (t Uint64) ToDate32() Date32
- func (t Uint64) ToDate32Checked() (Date32, Boolean)
- func (t Uint64) ToDate64() Date64
- func (t Uint64) ToDate64Checked() (Date64, Boolean)
- func (t Uint64) ToDecimal128() Decimal128
- func (t Uint64) ToDecimal128Checked() (Decimal128, Boolean)
- func (t Uint64) ToFloat32() Float32
- func (t Uint64) ToFloat32Checked() (Float32, Boolean)
- func (t Uint64) ToFloat64() Float64
- func (t Uint64) ToFloat64Checked() (Float64, Boolean)
- func (t Uint64) ToInt16() Int16
- func (t Uint64) ToInt16Checked() (Int16, Boolean)
- func (t Uint64) ToInt32() Int32
- func (t Uint64) ToInt32Checked() (Int32, Boolean)
- func (t Uint64) ToInt64() Int64
- func (t Uint64) ToInt64Checked() (Int64, Boolean)
- func (t Uint64) ToInt8() Int8
- func (t Uint64) ToInt8Checked() (Int8, Boolean)
- func (t Uint64) ToString() String
- func (t Uint64) ToStringChecked() (String, Boolean)
- func (t Uint64) ToTime32() Time32
- func (t Uint64) ToTime32Checked() (Time32, Boolean)
- func (t Uint64) ToTime64() Time64
- func (t Uint64) ToTime64Checked() (Time64, Boolean)
- func (t Uint64) ToTimestamp() Timestamp
- func (t Uint64) ToTimestampChecked() (Timestamp, Boolean)
- func (t Uint64) ToUint16() Uint16
- func (t Uint64) ToUint16Checked() (Uint16, Boolean)
- func (t Uint64) ToUint32() Uint32
- func (t Uint64) ToUint32Checked() (Uint32, Boolean)
- func (t Uint64) ToUint64() Uint64
- func (t Uint64) ToUint64Checked() (Uint64, Boolean)
- func (t Uint64) ToUint8() Uint8
- func (t Uint64) ToUint8Checked() (Uint8, Boolean)
- func (e Uint64) Value() uint64
- type Uint8
- func (e Uint8) Eq(r Object) (Boolean, error)
- func (e Uint8) Greater(r Object) (Boolean, error)
- func (e Uint8) GreaterEq(r Object) (Boolean, error)
- func (e Uint8) Less(r Object) (Boolean, error)
- func (e Uint8) LessEq(r Object) (Boolean, error)
- func (e Uint8) Neq(r Object) (Boolean, error)
- func (t Uint8) ToBoolean() Boolean
- func (t Uint8) ToBooleanChecked() (Boolean, Boolean)
- func (t Uint8) ToDate32() Date32
- func (t Uint8) ToDate32Checked() (Date32, Boolean)
- func (t Uint8) ToDate64() Date64
- func (t Uint8) ToDate64Checked() (Date64, Boolean)
- func (t Uint8) ToFloat32() Float32
- func (t Uint8) ToFloat32Checked() (Float32, Boolean)
- func (t Uint8) ToFloat64() Float64
- func (t Uint8) ToFloat64Checked() (Float64, Boolean)
- func (t Uint8) ToInt16() Int16
- func (t Uint8) ToInt16Checked() (Int16, Boolean)
- func (t Uint8) ToInt32() Int32
- func (t Uint8) ToInt32Checked() (Int32, Boolean)
- func (t Uint8) ToInt64() Int64
- func (t Uint8) ToInt64Checked() (Int64, Boolean)
- func (t Uint8) ToInt8() Int8
- func (t Uint8) ToInt8Checked() (Int8, Boolean)
- func (t Uint8) ToString() String
- func (t Uint8) ToStringChecked() (String, Boolean)
- func (t Uint8) ToTime32() Time32
- func (t Uint8) ToTime32Checked() (Time32, Boolean)
- func (t Uint8) ToTime64() Time64
- func (t Uint8) ToTime64Checked() (Time64, Boolean)
- func (t Uint8) ToTimestamp() Timestamp
- func (t Uint8) ToTimestampChecked() (Timestamp, Boolean)
- func (t Uint8) ToUint16() Uint16
- func (t Uint8) ToUint16Checked() (Uint16, Boolean)
- func (t Uint8) ToUint32() Uint32
- func (t Uint8) ToUint32Checked() (Uint32, Boolean)
- func (t Uint8) ToUint64() Uint64
- func (t Uint8) ToUint64Checked() (Uint64, Boolean)
- func (t Uint8) ToUint8() Uint8
- func (t Uint8) ToUint8Checked() (Uint8, Boolean)
- func (e Uint8) Value() uint8
Constants ¶
const (
STRING_VALUE = "(null)"
)
Variables ¶
var ( MaxBoolean = Boolean(true) MaxDate32 = Date32(math.MaxInt32) MaxDate64 = Date64(math.MaxInt64) MaxDayTimeInterval = DayTimeInterval(arrow.DayTimeInterval{Days: math.MaxInt32, Milliseconds: math.MaxInt32}) MaxDecimal128 = Decimal128(decimal128.MaxDecimal128) MaxDuration = Duration(math.MaxInt64) MaxFloat16 = Float16(float16.New(65504)) MaxFloat32 = Float32(math.MaxFloat32) MaxFloat64 = Float64(math.MaxFloat64) MaxInt16 = Int16(math.MaxInt16) MaxInt32 = Int32(math.MaxInt32) MaxInt64 = Int64(math.MaxInt64) MaxInt8 = Int8(math.MaxInt8) MaxMonthInterval = MonthInterval(math.MaxInt32) MaxTime32 = Time32(math.MaxInt32) MaxTime64 = Time64(math.MaxInt64) MaxTimestamp = Timestamp(math.MaxInt64) MaxUint16 = Uint16(math.MaxUint16) MaxUint32 = Uint32(math.MaxUint32) MaxUint64 = Uint64(math.MaxUint64) MaxUint8 = Uint8(math.MaxUint8) )
Functions ¶
This section is empty.
Types ¶
type Boolean ¶
type Boolean bool
Boolean has logic to apply to this type.
func CastToBoolean ¶
CastToBoolean takes an interface{} type or any Object type and attempts to convert it to the Boolean Object type.
func Eq ¶
Eq returns true if the left Object is equal to the right Object. If either is nil Eq returns false. Comparing different types is also an error.
func Greater ¶
Greater returns true if the left Object is greter than the right Object. If either is nil Greater returns false and an error. Comparing different types is also an error.
func GreaterEq ¶
GreaterEq returns true if the left Object is greter than or equal to the right Object. If either is nil GreaterEq returns false and an error. Comparing different types is also an error.
func Less ¶
Less returns true if the left Object is less than the right Object. If either is nil Less returns false and an error. Comparing different types is also an error.
func LessEq ¶
LessEq returns true if the left Object is less than or equal to the right Object. If either is nil LessEq returns false and an error. Comparing different types is also an error.
func Neq ¶
Neq returns true if the left Object is not equal to the right Object. If either is nil Neq returns true. Comparing different types is also an error.
func NewBoolean ¶
NewBoolean creates a new Boolean object from the given value provided as v.
func (Boolean) GreaterEq ¶
GreaterEq returns true if the left Boolean is greter than or equal to the right Boolean.
func (Boolean) LessEq ¶
LessEq returns true if the left Boolean is less than or equal to the right Boolean.
func (Boolean) ToBoolean ¶
ToBoolean attempts to cast the Boolean to a Boolean. The result is not checked for an overflow. Use the ToBooleanChecked version of this method if you need to check for an overflow.
func (Boolean) ToBooleanChecked ¶
ToBooleanChecked attempts to cast the Boolean to a Boolean. The second return value will be false if there was an overflow or any other loss of precision. For example, going from Float64 to Int64 will result in anything after the decimal being truncated.
func (Boolean) ToDate32 ¶
ToDate32 attempts to cast the Boolean to a Date32. The result is not checked for an overflow. Use the ToDate32Checked version of this method if you need to check for an overflow.
func (Boolean) ToDate32Checked ¶
ToDate32Checked attempts to cast the Boolean to a Date32. The second return value will be false if there was an overflow or any other loss of precision. For example, going from Float64 to Int64 will result in anything after the decimal being truncated.
func (Boolean) ToDate64 ¶
ToDate64 attempts to cast the Boolean to a Date64. The result is not checked for an overflow. Use the ToDate64Checked version of this method if you need to check for an overflow.
func (Boolean) ToDate64Checked ¶
ToDate64Checked attempts to cast the Boolean to a Date64. The second return value will be false if there was an overflow or any other loss of precision. For example, going from Float64 to Int64 will result in anything after the decimal being truncated.
func (Boolean) ToDayTimeInterval ¶
func (t Boolean) ToDayTimeInterval() DayTimeInterval
ToDayTimeInterval attempts to cast the Boolean to a DayTimeInterval. The result is not checked for an overflow. Use the ToDayTimeIntervalChecked version of this method if you need to check for an overflow.
func (Boolean) ToDayTimeIntervalChecked ¶
func (t Boolean) ToDayTimeIntervalChecked() (DayTimeInterval, Boolean)
ToDayTimeIntervalChecked attempts to cast the Boolean to a DayTimeInterval. The second return value will be false if there was an overflow or any other loss of precision. For example, going from Float64 to Int64 will result in anything after the decimal being truncated.
func (Boolean) ToDecimal128 ¶
func (t Boolean) ToDecimal128() Decimal128
ToDecimal128 attempts to cast the Boolean to a Decimal128. The result is not checked for an overflow. Use the ToDecimal128Checked version of this method if you need to check for an overflow.
func (Boolean) ToDecimal128Checked ¶
func (t Boolean) ToDecimal128Checked() (Decimal128, Boolean)
ToDecimal128Checked attempts to cast the Boolean to a Decimal128. The second return value will be false if there was an overflow or any other loss of precision. For example, going from Float64 to Int64 will result in anything after the decimal being truncated.
func (Boolean) ToDuration ¶
ToDuration attempts to cast the Boolean to a Duration. The result is not checked for an overflow. Use the ToDurationChecked version of this method if you need to check for an overflow.
func (Boolean) ToDurationChecked ¶
ToDurationChecked attempts to cast the Boolean to a Duration. The second return value will be false if there was an overflow or any other loss of precision. For example, going from Float64 to Int64 will result in anything after the decimal being truncated.
func (Boolean) ToFloat16 ¶
ToFloat16 attempts to cast the Boolean to a Float16. The result is not checked for an overflow. Use the ToFloat16Checked version of this method if you need to check for an overflow.
func (Boolean) ToFloat16Checked ¶
ToFloat16Checked attempts to cast the Boolean to a Float16. The second return value will be false if there was an overflow or any other loss of precision. For example, going from Float64 to Int64 will result in anything after the decimal being truncated.
func (Boolean) ToFloat32 ¶
ToFloat32 attempts to cast the Boolean to a Float32. The result is not checked for an overflow. Use the ToFloat32Checked version of this method if you need to check for an overflow.
func (Boolean) ToFloat32Checked ¶
ToFloat32Checked attempts to cast the Boolean to a Float32. The second return value will be false if there was an overflow or any other loss of precision. For example, going from Float64 to Int64 will result in anything after the decimal being truncated.
func (Boolean) ToFloat64 ¶
ToFloat64 attempts to cast the Boolean to a Float64. The result is not checked for an overflow. Use the ToFloat64Checked version of this method if you need to check for an overflow.
func (Boolean) ToFloat64Checked ¶
ToFloat64Checked attempts to cast the Boolean to a Float64. The second return value will be false if there was an overflow or any other loss of precision. For example, going from Float64 to Int64 will result in anything after the decimal being truncated.
func (Boolean) ToInt16 ¶
ToInt16 attempts to cast the Boolean to a Int16. The result is not checked for an overflow. Use the ToInt16Checked version of this method if you need to check for an overflow.
func (Boolean) ToInt16Checked ¶
ToInt16Checked attempts to cast the Boolean to a Int16. The second return value will be false if there was an overflow or any other loss of precision. For example, going from Float64 to Int64 will result in anything after the decimal being truncated.
func (Boolean) ToInt32 ¶
ToInt32 attempts to cast the Boolean to a Int32. The result is not checked for an overflow. Use the ToInt32Checked version of this method if you need to check for an overflow.
func (Boolean) ToInt32Checked ¶
ToInt32Checked attempts to cast the Boolean to a Int32. The second return value will be false if there was an overflow or any other loss of precision. For example, going from Float64 to Int64 will result in anything after the decimal being truncated.
func (Boolean) ToInt64 ¶
ToInt64 attempts to cast the Boolean to a Int64. The result is not checked for an overflow. Use the ToInt64Checked version of this method if you need to check for an overflow.
func (Boolean) ToInt64Checked ¶
ToInt64Checked attempts to cast the Boolean to a Int64. The second return value will be false if there was an overflow or any other loss of precision. For example, going from Float64 to Int64 will result in anything after the decimal being truncated.
func (Boolean) ToInt8 ¶
ToInt8 attempts to cast the Boolean to a Int8. The result is not checked for an overflow. Use the ToInt8Checked version of this method if you need to check for an overflow.
func (Boolean) ToInt8Checked ¶
ToInt8Checked attempts to cast the Boolean to a Int8. The second return value will be false if there was an overflow or any other loss of precision. For example, going from Float64 to Int64 will result in anything after the decimal being truncated.
func (Boolean) ToMonthInterval ¶
func (t Boolean) ToMonthInterval() MonthInterval
ToMonthInterval attempts to cast the Boolean to a MonthInterval. The result is not checked for an overflow. Use the ToMonthIntervalChecked version of this method if you need to check for an overflow.
func (Boolean) ToMonthIntervalChecked ¶
func (t Boolean) ToMonthIntervalChecked() (MonthInterval, Boolean)
ToMonthIntervalChecked attempts to cast the Boolean to a MonthInterval. The second return value will be false if there was an overflow or any other loss of precision. For example, going from Float64 to Int64 will result in anything after the decimal being truncated.
func (Boolean) ToString ¶
ToString attempts to cast the Boolean to a String. The result is not checked for an overflow. Use the ToStringChecked version of this method if you need to check for an overflow.
func (Boolean) ToStringChecked ¶
ToStringChecked attempts to cast the Boolean to a String. The second return value will be false if there was an overflow or any other loss of precision. For example, going from Float64 to Int64 will result in anything after the decimal being truncated.
func (Boolean) ToTime32 ¶
ToTime32 attempts to cast the Boolean to a Time32. The result is not checked for an overflow. Use the ToTime32Checked version of this method if you need to check for an overflow.
func (Boolean) ToTime32Checked ¶
ToTime32Checked attempts to cast the Boolean to a Time32. The second return value will be false if there was an overflow or any other loss of precision. For example, going from Float64 to Int64 will result in anything after the decimal being truncated.
func (Boolean) ToTime64 ¶
ToTime64 attempts to cast the Boolean to a Time64. The result is not checked for an overflow. Use the ToTime64Checked version of this method if you need to check for an overflow.
func (Boolean) ToTime64Checked ¶
ToTime64Checked attempts to cast the Boolean to a Time64. The second return value will be false if there was an overflow or any other loss of precision. For example, going from Float64 to Int64 will result in anything after the decimal being truncated.
func (Boolean) ToTimestamp ¶
ToTimestamp attempts to cast the Boolean to a Timestamp. The result is not checked for an overflow. Use the ToTimestampChecked version of this method if you need to check for an overflow.
func (Boolean) ToTimestampChecked ¶
ToTimestampChecked attempts to cast the Boolean to a Timestamp. The second return value will be false if there was an overflow or any other loss of precision. For example, going from Float64 to Int64 will result in anything after the decimal being truncated.
func (Boolean) ToUint16 ¶
ToUint16 attempts to cast the Boolean to a Uint16. The result is not checked for an overflow. Use the ToUint16Checked version of this method if you need to check for an overflow.
func (Boolean) ToUint16Checked ¶
ToUint16Checked attempts to cast the Boolean to a Uint16. The second return value will be false if there was an overflow or any other loss of precision. For example, going from Float64 to Int64 will result in anything after the decimal being truncated.
func (Boolean) ToUint32 ¶
ToUint32 attempts to cast the Boolean to a Uint32. The result is not checked for an overflow. Use the ToUint32Checked version of this method if you need to check for an overflow.
func (Boolean) ToUint32Checked ¶
ToUint32Checked attempts to cast the Boolean to a Uint32. The second return value will be false if there was an overflow or any other loss of precision. For example, going from Float64 to Int64 will result in anything after the decimal being truncated.
func (Boolean) ToUint64 ¶
ToUint64 attempts to cast the Boolean to a Uint64. The result is not checked for an overflow. Use the ToUint64Checked version of this method if you need to check for an overflow.
func (Boolean) ToUint64Checked ¶
ToUint64Checked attempts to cast the Boolean to a Uint64. The second return value will be false if there was an overflow or any other loss of precision. For example, going from Float64 to Int64 will result in anything after the decimal being truncated.
func (Boolean) ToUint8 ¶
ToUint8 attempts to cast the Boolean to a Uint8. The result is not checked for an overflow. Use the ToUint8Checked version of this method if you need to check for an overflow.
func (Boolean) ToUint8Checked ¶
ToUint8Checked attempts to cast the Boolean to a Uint8. The second return value will be false if there was an overflow or any other loss of precision. For example, going from Float64 to Int64 will result in anything after the decimal being truncated.
type CastableToBoolean ¶
type CastableToDate32 ¶
type CastableToDate64 ¶
type CastableToDayTimeInterval ¶
type CastableToDayTimeInterval interface { ToDayTimeIntervalChecked() (DayTimeInterval, Boolean) ToDayTimeInterval() DayTimeInterval }
type CastableToDecimal128 ¶
type CastableToDecimal128 interface { ToDecimal128Checked() (Decimal128, Boolean) ToDecimal128() Decimal128 }
type CastableToDuration ¶
type CastableToFloat16 ¶
type CastableToFloat32 ¶
type CastableToFloat64 ¶
type CastableToInt16 ¶
type CastableToInt32 ¶
type CastableToInt64 ¶
type CastableToInt8 ¶
type CastableToMonthInterval ¶
type CastableToMonthInterval interface { ToMonthIntervalChecked() (MonthInterval, Boolean) ToMonthInterval() MonthInterval }
type CastableToString ¶
type CastableToTime32 ¶
type CastableToTime64 ¶
type CastableToTimestamp ¶
type CastableToUint16 ¶
type CastableToUint32 ¶
type CastableToUint64 ¶
type CastableToUint8 ¶
type Comparable ¶
type Comparable interface { // Compare methods // Eq returns true if the left Object is equal to the right Object. Eq(Object) (Boolean, error) // Neq returns true if the left Object is not equal to the right Object. Neq(Object) (Boolean, error) // Less returns true if the left Object is less than the right Object. Less(Object) (Boolean, error) // LessEq returns true if the left Object is less than or equal to the right Object. LessEq(Object) (Boolean, error) // Greater returns true if the left Object is greter than the right Object. Greater(Object) (Boolean, error) // GreaterEq returns true if the left Object is greter than or equal to the right Object. GreaterEq(Object) (Boolean, error) // ToBoolean returns true when the value of this Object is not false. ToBoolean() (value Boolean) }
type Date32 ¶
Date32 has logic to apply to this type.
func CastToDate32 ¶
CastToDate32 takes an interface{} type or any Object type and attempts to convert it to the Date32 Object type.
func (Date32) GreaterEq ¶
GreaterEq returns true if the left Date32 is greter than or equal to the right Date32.
func (Date32) LessEq ¶
LessEq returns true if the left Date32 is less than or equal to the right Date32.
func (Date32) ToBoolean ¶
ToBoolean attempts to cast the Date32 to a Boolean. The result is not checked for an overflow. Use the ToBooleanChecked version of this method if you need to check for an overflow.
func (Date32) ToBooleanChecked ¶
ToBooleanChecked attempts to cast the Date32 to a Boolean. The second return value will be false if there was an overflow or any other loss of precision. For example, going from Float64 to Int64 will result in anything after the decimal being truncated.
func (Date32) ToDate32 ¶
ToDate32 attempts to cast the Date32 to a Date32. The result is not checked for an overflow. Use the ToDate32Checked version of this method if you need to check for an overflow.
func (Date32) ToDate32Checked ¶
ToDate32Checked attempts to cast the Date32 to a Date32. The second return value will be false if there was an overflow or any other loss of precision. For example, going from Float64 to Int64 will result in anything after the decimal being truncated.
func (Date32) ToDate64 ¶
ToDate64 attempts to cast the Date32 to a Date64. The result is not checked for an overflow. Use the ToDate64Checked version of this method if you need to check for an overflow.
func (Date32) ToDate64Checked ¶
ToDate64Checked attempts to cast the Date32 to a Date64. The second return value will be false if there was an overflow or any other loss of precision. For example, going from Float64 to Int64 will result in anything after the decimal being truncated.
func (Date32) ToInt32 ¶
ToInt32 attempts to cast the Date32 to a Int32. The result is not checked for an overflow. Use the ToInt32Checked version of this method if you need to check for an overflow.
func (Date32) ToInt32Checked ¶
ToInt32Checked attempts to cast the Date32 to a Int32. The second return value will be false if there was an overflow or any other loss of precision. For example, going from Float64 to Int64 will result in anything after the decimal being truncated.
func (Date32) ToInt64 ¶
ToInt64 attempts to cast the Date32 to a Int64. The result is not checked for an overflow. Use the ToInt64Checked version of this method if you need to check for an overflow.
func (Date32) ToInt64Checked ¶
ToInt64Checked attempts to cast the Date32 to a Int64. The second return value will be false if there was an overflow or any other loss of precision. For example, going from Float64 to Int64 will result in anything after the decimal being truncated.
func (Date32) ToString ¶
ToString attempts to cast the Date32 to a String. The result is not checked for an overflow. Use the ToStringChecked version of this method if you need to check for an overflow.
func (Date32) ToStringChecked ¶
ToStringChecked attempts to cast the Date32 to a String. The second return value will be false if there was an overflow or any other loss of precision. For example, going from Float64 to Int64 will result in anything after the decimal being truncated.
func (Date32) ToUint64 ¶
ToUint64 attempts to cast the Date32 to a Uint64. The result is not checked for an overflow. Use the ToUint64Checked version of this method if you need to check for an overflow.
func (Date32) ToUint64Checked ¶
ToUint64Checked attempts to cast the Date32 to a Uint64. The second return value will be false if there was an overflow or any other loss of precision. For example, going from Float64 to Int64 will result in anything after the decimal being truncated.
type Date64 ¶
Date64 has logic to apply to this type.
func CastToDate64 ¶
CastToDate64 takes an interface{} type or any Object type and attempts to convert it to the Date64 Object type.
func (Date64) GreaterEq ¶
GreaterEq returns true if the left Date64 is greter than or equal to the right Date64.
func (Date64) LessEq ¶
LessEq returns true if the left Date64 is less than or equal to the right Date64.
func (Date64) ToBoolean ¶
ToBoolean attempts to cast the Date64 to a Boolean. The result is not checked for an overflow. Use the ToBooleanChecked version of this method if you need to check for an overflow.
func (Date64) ToBooleanChecked ¶
ToBooleanChecked attempts to cast the Date64 to a Boolean. The second return value will be false if there was an overflow or any other loss of precision. For example, going from Float64 to Int64 will result in anything after the decimal being truncated.
func (Date64) ToDate32 ¶
ToDate32 attempts to cast the Date64 to a Date32. The result is not checked for an overflow. Use the ToDate32Checked version of this method if you need to check for an overflow.
func (Date64) ToDate32Checked ¶
ToDate32Checked attempts to cast the Date64 to a Date32. The second return value will be false if there was an overflow or any other loss of precision. For example, going from Float64 to Int64 will result in anything after the decimal being truncated.
func (Date64) ToDate64 ¶
ToDate64 attempts to cast the Date64 to a Date64. The result is not checked for an overflow. Use the ToDate64Checked version of this method if you need to check for an overflow.
func (Date64) ToDate64Checked ¶
ToDate64Checked attempts to cast the Date64 to a Date64. The second return value will be false if there was an overflow or any other loss of precision. For example, going from Float64 to Int64 will result in anything after the decimal being truncated.
func (Date64) ToFloat32 ¶
ToFloat32 attempts to cast the Date64 to a Float32. The result is not checked for an overflow. Use the ToFloat32Checked version of this method if you need to check for an overflow.
func (Date64) ToFloat32Checked ¶
ToFloat32Checked attempts to cast the Date64 to a Float32. The second return value will be false if there was an overflow or any other loss of precision. For example, going from Float64 to Int64 will result in anything after the decimal being truncated.
func (Date64) ToFloat64 ¶
ToFloat64 attempts to cast the Date64 to a Float64. The result is not checked for an overflow. Use the ToFloat64Checked version of this method if you need to check for an overflow.
func (Date64) ToFloat64Checked ¶
ToFloat64Checked attempts to cast the Date64 to a Float64. The second return value will be false if there was an overflow or any other loss of precision. For example, going from Float64 to Int64 will result in anything after the decimal being truncated.
func (Date64) ToInt16 ¶
ToInt16 attempts to cast the Date64 to a Int16. The result is not checked for an overflow. Use the ToInt16Checked version of this method if you need to check for an overflow.
func (Date64) ToInt16Checked ¶
ToInt16Checked attempts to cast the Date64 to a Int16. The second return value will be false if there was an overflow or any other loss of precision. For example, going from Float64 to Int64 will result in anything after the decimal being truncated.
func (Date64) ToInt32 ¶
ToInt32 attempts to cast the Date64 to a Int32. The result is not checked for an overflow. Use the ToInt32Checked version of this method if you need to check for an overflow.
func (Date64) ToInt32Checked ¶
ToInt32Checked attempts to cast the Date64 to a Int32. The second return value will be false if there was an overflow or any other loss of precision. For example, going from Float64 to Int64 will result in anything after the decimal being truncated.
func (Date64) ToInt64 ¶
ToInt64 attempts to cast the Date64 to a Int64. The result is not checked for an overflow. Use the ToInt64Checked version of this method if you need to check for an overflow.
func (Date64) ToInt64Checked ¶
ToInt64Checked attempts to cast the Date64 to a Int64. The second return value will be false if there was an overflow or any other loss of precision. For example, going from Float64 to Int64 will result in anything after the decimal being truncated.
func (Date64) ToInt8 ¶
ToInt8 attempts to cast the Date64 to a Int8. The result is not checked for an overflow. Use the ToInt8Checked version of this method if you need to check for an overflow.
func (Date64) ToInt8Checked ¶
ToInt8Checked attempts to cast the Date64 to a Int8. The second return value will be false if there was an overflow or any other loss of precision. For example, going from Float64 to Int64 will result in anything after the decimal being truncated.
func (Date64) ToString ¶
ToString attempts to cast the Date64 to a String. The result is not checked for an overflow. Use the ToStringChecked version of this method if you need to check for an overflow.
func (Date64) ToStringChecked ¶
ToStringChecked attempts to cast the Date64 to a String. The second return value will be false if there was an overflow or any other loss of precision. For example, going from Float64 to Int64 will result in anything after the decimal being truncated.
func (Date64) ToTime32 ¶
ToTime32 attempts to cast the Date64 to a Time32. The result is not checked for an overflow. Use the ToTime32Checked version of this method if you need to check for an overflow.
func (Date64) ToTime32Checked ¶
ToTime32Checked attempts to cast the Date64 to a Time32. The second return value will be false if there was an overflow or any other loss of precision. For example, going from Float64 to Int64 will result in anything after the decimal being truncated.
func (Date64) ToTime64 ¶
ToTime64 attempts to cast the Date64 to a Time64. The result is not checked for an overflow. Use the ToTime64Checked version of this method if you need to check for an overflow.
func (Date64) ToTime64Checked ¶
ToTime64Checked attempts to cast the Date64 to a Time64. The second return value will be false if there was an overflow or any other loss of precision. For example, going from Float64 to Int64 will result in anything after the decimal being truncated.
func (Date64) ToTimestamp ¶
ToTimestamp attempts to cast the Date64 to a Timestamp. The result is not checked for an overflow. Use the ToTimestampChecked version of this method if you need to check for an overflow.
func (Date64) ToTimestampChecked ¶
ToTimestampChecked attempts to cast the Date64 to a Timestamp. The second return value will be false if there was an overflow or any other loss of precision. For example, going from Float64 to Int64 will result in anything after the decimal being truncated.
func (Date64) ToUint16 ¶
ToUint16 attempts to cast the Date64 to a Uint16. The result is not checked for an overflow. Use the ToUint16Checked version of this method if you need to check for an overflow.
func (Date64) ToUint16Checked ¶
ToUint16Checked attempts to cast the Date64 to a Uint16. The second return value will be false if there was an overflow or any other loss of precision. For example, going from Float64 to Int64 will result in anything after the decimal being truncated.
func (Date64) ToUint32 ¶
ToUint32 attempts to cast the Date64 to a Uint32. The result is not checked for an overflow. Use the ToUint32Checked version of this method if you need to check for an overflow.
func (Date64) ToUint32Checked ¶
ToUint32Checked attempts to cast the Date64 to a Uint32. The second return value will be false if there was an overflow or any other loss of precision. For example, going from Float64 to Int64 will result in anything after the decimal being truncated.
func (Date64) ToUint64 ¶
ToUint64 attempts to cast the Date64 to a Uint64. The result is not checked for an overflow. Use the ToUint64Checked version of this method if you need to check for an overflow.
func (Date64) ToUint64Checked ¶
ToUint64Checked attempts to cast the Date64 to a Uint64. The second return value will be false if there was an overflow or any other loss of precision. For example, going from Float64 to Int64 will result in anything after the decimal being truncated.
func (Date64) ToUint8 ¶
ToUint8 attempts to cast the Date64 to a Uint8. The result is not checked for an overflow. Use the ToUint8Checked version of this method if you need to check for an overflow.
func (Date64) ToUint8Checked ¶
ToUint8Checked attempts to cast the Date64 to a Uint8. The second return value will be false if there was an overflow or any other loss of precision. For example, going from Float64 to Int64 will result in anything after the decimal being truncated.
type DayTimeInterval ¶
type DayTimeInterval arrow.DayTimeInterval
DayTimeInterval has logic to apply to this type.
func CastToDayTimeInterval ¶
func CastToDayTimeInterval(v interface{}) (DayTimeInterval, bool)
CastToDayTimeInterval takes an interface{} type or any Object type and attempts to convert it to the DayTimeInterval Object type.
func NewDayTimeInterval ¶
func NewDayTimeInterval(v arrow.DayTimeInterval) DayTimeInterval
NewDayTimeInterval creates a new DayTimeInterval object from the given value provided as v.
func (DayTimeInterval) Eq ¶
func (e DayTimeInterval) Eq(r Object) (Boolean, error)
Eq returns true if the left DayTimeInterval is equal to the right DayTimeInterval.
func (DayTimeInterval) Greater ¶
func (e DayTimeInterval) Greater(r Object) (Boolean, error)
Greater returns true if the left DayTimeInterval is greter than the right DayTimeInterval.
func (DayTimeInterval) GreaterEq ¶
func (e DayTimeInterval) GreaterEq(r Object) (Boolean, error)
GreaterEq returns true if the left DayTimeInterval is greter than or equal to the right DayTimeInterval.
func (DayTimeInterval) Less ¶
func (e DayTimeInterval) Less(r Object) (Boolean, error)
Less returns true if the left DayTimeInterval is less than the right DayTimeInterval.
func (DayTimeInterval) LessEq ¶
func (e DayTimeInterval) LessEq(r Object) (Boolean, error)
LessEq returns true if the left DayTimeInterval is less than or equal to the right DayTimeInterval.
func (DayTimeInterval) Neq ¶
func (e DayTimeInterval) Neq(r Object) (Boolean, error)
Neq returns true if the left DayTimeInterval is not equal to the right DayTimeInterval.
func (DayTimeInterval) ToBoolean ¶
func (t DayTimeInterval) ToBoolean() Boolean
ToBoolean attempts to cast the DayTimeInterval to a Boolean. The result is not checked for an overflow. Use the ToBooleanChecked version of this method if you need to check for an overflow.
func (DayTimeInterval) ToBooleanChecked ¶
func (t DayTimeInterval) ToBooleanChecked() (Boolean, Boolean)
ToBooleanChecked attempts to cast the DayTimeInterval to a Boolean. The second return value will be false if there was an overflow or any other loss of precision. For example, going from Float64 to Int64 will result in anything after the decimal being truncated.
func (DayTimeInterval) ToDayTimeInterval ¶
func (t DayTimeInterval) ToDayTimeInterval() DayTimeInterval
ToDayTimeInterval attempts to cast the DayTimeInterval to a DayTimeInterval. The result is not checked for an overflow. Use the ToDayTimeIntervalChecked version of this method if you need to check for an overflow.
func (DayTimeInterval) ToDayTimeIntervalChecked ¶
func (t DayTimeInterval) ToDayTimeIntervalChecked() (DayTimeInterval, Boolean)
ToDayTimeIntervalChecked attempts to cast the DayTimeInterval to a DayTimeInterval. The second return value will be false if there was an overflow or any other loss of precision. For example, going from Float64 to Int64 will result in anything after the decimal being truncated.
func (DayTimeInterval) ToString ¶
func (t DayTimeInterval) ToString() String
ToString attempts to cast the DayTimeInterval to a String. The result is not checked for an overflow. Use the ToStringChecked version of this method if you need to check for an overflow.
func (DayTimeInterval) ToStringChecked ¶
func (t DayTimeInterval) ToStringChecked() (String, Boolean)
ToStringChecked attempts to cast the DayTimeInterval to a String. The second return value will be false if there was an overflow or any other loss of precision. For example, going from Float64 to Int64 will result in anything after the decimal being truncated.
func (DayTimeInterval) Value ¶
func (e DayTimeInterval) Value() arrow.DayTimeInterval
Value returns the underlying value in it's native type.
type Decimal128 ¶
type Decimal128 decimal128.Num
Decimal128 has logic to apply to this type.
func CastToDecimal128 ¶
func CastToDecimal128(v interface{}) (Decimal128, bool)
CastToDecimal128 takes an interface{} type or any Object type and attempts to convert it to the Decimal128 Object type.
func NewDecimal128 ¶
func NewDecimal128(v decimal128.Num) Decimal128
NewDecimal128 creates a new Decimal128 object from the given value provided as v.
func NewDecimal128FromInt64 ¶
func NewDecimal128FromInt64(v Int64) Decimal128
NewDecimal128FromI64 returns a new signed 128-bit integer value from the provided int64 one.
func NewDecimal128FromU64 ¶
func NewDecimal128FromU64(v Uint64) Decimal128
NewDecimal128FromU64 returns a new signed 128-bit integer value from the provided uint64 one.
func (Decimal128) Eq ¶
func (e Decimal128) Eq(r Object) (Boolean, error)
Eq returns true if the left Decimal128 is equal to the right Decimal128.
func (Decimal128) Greater ¶
func (e Decimal128) Greater(r Object) (Boolean, error)
Greater returns true if the left Decimal128 is greter than the right Decimal128.
func (Decimal128) GreaterEq ¶
func (e Decimal128) GreaterEq(r Object) (Boolean, error)
GreaterEq returns true if the left Decimal128 is greter than or equal to the right Decimal128.
func (Decimal128) HighBits ¶
func (e Decimal128) HighBits() int64
func (Decimal128) Less ¶
func (e Decimal128) Less(r Object) (Boolean, error)
Less returns true if the left Decimal128 is less than the right Decimal128.
func (Decimal128) LessEq ¶
func (e Decimal128) LessEq(r Object) (Boolean, error)
LessEq returns true if the left Decimal128 is less than or equal to the right Decimal128.
func (Decimal128) LowBits ¶
func (e Decimal128) LowBits() uint64
func (Decimal128) MarshalJSON ¶
func (e Decimal128) MarshalJSON() ([]byte, error)
func (Decimal128) Neq ¶
func (e Decimal128) Neq(r Object) (Boolean, error)
Neq returns true if the left Decimal128 is not equal to the right Decimal128.
func (Decimal128) Sign ¶
func (e Decimal128) Sign() int
func (Decimal128) ToBoolean ¶
func (t Decimal128) ToBoolean() Boolean
ToBoolean attempts to cast the Decimal128 to a Boolean. The result is not checked for an overflow. Use the ToBooleanChecked version of this method if you need to check for an overflow.
func (Decimal128) ToBooleanChecked ¶
func (t Decimal128) ToBooleanChecked() (Boolean, Boolean)
ToBooleanChecked attempts to cast the Decimal128 to a Boolean. The second return value will be false if there was an overflow or any other loss of precision. For example, going from Float64 to Int64 will result in anything after the decimal being truncated.
func (Decimal128) ToDate32 ¶
func (t Decimal128) ToDate32() Date32
ToDate32 attempts to cast the Decimal128 to a Date32. The result is not checked for an overflow. Use the ToDate32Checked version of this method if you need to check for an overflow.
func (Decimal128) ToDate32Checked ¶
func (t Decimal128) ToDate32Checked() (Date32, Boolean)
ToDate32Checked attempts to cast the Decimal128 to a Date32. The second return value will be false if there was an overflow or any other loss of precision. For example, going from Float64 to Int64 will result in anything after the decimal being truncated.
func (Decimal128) ToDate64 ¶
func (t Decimal128) ToDate64() Date64
ToDate64 attempts to cast the Decimal128 to a Date64. The result is not checked for an overflow. Use the ToDate64Checked version of this method if you need to check for an overflow.
func (Decimal128) ToDate64Checked ¶
func (t Decimal128) ToDate64Checked() (Date64, Boolean)
ToDate64Checked attempts to cast the Decimal128 to a Date64. The second return value will be false if there was an overflow or any other loss of precision. For example, going from Float64 to Int64 will result in anything after the decimal being truncated.
func (Decimal128) ToDecimal128 ¶
func (t Decimal128) ToDecimal128() Decimal128
ToDecimal128 attempts to cast the Decimal128 to a Decimal128. The result is not checked for an overflow. Use the ToDecimal128Checked version of this method if you need to check for an overflow.
func (Decimal128) ToDecimal128Checked ¶
func (t Decimal128) ToDecimal128Checked() (Decimal128, Boolean)
ToDecimal128Checked attempts to cast the Decimal128 to a Decimal128. The second return value will be false if there was an overflow or any other loss of precision. For example, going from Float64 to Int64 will result in anything after the decimal being truncated.
func (Decimal128) ToFloat32 ¶
func (t Decimal128) ToFloat32() Float32
ToFloat32 attempts to cast the Decimal128 to a Float32. The result is not checked for an overflow. Use the ToFloat32Checked version of this method if you need to check for an overflow.
func (Decimal128) ToFloat32Checked ¶
func (t Decimal128) ToFloat32Checked() (Float32, Boolean)
ToFloat32Checked attempts to cast the Decimal128 to a Float32. The second return value will be false if there was an overflow or any other loss of precision. For example, going from Float64 to Int64 will result in anything after the decimal being truncated.
func (Decimal128) ToFloat64 ¶
func (t Decimal128) ToFloat64() Float64
ToFloat64 attempts to cast the Decimal128 to a Float64. The result is not checked for an overflow. Use the ToFloat64Checked version of this method if you need to check for an overflow.
func (Decimal128) ToFloat64Checked ¶
func (t Decimal128) ToFloat64Checked() (Float64, Boolean)
ToFloat64Checked attempts to cast the Decimal128 to a Float64. The second return value will be false if there was an overflow or any other loss of precision. For example, going from Float64 to Int64 will result in anything after the decimal being truncated.
func (Decimal128) ToInt16 ¶
func (t Decimal128) ToInt16() Int16
ToInt16 attempts to cast the Decimal128 to a Int16. The result is not checked for an overflow. Use the ToInt16Checked version of this method if you need to check for an overflow.
func (Decimal128) ToInt16Checked ¶
func (t Decimal128) ToInt16Checked() (Int16, Boolean)
ToInt16Checked attempts to cast the Decimal128 to a Int16. The second return value will be false if there was an overflow or any other loss of precision. For example, going from Float64 to Int64 will result in anything after the decimal being truncated.
func (Decimal128) ToInt64 ¶
func (t Decimal128) ToInt64() Int64
ToInt64 attempts to cast the Decimal128 to a Int64. The result is not checked for an overflow. Use the ToInt64Checked version of this method if you need to check for an overflow.
func (Decimal128) ToInt64Checked ¶
func (t Decimal128) ToInt64Checked() (Int64, Boolean)
ToInt64Checked attempts to cast the Decimal128 to a Int64. The second return value will be false if there was an overflow or any other loss of precision. For example, going from Float64 to Int64 will result in anything after the decimal being truncated.
func (Decimal128) ToInt8 ¶
func (t Decimal128) ToInt8() Int8
ToInt8 attempts to cast the Decimal128 to a Int8. The result is not checked for an overflow. Use the ToInt8Checked version of this method if you need to check for an overflow.
func (Decimal128) ToInt8Checked ¶
func (t Decimal128) ToInt8Checked() (Int8, Boolean)
ToInt8Checked attempts to cast the Decimal128 to a Int8. The second return value will be false if there was an overflow or any other loss of precision. For example, going from Float64 to Int64 will result in anything after the decimal being truncated.
func (Decimal128) ToString ¶
func (t Decimal128) ToString() String
ToString attempts to cast the Decimal128 to a String. The result is not checked for an overflow. Use the ToStringChecked version of this method if you need to check for an overflow.
func (Decimal128) ToStringChecked ¶
func (t Decimal128) ToStringChecked() (String, Boolean)
ToStringChecked attempts to cast the Decimal128 to a String. The second return value will be false if there was an overflow or any other loss of precision. For example, going from Float64 to Int64 will result in anything after the decimal being truncated.
func (Decimal128) ToTime32 ¶
func (t Decimal128) ToTime32() Time32
ToTime32 attempts to cast the Decimal128 to a Time32. The result is not checked for an overflow. Use the ToTime32Checked version of this method if you need to check for an overflow.
func (Decimal128) ToTime32Checked ¶
func (t Decimal128) ToTime32Checked() (Time32, Boolean)
ToTime32Checked attempts to cast the Decimal128 to a Time32. The second return value will be false if there was an overflow or any other loss of precision. For example, going from Float64 to Int64 will result in anything after the decimal being truncated.
func (Decimal128) ToTime64 ¶
func (t Decimal128) ToTime64() Time64
ToTime64 attempts to cast the Decimal128 to a Time64. The result is not checked for an overflow. Use the ToTime64Checked version of this method if you need to check for an overflow.
func (Decimal128) ToTime64Checked ¶
func (t Decimal128) ToTime64Checked() (Time64, Boolean)
ToTime64Checked attempts to cast the Decimal128 to a Time64. The second return value will be false if there was an overflow or any other loss of precision. For example, going from Float64 to Int64 will result in anything after the decimal being truncated.
func (Decimal128) ToTimestamp ¶
func (t Decimal128) ToTimestamp() Timestamp
ToTimestamp attempts to cast the Decimal128 to a Timestamp. The result is not checked for an overflow. Use the ToTimestampChecked version of this method if you need to check for an overflow.
func (Decimal128) ToTimestampChecked ¶
func (t Decimal128) ToTimestampChecked() (Timestamp, Boolean)
ToTimestampChecked attempts to cast the Decimal128 to a Timestamp. The second return value will be false if there was an overflow or any other loss of precision. For example, going from Float64 to Int64 will result in anything after the decimal being truncated.
func (Decimal128) ToUint16 ¶
func (t Decimal128) ToUint16() Uint16
ToUint16 attempts to cast the Decimal128 to a Uint16. The result is not checked for an overflow. Use the ToUint16Checked version of this method if you need to check for an overflow.
func (Decimal128) ToUint16Checked ¶
func (t Decimal128) ToUint16Checked() (Uint16, Boolean)
ToUint16Checked attempts to cast the Decimal128 to a Uint16. The second return value will be false if there was an overflow or any other loss of precision. For example, going from Float64 to Int64 will result in anything after the decimal being truncated.
func (Decimal128) ToUint32 ¶
func (t Decimal128) ToUint32() Uint32
ToUint32 attempts to cast the Decimal128 to a Uint32. The result is not checked for an overflow. Use the ToUint32Checked version of this method if you need to check for an overflow.
func (Decimal128) ToUint32Checked ¶
func (t Decimal128) ToUint32Checked() (Uint32, Boolean)
ToUint32Checked attempts to cast the Decimal128 to a Uint32. The second return value will be false if there was an overflow or any other loss of precision. For example, going from Float64 to Int64 will result in anything after the decimal being truncated.
func (Decimal128) ToUint64 ¶
func (t Decimal128) ToUint64() Uint64
ToUint64 attempts to cast the Decimal128 to a Uint64. The result is not checked for an overflow. Use the ToUint64Checked version of this method if you need to check for an overflow.
func (Decimal128) ToUint64Checked ¶
func (t Decimal128) ToUint64Checked() (Uint64, Boolean)
ToUint64Checked attempts to cast the Decimal128 to a Uint64. The second return value will be false if there was an overflow or any other loss of precision. For example, going from Float64 to Int64 will result in anything after the decimal being truncated.
func (Decimal128) ToUint8 ¶
func (t Decimal128) ToUint8() Uint8
ToUint8 attempts to cast the Decimal128 to a Uint8. The result is not checked for an overflow. Use the ToUint8Checked version of this method if you need to check for an overflow.
func (Decimal128) ToUint8Checked ¶
func (t Decimal128) ToUint8Checked() (Uint8, Boolean)
ToUint8Checked attempts to cast the Decimal128 to a Uint8. The second return value will be false if there was an overflow or any other loss of precision. For example, going from Float64 to Int64 will result in anything after the decimal being truncated.
func (*Decimal128) UnmarshalJSON ¶
func (e *Decimal128) UnmarshalJSON(data []byte) error
func (Decimal128) Value ¶
func (e Decimal128) Value() decimal128.Num
Value returns the underlying value in it's native type.
type Duration ¶
Duration has logic to apply to this type.
func CastToDuration ¶
CastToDuration takes an interface{} type or any Object type and attempts to convert it to the Duration Object type.
func NewDuration ¶
NewDuration creates a new Duration object from the given value provided as v.
func (Duration) Greater ¶
Greater returns true if the left Duration is greter than the right Duration.
func (Duration) GreaterEq ¶
GreaterEq returns true if the left Duration is greter than or equal to the right Duration.
func (Duration) LessEq ¶
LessEq returns true if the left Duration is less than or equal to the right Duration.
func (Duration) ToBoolean ¶
ToBoolean attempts to cast the Duration to a Boolean. The result is not checked for an overflow. Use the ToBooleanChecked version of this method if you need to check for an overflow.
func (Duration) ToBooleanChecked ¶
ToBooleanChecked attempts to cast the Duration to a Boolean. The second return value will be false if there was an overflow or any other loss of precision. For example, going from Float64 to Int64 will result in anything after the decimal being truncated.
func (Duration) ToDate32 ¶
ToDate32 attempts to cast the Duration to a Date32. The result is not checked for an overflow. Use the ToDate32Checked version of this method if you need to check for an overflow.
func (Duration) ToDate32Checked ¶
ToDate32Checked attempts to cast the Duration to a Date32. The second return value will be false if there was an overflow or any other loss of precision. For example, going from Float64 to Int64 will result in anything after the decimal being truncated.
func (Duration) ToDate64 ¶
ToDate64 attempts to cast the Duration to a Date64. The result is not checked for an overflow. Use the ToDate64Checked version of this method if you need to check for an overflow.
func (Duration) ToDate64Checked ¶
ToDate64Checked attempts to cast the Duration to a Date64. The second return value will be false if there was an overflow or any other loss of precision. For example, going from Float64 to Int64 will result in anything after the decimal being truncated.
func (Duration) ToDuration ¶
ToDuration attempts to cast the Duration to a Duration. The result is not checked for an overflow. Use the ToDurationChecked version of this method if you need to check for an overflow.
func (Duration) ToDurationChecked ¶
ToDurationChecked attempts to cast the Duration to a Duration. The second return value will be false if there was an overflow or any other loss of precision. For example, going from Float64 to Int64 will result in anything after the decimal being truncated.
func (Duration) ToFloat32 ¶
ToFloat32 attempts to cast the Duration to a Float32. The result is not checked for an overflow. Use the ToFloat32Checked version of this method if you need to check for an overflow.
func (Duration) ToFloat32Checked ¶
ToFloat32Checked attempts to cast the Duration to a Float32. The second return value will be false if there was an overflow or any other loss of precision. For example, going from Float64 to Int64 will result in anything after the decimal being truncated.
func (Duration) ToFloat64 ¶
ToFloat64 attempts to cast the Duration to a Float64. The result is not checked for an overflow. Use the ToFloat64Checked version of this method if you need to check for an overflow.
func (Duration) ToFloat64Checked ¶
ToFloat64Checked attempts to cast the Duration to a Float64. The second return value will be false if there was an overflow or any other loss of precision. For example, going from Float64 to Int64 will result in anything after the decimal being truncated.
func (Duration) ToInt16 ¶
ToInt16 attempts to cast the Duration to a Int16. The result is not checked for an overflow. Use the ToInt16Checked version of this method if you need to check for an overflow.
func (Duration) ToInt16Checked ¶
ToInt16Checked attempts to cast the Duration to a Int16. The second return value will be false if there was an overflow or any other loss of precision. For example, going from Float64 to Int64 will result in anything after the decimal being truncated.
func (Duration) ToInt64 ¶
ToInt64 attempts to cast the Duration to a Int64. The result is not checked for an overflow. Use the ToInt64Checked version of this method if you need to check for an overflow.
func (Duration) ToInt64Checked ¶
ToInt64Checked attempts to cast the Duration to a Int64. The second return value will be false if there was an overflow or any other loss of precision. For example, going from Float64 to Int64 will result in anything after the decimal being truncated.
func (Duration) ToInt8 ¶
ToInt8 attempts to cast the Duration to a Int8. The result is not checked for an overflow. Use the ToInt8Checked version of this method if you need to check for an overflow.
func (Duration) ToInt8Checked ¶
ToInt8Checked attempts to cast the Duration to a Int8. The second return value will be false if there was an overflow or any other loss of precision. For example, going from Float64 to Int64 will result in anything after the decimal being truncated.
func (Duration) ToString ¶
ToString attempts to cast the Duration to a String. The result is not checked for an overflow. Use the ToStringChecked version of this method if you need to check for an overflow.
func (Duration) ToStringChecked ¶
ToStringChecked attempts to cast the Duration to a String. The second return value will be false if there was an overflow or any other loss of precision. For example, going from Float64 to Int64 will result in anything after the decimal being truncated.
func (Duration) ToTime32 ¶
ToTime32 attempts to cast the Duration to a Time32. The result is not checked for an overflow. Use the ToTime32Checked version of this method if you need to check for an overflow.
func (Duration) ToTime32Checked ¶
ToTime32Checked attempts to cast the Duration to a Time32. The second return value will be false if there was an overflow or any other loss of precision. For example, going from Float64 to Int64 will result in anything after the decimal being truncated.
func (Duration) ToTime64 ¶
ToTime64 attempts to cast the Duration to a Time64. The result is not checked for an overflow. Use the ToTime64Checked version of this method if you need to check for an overflow.
func (Duration) ToTime64Checked ¶
ToTime64Checked attempts to cast the Duration to a Time64. The second return value will be false if there was an overflow or any other loss of precision. For example, going from Float64 to Int64 will result in anything after the decimal being truncated.
func (Duration) ToTimestamp ¶
ToTimestamp attempts to cast the Duration to a Timestamp. The result is not checked for an overflow. Use the ToTimestampChecked version of this method if you need to check for an overflow.
func (Duration) ToTimestampChecked ¶
ToTimestampChecked attempts to cast the Duration to a Timestamp. The second return value will be false if there was an overflow or any other loss of precision. For example, going from Float64 to Int64 will result in anything after the decimal being truncated.
func (Duration) ToUint16 ¶
ToUint16 attempts to cast the Duration to a Uint16. The result is not checked for an overflow. Use the ToUint16Checked version of this method if you need to check for an overflow.
func (Duration) ToUint16Checked ¶
ToUint16Checked attempts to cast the Duration to a Uint16. The second return value will be false if there was an overflow or any other loss of precision. For example, going from Float64 to Int64 will result in anything after the decimal being truncated.
func (Duration) ToUint32 ¶
ToUint32 attempts to cast the Duration to a Uint32. The result is not checked for an overflow. Use the ToUint32Checked version of this method if you need to check for an overflow.
func (Duration) ToUint32Checked ¶
ToUint32Checked attempts to cast the Duration to a Uint32. The second return value will be false if there was an overflow or any other loss of precision. For example, going from Float64 to Int64 will result in anything after the decimal being truncated.
func (Duration) ToUint64 ¶
ToUint64 attempts to cast the Duration to a Uint64. The result is not checked for an overflow. Use the ToUint64Checked version of this method if you need to check for an overflow.
func (Duration) ToUint64Checked ¶
ToUint64Checked attempts to cast the Duration to a Uint64. The second return value will be false if there was an overflow or any other loss of precision. For example, going from Float64 to Int64 will result in anything after the decimal being truncated.
func (Duration) ToUint8 ¶
ToUint8 attempts to cast the Duration to a Uint8. The result is not checked for an overflow. Use the ToUint8Checked version of this method if you need to check for an overflow.
func (Duration) ToUint8Checked ¶
ToUint8Checked attempts to cast the Duration to a Uint8. The second return value will be false if there was an overflow or any other loss of precision. For example, going from Float64 to Int64 will result in anything after the decimal being truncated.
type Float16 ¶
Float16 has logic to apply to this type.
func CastToFloat16 ¶
CastToFloat16 takes an interface{} type or any Object type and attempts to convert it to the Float16 Object type.
func NewFloat16 ¶
NewFloat16 creates a new Float16 object from the given value provided as v.
func (Float16) GreaterEq ¶
GreaterEq returns true if the left Float16 is greter than or equal to the right Float16.
func (Float16) LessEq ¶
LessEq returns true if the left Float16 is less than or equal to the right Float16.
func (Float16) ToBoolean ¶
ToBoolean attempts to cast the Float16 to a Boolean. The result is not checked for an overflow. Use the ToBooleanChecked version of this method if you need to check for an overflow.
func (Float16) ToBooleanChecked ¶
ToBooleanChecked attempts to cast the Float16 to a Boolean. The second return value will be false if there was an overflow or any other loss of precision. For example, going from Float64 to Int64 will result in anything after the decimal being truncated.
func (Float16) ToDate32 ¶
ToDate32 attempts to cast the Float16 to a Date32. The result is not checked for an overflow. The result will be truncated. 3.5 => 3 Use the ToDate32Checked version of this method if you need to check for an overflow.
func (Float16) ToDate32Checked ¶
ToDate32Checked attempts to cast the Float16 to a Date32. The second return value will be false if there was an overflow or any other loss of precision. For example, going from Float64 to Int64 will result in anything after the decimal being truncated. The result will be truncated. 3.5 => 3
func (Float16) ToDate64 ¶
ToDate64 attempts to cast the Float16 to a Date64. The result is not checked for an overflow. The result will be truncated. 3.5 => 3 Use the ToDate64Checked version of this method if you need to check for an overflow.
func (Float16) ToDate64Checked ¶
ToDate64Checked attempts to cast the Float16 to a Date64. The second return value will be false if there was an overflow or any other loss of precision. For example, going from Float64 to Int64 will result in anything after the decimal being truncated. The result will be truncated. 3.5 => 3
func (Float16) ToFloat16 ¶
ToFloat16 attempts to cast the Float16 to a Float16. The result is not checked for an overflow. Use the ToFloat16Checked version of this method if you need to check for an overflow.
func (Float16) ToFloat16Checked ¶
ToFloat16Checked attempts to cast the Float16 to a Float16. The second return value will be false if there was an overflow or any other loss of precision. For example, going from Float64 to Int64 will result in anything after the decimal being truncated.
func (Float16) ToFloat32 ¶
ToFloat32 attempts to cast the Float16 to a Float32. The result is not checked for an overflow. Use the ToFloat32Checked version of this method if you need to check for an overflow.
func (Float16) ToFloat32Checked ¶
ToFloat32Checked attempts to cast the Float16 to a Float32. The second return value will be false if there was an overflow or any other loss of precision. For example, going from Float64 to Int64 will result in anything after the decimal being truncated.
func (Float16) ToFloat64 ¶
ToFloat64 attempts to cast the Float16 to a Float64. The result is not checked for an overflow. Use the ToFloat64Checked version of this method if you need to check for an overflow.
func (Float16) ToFloat64Checked ¶
ToFloat64Checked attempts to cast the Float16 to a Float64. The second return value will be false if there was an overflow or any other loss of precision. For example, going from Float64 to Int64 will result in anything after the decimal being truncated.
func (Float16) ToInt16 ¶
ToInt16 attempts to cast the Float16 to a Int16. The result is not checked for an overflow. Use the ToInt16Checked version of this method if you need to check for an overflow.
func (Float16) ToInt16Checked ¶
ToInt16Checked attempts to cast the Float16 to a Int16. The second return value will be false if there was an overflow or any other loss of precision. For example, going from Float64 to Int64 will result in anything after the decimal being truncated.
func (Float16) ToInt32 ¶
ToInt32 attempts to cast the Float16 to a Int32. The result is not checked for an overflow. The result will be truncated. 3.5 => 3 Use the ToInt32Checked version of this method if you need to check for an overflow.
func (Float16) ToInt32Checked ¶
ToInt32Checked attempts to cast the Float16 to a Int32. The second return value will be false if there was an overflow or any other loss of precision. For example, going from Float64 to Int64 will result in anything after the decimal being truncated. The result will be truncated. 3.5 => 3
func (Float16) ToInt64 ¶
ToInt64 attempts to cast the Float16 to a Int64. The result is not checked for an overflow. The result will be truncated. 3.5 => 3 Use the ToInt64Checked version of this method if you need to check for an overflow.
func (Float16) ToInt64Checked ¶
ToInt64Checked attempts to cast the Float16 to a Int64. The second return value will be false if there was an overflow or any other loss of precision. For example, going from Float64 to Int64 will result in anything after the decimal being truncated. The result will be truncated. 3.5 => 3
func (Float16) ToInt8 ¶
ToInt8 attempts to cast the Float16 to a Int8. The result is not checked for an overflow. Use the ToInt8Checked version of this method if you need to check for an overflow.
func (Float16) ToInt8Checked ¶
ToInt8Checked attempts to cast the Float16 to a Int8. The second return value will be false if there was an overflow or any other loss of precision. For example, going from Float64 to Int64 will result in anything after the decimal being truncated.
func (Float16) ToString ¶
ToString attempts to cast the Float16 to a String. The result is not checked for an overflow. Use the ToStringChecked version of this method if you need to check for an overflow.
func (Float16) ToStringChecked ¶
ToStringChecked attempts to cast the Float16 to a String. The second return value will be false if there was an overflow or any other loss of precision. For example, going from Float64 to Int64 will result in anything after the decimal being truncated.
func (Float16) ToTime32 ¶
ToTime32 attempts to cast the Float16 to a Time32. The result is not checked for an overflow. The result will be truncated. 3.5 => 3 Use the ToTime32Checked version of this method if you need to check for an overflow.
func (Float16) ToTime32Checked ¶
ToTime32Checked attempts to cast the Float16 to a Time32. The second return value will be false if there was an overflow or any other loss of precision. For example, going from Float64 to Int64 will result in anything after the decimal being truncated. The result will be truncated. 3.5 => 3
func (Float16) ToTime64 ¶
ToTime64 attempts to cast the Float16 to a Time64. The result is not checked for an overflow. The result will be truncated. 3.5 => 3 Use the ToTime64Checked version of this method if you need to check for an overflow.
func (Float16) ToTime64Checked ¶
ToTime64Checked attempts to cast the Float16 to a Time64. The second return value will be false if there was an overflow or any other loss of precision. For example, going from Float64 to Int64 will result in anything after the decimal being truncated. The result will be truncated. 3.5 => 3
func (Float16) ToTimestamp ¶
ToTimestamp attempts to cast the Float16 to a Timestamp. The result is not checked for an overflow. The result will be truncated. 3.5 => 3 Use the ToTimestampChecked version of this method if you need to check for an overflow.
func (Float16) ToTimestampChecked ¶
ToTimestampChecked attempts to cast the Float16 to a Timestamp. The second return value will be false if there was an overflow or any other loss of precision. For example, going from Float64 to Int64 will result in anything after the decimal being truncated. The result will be truncated. 3.5 => 3
func (Float16) ToUint16 ¶
ToUint16 attempts to cast the Float16 to a Uint16. The result is not checked for an overflow. The result will be truncated. 3.5 => 3 Use the ToUint16Checked version of this method if you need to check for an overflow.
func (Float16) ToUint16Checked ¶
ToUint16Checked attempts to cast the Float16 to a Uint16. The second return value will be false if there was an overflow or any other loss of precision. For example, going from Float64 to Int64 will result in anything after the decimal being truncated. The result will be truncated. 3.5 => 3
func (Float16) ToUint32 ¶
ToUint32 attempts to cast the Float16 to a Uint32. The result is not checked for an overflow. The result will be truncated. 3.5 => 3 Use the ToUint32Checked version of this method if you need to check for an overflow.
func (Float16) ToUint32Checked ¶
ToUint32Checked attempts to cast the Float16 to a Uint32. The second return value will be false if there was an overflow or any other loss of precision. For example, going from Float64 to Int64 will result in anything after the decimal being truncated. The result will be truncated. 3.5 => 3
func (Float16) ToUint64 ¶
ToUint64 attempts to cast the Float16 to a Uint64. The result is not checked for an overflow. The result will be truncated. 3.5 => 3 Use the ToUint64Checked version of this method if you need to check for an overflow.
func (Float16) ToUint64Checked ¶
ToUint64Checked attempts to cast the Float16 to a Uint64. The second return value will be false if there was an overflow or any other loss of precision. For example, going from Float64 to Int64 will result in anything after the decimal being truncated. The result will be truncated. 3.5 => 3
func (Float16) ToUint8 ¶
ToUint8 attempts to cast the Float16 to a Uint8. The result is not checked for an overflow. Use the ToUint8Checked version of this method if you need to check for an overflow.
func (Float16) ToUint8Checked ¶
ToUint8Checked attempts to cast the Float16 to a Uint8. The second return value will be false if there was an overflow or any other loss of precision. For example, going from Float64 to Int64 will result in anything after the decimal being truncated.
type Float32 ¶
type Float32 float32
Float32 has logic to apply to this type.
func CastToFloat32 ¶
CastToFloat32 takes an interface{} type or any Object type and attempts to convert it to the Float32 Object type.
func NewFloat32 ¶
NewFloat32 creates a new Float32 object from the given value provided as v.
func (Float32) GreaterEq ¶
GreaterEq returns true if the left Float32 is greter than or equal to the right Float32.
func (Float32) LessEq ¶
LessEq returns true if the left Float32 is less than or equal to the right Float32.
func (Float32) ToBoolean ¶
ToBoolean attempts to cast the Float32 to a Boolean. The result is not checked for an overflow. Use the ToBooleanChecked version of this method if you need to check for an overflow.
func (Float32) ToBooleanChecked ¶
ToBooleanChecked attempts to cast the Float32 to a Boolean. The second return value will be false if there was an overflow or any other loss of precision. For example, going from Float64 to Int64 will result in anything after the decimal being truncated.
func (Float32) ToDate32 ¶
ToDate32 attempts to cast the Float32 to a Date32. The result is not checked for an overflow. The result will be truncated. 123.567 => 123 Use the ToDate32Checked version of this method if you need to check for an overflow.
func (Float32) ToDate32Checked ¶
ToDate32Checked attempts to cast the Float32 to a Date32. The second return value will be false if there was an overflow or any other loss of precision. For example, going from Float64 to Int64 will result in anything after the decimal being truncated. The result will be truncated. 123.567 => 123
func (Float32) ToDate64 ¶
ToDate64 attempts to cast the Float32 to a Date64. The result is not checked for an overflow. The result will be truncated. 123.567 => 123 Use the ToDate64Checked version of this method if you need to check for an overflow.
func (Float32) ToDate64Checked ¶
ToDate64Checked attempts to cast the Float32 to a Date64. The second return value will be false if there was an overflow or any other loss of precision. For example, going from Float64 to Int64 will result in anything after the decimal being truncated. The result will be truncated. 123.567 => 123
func (Float32) ToFloat16 ¶
ToFloat16 attempts to cast the Float32 to a Float16. The result is not checked for an overflow. Use the ToFloat16Checked version of this method if you need to check for an overflow.
func (Float32) ToFloat16Checked ¶
ToFloat16Checked attempts to cast the Float32 to a Float16. The second return value will be false if there was an overflow or any other loss of precision. For example, going from Float64 to Int64 will result in anything after the decimal being truncated.
func (Float32) ToFloat32 ¶
ToFloat32 attempts to cast the Float32 to a Float32. The result is not checked for an overflow. Use the ToFloat32Checked version of this method if you need to check for an overflow.
func (Float32) ToFloat32Checked ¶
ToFloat32Checked attempts to cast the Float32 to a Float32. The second return value will be false if there was an overflow or any other loss of precision. For example, going from Float64 to Int64 will result in anything after the decimal being truncated.
func (Float32) ToFloat64 ¶
ToFloat64 attempts to cast the Float32 to a Float64. The result is not checked for an overflow. Use the ToFloat64Checked version of this method if you need to check for an overflow.
func (Float32) ToFloat64Checked ¶
ToFloat64Checked attempts to cast the Float32 to a Float64. The second return value will be false if there was an overflow or any other loss of precision. For example, going from Float64 to Int64 will result in anything after the decimal being truncated.
func (Float32) ToInt16 ¶
ToInt16 attempts to cast the Float32 to a Int16. The result is not checked for an overflow. Use the ToInt16Checked version of this method if you need to check for an overflow.
func (Float32) ToInt16Checked ¶
ToInt16Checked attempts to cast the Float32 to a Int16. The second return value will be false if there was an overflow or any other loss of precision. For example, going from Float64 to Int64 will result in anything after the decimal being truncated.
func (Float32) ToInt32 ¶
ToInt32 attempts to cast the Float32 to a Int32. The result is not checked for an overflow. The result will be truncated. 123.567 => 123 Use the ToInt32Checked version of this method if you need to check for an overflow.
func (Float32) ToInt32Checked ¶
ToInt32Checked attempts to cast the Float32 to a Int32. The second return value will be false if there was an overflow or any other loss of precision. For example, going from Float64 to Int64 will result in anything after the decimal being truncated. The result will be truncated. 123.567 => 123
func (Float32) ToInt64 ¶
ToInt64 attempts to cast the Float32 to a Int64. The result is not checked for an overflow. The result will be truncated. 123.567 => 123 Use the ToInt64Checked version of this method if you need to check for an overflow.
func (Float32) ToInt64Checked ¶
ToInt64Checked attempts to cast the Float32 to a Int64. The second return value will be false if there was an overflow or any other loss of precision. For example, going from Float64 to Int64 will result in anything after the decimal being truncated. The result will be truncated. 123.567 => 123
func (Float32) ToInt8 ¶
ToInt8 attempts to cast the Float32 to a Int8. The result is not checked for an overflow. Use the ToInt8Checked version of this method if you need to check for an overflow.
func (Float32) ToInt8Checked ¶
ToInt8Checked attempts to cast the Float32 to a Int8. The second return value will be false if there was an overflow or any other loss of precision. For example, going from Float64 to Int64 will result in anything after the decimal being truncated.
func (Float32) ToString ¶
ToString attempts to cast the Float32 to a String. The result is not checked for an overflow. Use the ToStringChecked version of this method if you need to check for an overflow.
func (Float32) ToStringChecked ¶
ToStringChecked attempts to cast the Float32 to a String. The second return value will be false if there was an overflow or any other loss of precision. For example, going from Float64 to Int64 will result in anything after the decimal being truncated.
func (Float32) ToTime32 ¶
ToTime32 attempts to cast the Float32 to a Time32. The result is not checked for an overflow. The result will be truncated. 123.567 => 123 Use the ToTime32Checked version of this method if you need to check for an overflow.
func (Float32) ToTime32Checked ¶
ToTime32Checked attempts to cast the Float32 to a Time32. The second return value will be false if there was an overflow or any other loss of precision. For example, going from Float64 to Int64 will result in anything after the decimal being truncated. The result will be truncated. 123.567 => 123
func (Float32) ToTime64 ¶
ToTime64 attempts to cast the Float32 to a Time64. The result is not checked for an overflow. The result will be truncated. 123.567 => 123 Use the ToTime64Checked version of this method if you need to check for an overflow.
func (Float32) ToTime64Checked ¶
ToTime64Checked attempts to cast the Float32 to a Time64. The second return value will be false if there was an overflow or any other loss of precision. For example, going from Float64 to Int64 will result in anything after the decimal being truncated. The result will be truncated. 123.567 => 123
func (Float32) ToTimestamp ¶
ToTimestamp attempts to cast the Float32 to a Timestamp. The result is not checked for an overflow. The result will be truncated. 123.567 => 123 Use the ToTimestampChecked version of this method if you need to check for an overflow.
func (Float32) ToTimestampChecked ¶
ToTimestampChecked attempts to cast the Float32 to a Timestamp. The second return value will be false if there was an overflow or any other loss of precision. For example, going from Float64 to Int64 will result in anything after the decimal being truncated. The result will be truncated. 123.567 => 123
func (Float32) ToUint16 ¶
ToUint16 attempts to cast the Float32 to a Uint16. The result is not checked for an overflow. The result will be truncated. 123.567 => 123 Use the ToUint16Checked version of this method if you need to check for an overflow.
func (Float32) ToUint16Checked ¶
ToUint16Checked attempts to cast the Float32 to a Uint16. The second return value will be false if there was an overflow or any other loss of precision. For example, going from Float64 to Int64 will result in anything after the decimal being truncated. The result will be truncated. 123.567 => 123
func (Float32) ToUint32 ¶
ToUint32 attempts to cast the Float32 to a Uint32. The result is not checked for an overflow. The result will be truncated. 123.567 => 123 Use the ToUint32Checked version of this method if you need to check for an overflow.
func (Float32) ToUint32Checked ¶
ToUint32Checked attempts to cast the Float32 to a Uint32. The second return value will be false if there was an overflow or any other loss of precision. For example, going from Float64 to Int64 will result in anything after the decimal being truncated. The result will be truncated. 123.567 => 123
func (Float32) ToUint64 ¶
ToUint64 attempts to cast the Float32 to a Uint64. The result is not checked for an overflow. The result will be truncated. 123.567 => 123 Use the ToUint64Checked version of this method if you need to check for an overflow.
func (Float32) ToUint64Checked ¶
ToUint64Checked attempts to cast the Float32 to a Uint64. The second return value will be false if there was an overflow or any other loss of precision. For example, going from Float64 to Int64 will result in anything after the decimal being truncated. The result will be truncated. 123.567 => 123
func (Float32) ToUint8 ¶
ToUint8 attempts to cast the Float32 to a Uint8. The result is not checked for an overflow. Use the ToUint8Checked version of this method if you need to check for an overflow.
func (Float32) ToUint8Checked ¶
ToUint8Checked attempts to cast the Float32 to a Uint8. The second return value will be false if there was an overflow or any other loss of precision. For example, going from Float64 to Int64 will result in anything after the decimal being truncated.
type Float64 ¶
type Float64 float64
Float64 has logic to apply to this type.
func CastToFloat64 ¶
CastToFloat64 takes an interface{} type or any Object type and attempts to convert it to the Float64 Object type.
func NewFloat64 ¶
NewFloat64 creates a new Float64 object from the given value provided as v.
func (Float64) GreaterEq ¶
GreaterEq returns true if the left Float64 is greter than or equal to the right Float64.
func (Float64) LessEq ¶
LessEq returns true if the left Float64 is less than or equal to the right Float64.
func (Float64) ToBoolean ¶
ToBoolean attempts to cast the Float64 to a Boolean. The result is not checked for an overflow. Use the ToBooleanChecked version of this method if you need to check for an overflow.
func (Float64) ToBooleanChecked ¶
ToBooleanChecked attempts to cast the Float64 to a Boolean. The second return value will be false if there was an overflow or any other loss of precision. For example, going from Float64 to Int64 will result in anything after the decimal being truncated.
func (Float64) ToDate32 ¶
ToDate32 attempts to cast the Float64 to a Date32. The result is not checked for an overflow. The result will be truncated. 123.567 => 123 Use the ToDate32Checked version of this method if you need to check for an overflow.
func (Float64) ToDate32Checked ¶
ToDate32Checked attempts to cast the Float64 to a Date32. The second return value will be false if there was an overflow or any other loss of precision. For example, going from Float64 to Int64 will result in anything after the decimal being truncated. The result will be truncated. 123.567 => 123
func (Float64) ToDate64 ¶
ToDate64 attempts to cast the Float64 to a Date64. The result is not checked for an overflow. The result will be truncated. 123.567 => 123 Use the ToDate64Checked version of this method if you need to check for an overflow.
func (Float64) ToDate64Checked ¶
ToDate64Checked attempts to cast the Float64 to a Date64. The second return value will be false if there was an overflow or any other loss of precision. For example, going from Float64 to Int64 will result in anything after the decimal being truncated. The result will be truncated. 123.567 => 123
func (Float64) ToFloat32 ¶
ToFloat32 attempts to cast the Float64 to a Float32. The result is not checked for an overflow. Use the ToFloat32Checked version of this method if you need to check for an overflow.
func (Float64) ToFloat32Checked ¶
ToFloat32Checked attempts to cast the Float64 to a Float32. The second return value will be false if there was an overflow or any other loss of precision. For example, going from Float64 to Int64 will result in anything after the decimal being truncated.
func (Float64) ToFloat64 ¶
ToFloat64 attempts to cast the Float64 to a Float64. The result is not checked for an overflow. Use the ToFloat64Checked version of this method if you need to check for an overflow.
func (Float64) ToFloat64Checked ¶
ToFloat64Checked attempts to cast the Float64 to a Float64. The second return value will be false if there was an overflow or any other loss of precision. For example, going from Float64 to Int64 will result in anything after the decimal being truncated.
func (Float64) ToInt16 ¶
ToInt16 attempts to cast the Float64 to a Int16. The result is not checked for an overflow. The result will be truncated. 123.567 => 123 Use the ToInt16Checked version of this method if you need to check for an overflow.
func (Float64) ToInt16Checked ¶
ToInt16Checked attempts to cast the Float64 to a Int16. The second return value will be false if there was an overflow or any other loss of precision. For example, going from Float64 to Int64 will result in anything after the decimal being truncated. The result will be truncated. 123.567 => 123
func (Float64) ToInt32 ¶
ToInt32 attempts to cast the Float64 to a Int32. The result is not checked for an overflow. The result will be truncated. 123.567 => 123 Use the ToInt32Checked version of this method if you need to check for an overflow.
func (Float64) ToInt32Checked ¶
ToInt32Checked attempts to cast the Float64 to a Int32. The second return value will be false if there was an overflow or any other loss of precision. For example, going from Float64 to Int64 will result in anything after the decimal being truncated. The result will be truncated. 123.567 => 123
func (Float64) ToInt64 ¶
ToInt64 attempts to cast the Float64 to a Int64. The result is not checked for an overflow. The result will be truncated. 123.567 => 123 Use the ToInt64Checked version of this method if you need to check for an overflow.
func (Float64) ToInt64Checked ¶
ToInt64Checked attempts to cast the Float64 to a Int64. The second return value will be false if there was an overflow or any other loss of precision. For example, going from Float64 to Int64 will result in anything after the decimal being truncated. The result will be truncated. 123.567 => 123
func (Float64) ToInt8 ¶
ToInt8 attempts to cast the Float64 to a Int8. The result is not checked for an overflow. The result will be truncated. 3.5 => 3 Use the ToInt8Checked version of this method if you need to check for an overflow.
func (Float64) ToInt8Checked ¶
ToInt8Checked attempts to cast the Float64 to a Int8. The second return value will be false if there was an overflow or any other loss of precision. For example, going from Float64 to Int64 will result in anything after the decimal being truncated. The result will be truncated. 3.5 => 3
func (Float64) ToString ¶
ToString attempts to cast the Float64 to a String. The result is not checked for an overflow. Use the ToStringChecked version of this method if you need to check for an overflow.
func (Float64) ToStringChecked ¶
ToStringChecked attempts to cast the Float64 to a String. The second return value will be false if there was an overflow or any other loss of precision. For example, going from Float64 to Int64 will result in anything after the decimal being truncated.
func (Float64) ToTime32 ¶
ToTime32 attempts to cast the Float64 to a Time32. The result is not checked for an overflow. The result will be truncated. 123.567 => 123 Use the ToTime32Checked version of this method if you need to check for an overflow.
func (Float64) ToTime32Checked ¶
ToTime32Checked attempts to cast the Float64 to a Time32. The second return value will be false if there was an overflow or any other loss of precision. For example, going from Float64 to Int64 will result in anything after the decimal being truncated. The result will be truncated. 123.567 => 123
func (Float64) ToTime64 ¶
ToTime64 attempts to cast the Float64 to a Time64. The result is not checked for an overflow. The result will be truncated. 123.567 => 123 Use the ToTime64Checked version of this method if you need to check for an overflow.
func (Float64) ToTime64Checked ¶
ToTime64Checked attempts to cast the Float64 to a Time64. The second return value will be false if there was an overflow or any other loss of precision. For example, going from Float64 to Int64 will result in anything after the decimal being truncated. The result will be truncated. 123.567 => 123
func (Float64) ToTimestamp ¶
ToTimestamp attempts to cast the Float64 to a Timestamp. The result is not checked for an overflow. The result will be truncated. 123.567 => 123 Use the ToTimestampChecked version of this method if you need to check for an overflow.
func (Float64) ToTimestampChecked ¶
ToTimestampChecked attempts to cast the Float64 to a Timestamp. The second return value will be false if there was an overflow or any other loss of precision. For example, going from Float64 to Int64 will result in anything after the decimal being truncated. The result will be truncated. 123.567 => 123
func (Float64) ToUint16 ¶
ToUint16 attempts to cast the Float64 to a Uint16. The result is not checked for an overflow. The result will be truncated. 123.567 => 123 Use the ToUint16Checked version of this method if you need to check for an overflow.
func (Float64) ToUint16Checked ¶
ToUint16Checked attempts to cast the Float64 to a Uint16. The second return value will be false if there was an overflow or any other loss of precision. For example, going from Float64 to Int64 will result in anything after the decimal being truncated. The result will be truncated. 123.567 => 123
func (Float64) ToUint32 ¶
ToUint32 attempts to cast the Float64 to a Uint32. The result is not checked for an overflow. The result will be truncated. 123.567 => 123 Use the ToUint32Checked version of this method if you need to check for an overflow.
func (Float64) ToUint32Checked ¶
ToUint32Checked attempts to cast the Float64 to a Uint32. The second return value will be false if there was an overflow or any other loss of precision. For example, going from Float64 to Int64 will result in anything after the decimal being truncated. The result will be truncated. 123.567 => 123
func (Float64) ToUint64 ¶
ToUint64 attempts to cast the Float64 to a Uint64. The result is not checked for an overflow. The result will be truncated. 123.567 => 123 Use the ToUint64Checked version of this method if you need to check for an overflow.
func (Float64) ToUint64Checked ¶
ToUint64Checked attempts to cast the Float64 to a Uint64. The second return value will be false if there was an overflow or any other loss of precision. For example, going from Float64 to Int64 will result in anything after the decimal being truncated. The result will be truncated. 123.567 => 123
func (Float64) ToUint8 ¶
ToUint8 attempts to cast the Float64 to a Uint8. The result is not checked for an overflow. The result will be truncated. 3.5 => 3 Use the ToUint8Checked version of this method if you need to check for an overflow.
func (Float64) ToUint8Checked ¶
ToUint8Checked attempts to cast the Float64 to a Uint8. The second return value will be false if there was an overflow or any other loss of precision. For example, going from Float64 to Int64 will result in anything after the decimal being truncated. The result will be truncated. 3.5 => 3
type Int16 ¶
type Int16 int16
Int16 has logic to apply to this type.
func CastToInt16 ¶
CastToInt16 takes an interface{} type or any Object type and attempts to convert it to the Int16 Object type.
func (Int16) GreaterEq ¶
GreaterEq returns true if the left Int16 is greter than or equal to the right Int16.
func (Int16) LessEq ¶
LessEq returns true if the left Int16 is less than or equal to the right Int16.
func (Int16) ToBoolean ¶
ToBoolean attempts to cast the Int16 to a Boolean. The result is not checked for an overflow. Use the ToBooleanChecked version of this method if you need to check for an overflow.
func (Int16) ToBooleanChecked ¶
ToBooleanChecked attempts to cast the Int16 to a Boolean. The second return value will be false if there was an overflow or any other loss of precision. For example, going from Float64 to Int64 will result in anything after the decimal being truncated.
func (Int16) ToDate32 ¶
ToDate32 attempts to cast the Int16 to a Date32. The result is not checked for an overflow. Use the ToDate32Checked version of this method if you need to check for an overflow.
func (Int16) ToDate32Checked ¶
ToDate32Checked attempts to cast the Int16 to a Date32. The second return value will be false if there was an overflow or any other loss of precision. For example, going from Float64 to Int64 will result in anything after the decimal being truncated.
func (Int16) ToDate64 ¶
ToDate64 attempts to cast the Int16 to a Date64. The result is not checked for an overflow. Use the ToDate64Checked version of this method if you need to check for an overflow.
func (Int16) ToDate64Checked ¶
ToDate64Checked attempts to cast the Int16 to a Date64. The second return value will be false if there was an overflow or any other loss of precision. For example, going from Float64 to Int64 will result in anything after the decimal being truncated.
func (Int16) ToFloat32 ¶
ToFloat32 attempts to cast the Int16 to a Float32. The result is not checked for an overflow. Use the ToFloat32Checked version of this method if you need to check for an overflow.
func (Int16) ToFloat32Checked ¶
ToFloat32Checked attempts to cast the Int16 to a Float32. The second return value will be false if there was an overflow or any other loss of precision. For example, going from Float64 to Int64 will result in anything after the decimal being truncated.
func (Int16) ToFloat64 ¶
ToFloat64 attempts to cast the Int16 to a Float64. The result is not checked for an overflow. Use the ToFloat64Checked version of this method if you need to check for an overflow.
func (Int16) ToFloat64Checked ¶
ToFloat64Checked attempts to cast the Int16 to a Float64. The second return value will be false if there was an overflow or any other loss of precision. For example, going from Float64 to Int64 will result in anything after the decimal being truncated.
func (Int16) ToInt16 ¶
ToInt16 attempts to cast the Int16 to a Int16. The result is not checked for an overflow. Use the ToInt16Checked version of this method if you need to check for an overflow.
func (Int16) ToInt16Checked ¶
ToInt16Checked attempts to cast the Int16 to a Int16. The second return value will be false if there was an overflow or any other loss of precision. For example, going from Float64 to Int64 will result in anything after the decimal being truncated.
func (Int16) ToInt32 ¶
ToInt32 attempts to cast the Int16 to a Int32. The result is not checked for an overflow. Use the ToInt32Checked version of this method if you need to check for an overflow.
func (Int16) ToInt32Checked ¶
ToInt32Checked attempts to cast the Int16 to a Int32. The second return value will be false if there was an overflow or any other loss of precision. For example, going from Float64 to Int64 will result in anything after the decimal being truncated.
func (Int16) ToInt64 ¶
ToInt64 attempts to cast the Int16 to a Int64. The result is not checked for an overflow. Use the ToInt64Checked version of this method if you need to check for an overflow.
func (Int16) ToInt64Checked ¶
ToInt64Checked attempts to cast the Int16 to a Int64. The second return value will be false if there was an overflow or any other loss of precision. For example, going from Float64 to Int64 will result in anything after the decimal being truncated.
func (Int16) ToInt8 ¶
ToInt8 attempts to cast the Int16 to a Int8. The result is not checked for an overflow. Use the ToInt8Checked version of this method if you need to check for an overflow.
func (Int16) ToInt8Checked ¶
ToInt8Checked attempts to cast the Int16 to a Int8. The second return value will be false if there was an overflow or any other loss of precision. For example, going from Float64 to Int64 will result in anything after the decimal being truncated.
func (Int16) ToString ¶
ToString attempts to cast the Int16 to a String. The result is not checked for an overflow. Use the ToStringChecked version of this method if you need to check for an overflow.
func (Int16) ToStringChecked ¶
ToStringChecked attempts to cast the Int16 to a String. The second return value will be false if there was an overflow or any other loss of precision. For example, going from Float64 to Int64 will result in anything after the decimal being truncated.
func (Int16) ToTime32 ¶
ToTime32 attempts to cast the Int16 to a Time32. The result is not checked for an overflow. Use the ToTime32Checked version of this method if you need to check for an overflow.
func (Int16) ToTime32Checked ¶
ToTime32Checked attempts to cast the Int16 to a Time32. The second return value will be false if there was an overflow or any other loss of precision. For example, going from Float64 to Int64 will result in anything after the decimal being truncated.
func (Int16) ToTime64 ¶
ToTime64 attempts to cast the Int16 to a Time64. The result is not checked for an overflow. Use the ToTime64Checked version of this method if you need to check for an overflow.
func (Int16) ToTime64Checked ¶
ToTime64Checked attempts to cast the Int16 to a Time64. The second return value will be false if there was an overflow or any other loss of precision. For example, going from Float64 to Int64 will result in anything after the decimal being truncated.
func (Int16) ToTimestamp ¶
ToTimestamp attempts to cast the Int16 to a Timestamp. The result is not checked for an overflow. Use the ToTimestampChecked version of this method if you need to check for an overflow.
func (Int16) ToTimestampChecked ¶
ToTimestampChecked attempts to cast the Int16 to a Timestamp. The second return value will be false if there was an overflow or any other loss of precision. For example, going from Float64 to Int64 will result in anything after the decimal being truncated.
func (Int16) ToUint16 ¶
ToUint16 attempts to cast the Int16 to a Uint16. The result is not checked for an overflow. Use the ToUint16Checked version of this method if you need to check for an overflow.
func (Int16) ToUint16Checked ¶
ToUint16Checked attempts to cast the Int16 to a Uint16. The second return value will be false if there was an overflow or any other loss of precision. For example, going from Float64 to Int64 will result in anything after the decimal being truncated.
func (Int16) ToUint32 ¶
ToUint32 attempts to cast the Int16 to a Uint32. The result is not checked for an overflow. Use the ToUint32Checked version of this method if you need to check for an overflow.
func (Int16) ToUint32Checked ¶
ToUint32Checked attempts to cast the Int16 to a Uint32. The second return value will be false if there was an overflow or any other loss of precision. For example, going from Float64 to Int64 will result in anything after the decimal being truncated.
func (Int16) ToUint64 ¶
ToUint64 attempts to cast the Int16 to a Uint64. The result is not checked for an overflow. Use the ToUint64Checked version of this method if you need to check for an overflow.
func (Int16) ToUint64Checked ¶
ToUint64Checked attempts to cast the Int16 to a Uint64. The second return value will be false if there was an overflow or any other loss of precision. For example, going from Float64 to Int64 will result in anything after the decimal being truncated.
func (Int16) ToUint8 ¶
ToUint8 attempts to cast the Int16 to a Uint8. The result is not checked for an overflow. Use the ToUint8Checked version of this method if you need to check for an overflow.
func (Int16) ToUint8Checked ¶
ToUint8Checked attempts to cast the Int16 to a Uint8. The second return value will be false if there was an overflow or any other loss of precision. For example, going from Float64 to Int64 will result in anything after the decimal being truncated.
type Int32 ¶
type Int32 int32
Int32 has logic to apply to this type.
func CastToInt32 ¶
CastToInt32 takes an interface{} type or any Object type and attempts to convert it to the Int32 Object type.
func (Int32) GreaterEq ¶
GreaterEq returns true if the left Int32 is greter than or equal to the right Int32.
func (Int32) LessEq ¶
LessEq returns true if the left Int32 is less than or equal to the right Int32.
func (Int32) ToBoolean ¶
ToBoolean attempts to cast the Int32 to a Boolean. The result is not checked for an overflow. Use the ToBooleanChecked version of this method if you need to check for an overflow.
func (Int32) ToBooleanChecked ¶
ToBooleanChecked attempts to cast the Int32 to a Boolean. The second return value will be false if there was an overflow or any other loss of precision. For example, going from Float64 to Int64 will result in anything after the decimal being truncated.
func (Int32) ToDate32 ¶
ToDate32 attempts to cast the Int32 to a Date32. The result is not checked for an overflow. Use the ToDate32Checked version of this method if you need to check for an overflow.
func (Int32) ToDate32Checked ¶
ToDate32Checked attempts to cast the Int32 to a Date32. The second return value will be false if there was an overflow or any other loss of precision. For example, going from Float64 to Int64 will result in anything after the decimal being truncated.
func (Int32) ToDate64 ¶
ToDate64 attempts to cast the Int32 to a Date64. The result is not checked for an overflow. Use the ToDate64Checked version of this method if you need to check for an overflow.
func (Int32) ToDate64Checked ¶
ToDate64Checked attempts to cast the Int32 to a Date64. The second return value will be false if there was an overflow or any other loss of precision. For example, going from Float64 to Int64 will result in anything after the decimal being truncated.
func (Int32) ToFloat32 ¶
ToFloat32 attempts to cast the Int32 to a Float32. The result is not checked for an overflow. Use the ToFloat32Checked version of this method if you need to check for an overflow.
func (Int32) ToFloat32Checked ¶
ToFloat32Checked attempts to cast the Int32 to a Float32. The second return value will be false if there was an overflow or any other loss of precision. For example, going from Float64 to Int64 will result in anything after the decimal being truncated.
func (Int32) ToFloat64 ¶
ToFloat64 attempts to cast the Int32 to a Float64. The result is not checked for an overflow. Use the ToFloat64Checked version of this method if you need to check for an overflow.
func (Int32) ToFloat64Checked ¶
ToFloat64Checked attempts to cast the Int32 to a Float64. The second return value will be false if there was an overflow or any other loss of precision. For example, going from Float64 to Int64 will result in anything after the decimal being truncated.
func (Int32) ToInt16 ¶
ToInt16 attempts to cast the Int32 to a Int16. The result is not checked for an overflow. Use the ToInt16Checked version of this method if you need to check for an overflow.
func (Int32) ToInt16Checked ¶
ToInt16Checked attempts to cast the Int32 to a Int16. The second return value will be false if there was an overflow or any other loss of precision. For example, going from Float64 to Int64 will result in anything after the decimal being truncated.
func (Int32) ToInt32 ¶
ToInt32 attempts to cast the Int32 to a Int32. The result is not checked for an overflow. Use the ToInt32Checked version of this method if you need to check for an overflow.
func (Int32) ToInt32Checked ¶
ToInt32Checked attempts to cast the Int32 to a Int32. The second return value will be false if there was an overflow or any other loss of precision. For example, going from Float64 to Int64 will result in anything after the decimal being truncated.
func (Int32) ToInt64 ¶
ToInt64 attempts to cast the Int32 to a Int64. The result is not checked for an overflow. Use the ToInt64Checked version of this method if you need to check for an overflow.
func (Int32) ToInt64Checked ¶
ToInt64Checked attempts to cast the Int32 to a Int64. The second return value will be false if there was an overflow or any other loss of precision. For example, going from Float64 to Int64 will result in anything after the decimal being truncated.
func (Int32) ToInt8 ¶
ToInt8 attempts to cast the Int32 to a Int8. The result is not checked for an overflow. Use the ToInt8Checked version of this method if you need to check for an overflow.
func (Int32) ToInt8Checked ¶
ToInt8Checked attempts to cast the Int32 to a Int8. The second return value will be false if there was an overflow or any other loss of precision. For example, going from Float64 to Int64 will result in anything after the decimal being truncated.
func (Int32) ToMonthInterval ¶
func (t Int32) ToMonthInterval() MonthInterval
ToMonthInterval attempts to cast the Int32 to a MonthInterval. The result is not checked for an overflow. Use the ToMonthIntervalChecked version of this method if you need to check for an overflow.
func (Int32) ToMonthIntervalChecked ¶
func (t Int32) ToMonthIntervalChecked() (MonthInterval, Boolean)
ToMonthIntervalChecked attempts to cast the Int32 to a MonthInterval. The second return value will be false if there was an overflow or any other loss of precision. For example, going from Float64 to Int64 will result in anything after the decimal being truncated.
func (Int32) ToString ¶
ToString attempts to cast the Int32 to a String. The result is not checked for an overflow. Use the ToStringChecked version of this method if you need to check for an overflow.
func (Int32) ToStringChecked ¶
ToStringChecked attempts to cast the Int32 to a String. The second return value will be false if there was an overflow or any other loss of precision. For example, going from Float64 to Int64 will result in anything after the decimal being truncated.
func (Int32) ToTime32 ¶
ToTime32 attempts to cast the Int32 to a Time32. The result is not checked for an overflow. Use the ToTime32Checked version of this method if you need to check for an overflow.
func (Int32) ToTime32Checked ¶
ToTime32Checked attempts to cast the Int32 to a Time32. The second return value will be false if there was an overflow or any other loss of precision. For example, going from Float64 to Int64 will result in anything after the decimal being truncated.
func (Int32) ToTime64 ¶
ToTime64 attempts to cast the Int32 to a Time64. The result is not checked for an overflow. Use the ToTime64Checked version of this method if you need to check for an overflow.
func (Int32) ToTime64Checked ¶
ToTime64Checked attempts to cast the Int32 to a Time64. The second return value will be false if there was an overflow or any other loss of precision. For example, going from Float64 to Int64 will result in anything after the decimal being truncated.
func (Int32) ToTimestamp ¶
ToTimestamp attempts to cast the Int32 to a Timestamp. The result is not checked for an overflow. Use the ToTimestampChecked version of this method if you need to check for an overflow.
func (Int32) ToTimestampChecked ¶
ToTimestampChecked attempts to cast the Int32 to a Timestamp. The second return value will be false if there was an overflow or any other loss of precision. For example, going from Float64 to Int64 will result in anything after the decimal being truncated.
func (Int32) ToUint16 ¶
ToUint16 attempts to cast the Int32 to a Uint16. The result is not checked for an overflow. Use the ToUint16Checked version of this method if you need to check for an overflow.
func (Int32) ToUint16Checked ¶
ToUint16Checked attempts to cast the Int32 to a Uint16. The second return value will be false if there was an overflow or any other loss of precision. For example, going from Float64 to Int64 will result in anything after the decimal being truncated.
func (Int32) ToUint32 ¶
ToUint32 attempts to cast the Int32 to a Uint32. The result is not checked for an overflow. Use the ToUint32Checked version of this method if you need to check for an overflow.
func (Int32) ToUint32Checked ¶
ToUint32Checked attempts to cast the Int32 to a Uint32. The second return value will be false if there was an overflow or any other loss of precision. For example, going from Float64 to Int64 will result in anything after the decimal being truncated.
func (Int32) ToUint64 ¶
ToUint64 attempts to cast the Int32 to a Uint64. The result is not checked for an overflow. Use the ToUint64Checked version of this method if you need to check for an overflow.
func (Int32) ToUint64Checked ¶
ToUint64Checked attempts to cast the Int32 to a Uint64. The second return value will be false if there was an overflow or any other loss of precision. For example, going from Float64 to Int64 will result in anything after the decimal being truncated.
func (Int32) ToUint8 ¶
ToUint8 attempts to cast the Int32 to a Uint8. The result is not checked for an overflow. Use the ToUint8Checked version of this method if you need to check for an overflow.
func (Int32) ToUint8Checked ¶
ToUint8Checked attempts to cast the Int32 to a Uint8. The second return value will be false if there was an overflow or any other loss of precision. For example, going from Float64 to Int64 will result in anything after the decimal being truncated.
type Int64 ¶
type Int64 int64
Int64 has logic to apply to this type.
func CastToInt64 ¶
CastToInt64 takes an interface{} type or any Object type and attempts to convert it to the Int64 Object type.
func (Int64) GreaterEq ¶
GreaterEq returns true if the left Int64 is greter than or equal to the right Int64.
func (Int64) LessEq ¶
LessEq returns true if the left Int64 is less than or equal to the right Int64.
func (Int64) ToBoolean ¶
ToBoolean attempts to cast the Int64 to a Boolean. The result is not checked for an overflow. Use the ToBooleanChecked version of this method if you need to check for an overflow.
func (Int64) ToBooleanChecked ¶
ToBooleanChecked attempts to cast the Int64 to a Boolean. The second return value will be false if there was an overflow or any other loss of precision. For example, going from Float64 to Int64 will result in anything after the decimal being truncated.
func (Int64) ToDate32 ¶
ToDate32 attempts to cast the Int64 to a Date32. The result is not checked for an overflow. Use the ToDate32Checked version of this method if you need to check for an overflow.
func (Int64) ToDate32Checked ¶
ToDate32Checked attempts to cast the Int64 to a Date32. The second return value will be false if there was an overflow or any other loss of precision. For example, going from Float64 to Int64 will result in anything after the decimal being truncated.
func (Int64) ToDate64 ¶
ToDate64 attempts to cast the Int64 to a Date64. The result is not checked for an overflow. Use the ToDate64Checked version of this method if you need to check for an overflow.
func (Int64) ToDate64Checked ¶
ToDate64Checked attempts to cast the Int64 to a Date64. The second return value will be false if there was an overflow or any other loss of precision. For example, going from Float64 to Int64 will result in anything after the decimal being truncated.
func (Int64) ToDecimal128 ¶
func (t Int64) ToDecimal128() Decimal128
ToDecimal128 attempts to cast the Int64 to a Decimal128. The result is not checked for an overflow. Use the ToDecimal128Checked version of this method if you need to check for an overflow.
func (Int64) ToDecimal128Checked ¶
func (t Int64) ToDecimal128Checked() (Decimal128, Boolean)
ToDecimal128Checked attempts to cast the Int64 to a Decimal128. The second return value will be false if there was an overflow or any other loss of precision. For example, going from Float64 to Int64 will result in anything after the decimal being truncated.
func (Int64) ToDuration ¶
ToDuration attempts to cast the Int64 to a Duration. The result is not checked for an overflow. Use the ToDurationChecked version of this method if you need to check for an overflow.
func (Int64) ToDurationChecked ¶
ToDurationChecked attempts to cast the Int64 to a Duration. The second return value will be false if there was an overflow or any other loss of precision. For example, going from Float64 to Int64 will result in anything after the decimal being truncated.
func (Int64) ToFloat32 ¶
ToFloat32 attempts to cast the Int64 to a Float32. The result is not checked for an overflow. Use the ToFloat32Checked version of this method if you need to check for an overflow.
func (Int64) ToFloat32Checked ¶
ToFloat32Checked attempts to cast the Int64 to a Float32. The second return value will be false if there was an overflow or any other loss of precision. For example, going from Float64 to Int64 will result in anything after the decimal being truncated.
func (Int64) ToFloat64 ¶
ToFloat64 attempts to cast the Int64 to a Float64. The result is not checked for an overflow. Use the ToFloat64Checked version of this method if you need to check for an overflow.
func (Int64) ToFloat64Checked ¶
ToFloat64Checked attempts to cast the Int64 to a Float64. The second return value will be false if there was an overflow or any other loss of precision. For example, going from Float64 to Int64 will result in anything after the decimal being truncated.
func (Int64) ToInt16 ¶
ToInt16 attempts to cast the Int64 to a Int16. The result is not checked for an overflow. Use the ToInt16Checked version of this method if you need to check for an overflow.
func (Int64) ToInt16Checked ¶
ToInt16Checked attempts to cast the Int64 to a Int16. The second return value will be false if there was an overflow or any other loss of precision. For example, going from Float64 to Int64 will result in anything after the decimal being truncated.
func (Int64) ToInt32 ¶
ToInt32 attempts to cast the Int64 to a Int32. The result is not checked for an overflow. Use the ToInt32Checked version of this method if you need to check for an overflow.
func (Int64) ToInt32Checked ¶
ToInt32Checked attempts to cast the Int64 to a Int32. The second return value will be false if there was an overflow or any other loss of precision. For example, going from Float64 to Int64 will result in anything after the decimal being truncated.
func (Int64) ToInt64 ¶
ToInt64 attempts to cast the Int64 to a Int64. The result is not checked for an overflow. Use the ToInt64Checked version of this method if you need to check for an overflow.
func (Int64) ToInt64Checked ¶
ToInt64Checked attempts to cast the Int64 to a Int64. The second return value will be false if there was an overflow or any other loss of precision. For example, going from Float64 to Int64 will result in anything after the decimal being truncated.
func (Int64) ToInt8 ¶
ToInt8 attempts to cast the Int64 to a Int8. The result is not checked for an overflow. Use the ToInt8Checked version of this method if you need to check for an overflow.
func (Int64) ToInt8Checked ¶
ToInt8Checked attempts to cast the Int64 to a Int8. The second return value will be false if there was an overflow or any other loss of precision. For example, going from Float64 to Int64 will result in anything after the decimal being truncated.
func (Int64) ToString ¶
ToString attempts to cast the Int64 to a String. The result is not checked for an overflow. Use the ToStringChecked version of this method if you need to check for an overflow.
func (Int64) ToStringChecked ¶
ToStringChecked attempts to cast the Int64 to a String. The second return value will be false if there was an overflow or any other loss of precision. For example, going from Float64 to Int64 will result in anything after the decimal being truncated.
func (Int64) ToTime32 ¶
ToTime32 attempts to cast the Int64 to a Time32. The result is not checked for an overflow. Use the ToTime32Checked version of this method if you need to check for an overflow.
func (Int64) ToTime32Checked ¶
ToTime32Checked attempts to cast the Int64 to a Time32. The second return value will be false if there was an overflow or any other loss of precision. For example, going from Float64 to Int64 will result in anything after the decimal being truncated.
func (Int64) ToTime64 ¶
ToTime64 attempts to cast the Int64 to a Time64. The result is not checked for an overflow. Use the ToTime64Checked version of this method if you need to check for an overflow.
func (Int64) ToTime64Checked ¶
ToTime64Checked attempts to cast the Int64 to a Time64. The second return value will be false if there was an overflow or any other loss of precision. For example, going from Float64 to Int64 will result in anything after the decimal being truncated.
func (Int64) ToTimestamp ¶
ToTimestamp attempts to cast the Int64 to a Timestamp. The result is not checked for an overflow. Use the ToTimestampChecked version of this method if you need to check for an overflow.
func (Int64) ToTimestampChecked ¶
ToTimestampChecked attempts to cast the Int64 to a Timestamp. The second return value will be false if there was an overflow or any other loss of precision. For example, going from Float64 to Int64 will result in anything after the decimal being truncated.
func (Int64) ToUint16 ¶
ToUint16 attempts to cast the Int64 to a Uint16. The result is not checked for an overflow. Use the ToUint16Checked version of this method if you need to check for an overflow.
func (Int64) ToUint16Checked ¶
ToUint16Checked attempts to cast the Int64 to a Uint16. The second return value will be false if there was an overflow or any other loss of precision. For example, going from Float64 to Int64 will result in anything after the decimal being truncated.
func (Int64) ToUint32 ¶
ToUint32 attempts to cast the Int64 to a Uint32. The result is not checked for an overflow. Use the ToUint32Checked version of this method if you need to check for an overflow.
func (Int64) ToUint32Checked ¶
ToUint32Checked attempts to cast the Int64 to a Uint32. The second return value will be false if there was an overflow or any other loss of precision. For example, going from Float64 to Int64 will result in anything after the decimal being truncated.
func (Int64) ToUint64 ¶
ToUint64 attempts to cast the Int64 to a Uint64. The result is not checked for an overflow. Use the ToUint64Checked version of this method if you need to check for an overflow.
func (Int64) ToUint64Checked ¶
ToUint64Checked attempts to cast the Int64 to a Uint64. The second return value will be false if there was an overflow or any other loss of precision. For example, going from Float64 to Int64 will result in anything after the decimal being truncated.
func (Int64) ToUint8 ¶
ToUint8 attempts to cast the Int64 to a Uint8. The result is not checked for an overflow. Use the ToUint8Checked version of this method if you need to check for an overflow.
func (Int64) ToUint8Checked ¶
ToUint8Checked attempts to cast the Int64 to a Uint8. The second return value will be false if there was an overflow or any other loss of precision. For example, going from Float64 to Int64 will result in anything after the decimal being truncated.
type Int8 ¶
type Int8 int8
Int8 has logic to apply to this type.
func CastToInt8 ¶
CastToInt8 takes an interface{} type or any Object type and attempts to convert it to the Int8 Object type.
func (Int8) GreaterEq ¶
GreaterEq returns true if the left Int8 is greter than or equal to the right Int8.
func (Int8) ToBoolean ¶
ToBoolean attempts to cast the Int8 to a Boolean. The result is not checked for an overflow. Use the ToBooleanChecked version of this method if you need to check for an overflow.
func (Int8) ToBooleanChecked ¶
ToBooleanChecked attempts to cast the Int8 to a Boolean. The second return value will be false if there was an overflow or any other loss of precision. For example, going from Float64 to Int64 will result in anything after the decimal being truncated.
func (Int8) ToDate32 ¶
ToDate32 attempts to cast the Int8 to a Date32. The result is not checked for an overflow. Use the ToDate32Checked version of this method if you need to check for an overflow.
func (Int8) ToDate32Checked ¶
ToDate32Checked attempts to cast the Int8 to a Date32. The second return value will be false if there was an overflow or any other loss of precision. For example, going from Float64 to Int64 will result in anything after the decimal being truncated.
func (Int8) ToDate64 ¶
ToDate64 attempts to cast the Int8 to a Date64. The result is not checked for an overflow. Use the ToDate64Checked version of this method if you need to check for an overflow.
func (Int8) ToDate64Checked ¶
ToDate64Checked attempts to cast the Int8 to a Date64. The second return value will be false if there was an overflow or any other loss of precision. For example, going from Float64 to Int64 will result in anything after the decimal being truncated.
func (Int8) ToFloat32 ¶
ToFloat32 attempts to cast the Int8 to a Float32. The result is not checked for an overflow. Use the ToFloat32Checked version of this method if you need to check for an overflow.
func (Int8) ToFloat32Checked ¶
ToFloat32Checked attempts to cast the Int8 to a Float32. The second return value will be false if there was an overflow or any other loss of precision. For example, going from Float64 to Int64 will result in anything after the decimal being truncated.
func (Int8) ToFloat64 ¶
ToFloat64 attempts to cast the Int8 to a Float64. The result is not checked for an overflow. Use the ToFloat64Checked version of this method if you need to check for an overflow.
func (Int8) ToFloat64Checked ¶
ToFloat64Checked attempts to cast the Int8 to a Float64. The second return value will be false if there was an overflow or any other loss of precision. For example, going from Float64 to Int64 will result in anything after the decimal being truncated.
func (Int8) ToInt16 ¶
ToInt16 attempts to cast the Int8 to a Int16. The result is not checked for an overflow. Use the ToInt16Checked version of this method if you need to check for an overflow.
func (Int8) ToInt16Checked ¶
ToInt16Checked attempts to cast the Int8 to a Int16. The second return value will be false if there was an overflow or any other loss of precision. For example, going from Float64 to Int64 will result in anything after the decimal being truncated.
func (Int8) ToInt32 ¶
ToInt32 attempts to cast the Int8 to a Int32. The result is not checked for an overflow. Use the ToInt32Checked version of this method if you need to check for an overflow.
func (Int8) ToInt32Checked ¶
ToInt32Checked attempts to cast the Int8 to a Int32. The second return value will be false if there was an overflow or any other loss of precision. For example, going from Float64 to Int64 will result in anything after the decimal being truncated.
func (Int8) ToInt64 ¶
ToInt64 attempts to cast the Int8 to a Int64. The result is not checked for an overflow. Use the ToInt64Checked version of this method if you need to check for an overflow.
func (Int8) ToInt64Checked ¶
ToInt64Checked attempts to cast the Int8 to a Int64. The second return value will be false if there was an overflow or any other loss of precision. For example, going from Float64 to Int64 will result in anything after the decimal being truncated.
func (Int8) ToInt8 ¶
ToInt8 attempts to cast the Int8 to a Int8. The result is not checked for an overflow. Use the ToInt8Checked version of this method if you need to check for an overflow.
func (Int8) ToInt8Checked ¶
ToInt8Checked attempts to cast the Int8 to a Int8. The second return value will be false if there was an overflow or any other loss of precision. For example, going from Float64 to Int64 will result in anything after the decimal being truncated.
func (Int8) ToString ¶
ToString attempts to cast the Int8 to a String. The result is not checked for an overflow. Use the ToStringChecked version of this method if you need to check for an overflow.
func (Int8) ToStringChecked ¶
ToStringChecked attempts to cast the Int8 to a String. The second return value will be false if there was an overflow or any other loss of precision. For example, going from Float64 to Int64 will result in anything after the decimal being truncated.
func (Int8) ToTime32 ¶
ToTime32 attempts to cast the Int8 to a Time32. The result is not checked for an overflow. Use the ToTime32Checked version of this method if you need to check for an overflow.
func (Int8) ToTime32Checked ¶
ToTime32Checked attempts to cast the Int8 to a Time32. The second return value will be false if there was an overflow or any other loss of precision. For example, going from Float64 to Int64 will result in anything after the decimal being truncated.
func (Int8) ToTime64 ¶
ToTime64 attempts to cast the Int8 to a Time64. The result is not checked for an overflow. Use the ToTime64Checked version of this method if you need to check for an overflow.
func (Int8) ToTime64Checked ¶
ToTime64Checked attempts to cast the Int8 to a Time64. The second return value will be false if there was an overflow or any other loss of precision. For example, going from Float64 to Int64 will result in anything after the decimal being truncated.
func (Int8) ToTimestamp ¶
ToTimestamp attempts to cast the Int8 to a Timestamp. The result is not checked for an overflow. Use the ToTimestampChecked version of this method if you need to check for an overflow.
func (Int8) ToTimestampChecked ¶
ToTimestampChecked attempts to cast the Int8 to a Timestamp. The second return value will be false if there was an overflow or any other loss of precision. For example, going from Float64 to Int64 will result in anything after the decimal being truncated.
func (Int8) ToUint16 ¶
ToUint16 attempts to cast the Int8 to a Uint16. The result is not checked for an overflow. Use the ToUint16Checked version of this method if you need to check for an overflow.
func (Int8) ToUint16Checked ¶
ToUint16Checked attempts to cast the Int8 to a Uint16. The second return value will be false if there was an overflow or any other loss of precision. For example, going from Float64 to Int64 will result in anything after the decimal being truncated.
func (Int8) ToUint32 ¶
ToUint32 attempts to cast the Int8 to a Uint32. The result is not checked for an overflow. Use the ToUint32Checked version of this method if you need to check for an overflow.
func (Int8) ToUint32Checked ¶
ToUint32Checked attempts to cast the Int8 to a Uint32. The second return value will be false if there was an overflow or any other loss of precision. For example, going from Float64 to Int64 will result in anything after the decimal being truncated.
func (Int8) ToUint64 ¶
ToUint64 attempts to cast the Int8 to a Uint64. The result is not checked for an overflow. Use the ToUint64Checked version of this method if you need to check for an overflow.
func (Int8) ToUint64Checked ¶
ToUint64Checked attempts to cast the Int8 to a Uint64. The second return value will be false if there was an overflow or any other loss of precision. For example, going from Float64 to Int64 will result in anything after the decimal being truncated.
func (Int8) ToUint8 ¶
ToUint8 attempts to cast the Int8 to a Uint8. The result is not checked for an overflow. Use the ToUint8Checked version of this method if you need to check for an overflow.
func (Int8) ToUint8Checked ¶
ToUint8Checked attempts to cast the Int8 to a Uint8. The second return value will be false if there was an overflow or any other loss of precision. For example, going from Float64 to Int64 will result in anything after the decimal being truncated.
type MonthInterval ¶
type MonthInterval arrow.MonthInterval
MonthInterval has logic to apply to this type.
func CastToMonthInterval ¶
func CastToMonthInterval(v interface{}) (MonthInterval, bool)
CastToMonthInterval takes an interface{} type or any Object type and attempts to convert it to the MonthInterval Object type.
func NewMonthInterval ¶
func NewMonthInterval(v arrow.MonthInterval) MonthInterval
NewMonthInterval creates a new MonthInterval object from the given value provided as v.
func (MonthInterval) Eq ¶
func (e MonthInterval) Eq(r Object) (Boolean, error)
Eq returns true if the left MonthInterval is equal to the right MonthInterval.
func (MonthInterval) Greater ¶
func (e MonthInterval) Greater(r Object) (Boolean, error)
Greater returns true if the left MonthInterval is greter than the right MonthInterval.
func (MonthInterval) GreaterEq ¶
func (e MonthInterval) GreaterEq(r Object) (Boolean, error)
GreaterEq returns true if the left MonthInterval is greter than or equal to the right MonthInterval.
func (MonthInterval) Less ¶
func (e MonthInterval) Less(r Object) (Boolean, error)
Less returns true if the left MonthInterval is less than the right MonthInterval.
func (MonthInterval) LessEq ¶
func (e MonthInterval) LessEq(r Object) (Boolean, error)
LessEq returns true if the left MonthInterval is less than or equal to the right MonthInterval.
func (MonthInterval) Neq ¶
func (e MonthInterval) Neq(r Object) (Boolean, error)
Neq returns true if the left MonthInterval is not equal to the right MonthInterval.
func (MonthInterval) ToBoolean ¶
func (t MonthInterval) ToBoolean() Boolean
ToBoolean attempts to cast the MonthInterval to a Boolean. The result is not checked for an overflow. Use the ToBooleanChecked version of this method if you need to check for an overflow.
func (MonthInterval) ToBooleanChecked ¶
func (t MonthInterval) ToBooleanChecked() (Boolean, Boolean)
ToBooleanChecked attempts to cast the MonthInterval to a Boolean. The second return value will be false if there was an overflow or any other loss of precision. For example, going from Float64 to Int64 will result in anything after the decimal being truncated.
func (MonthInterval) ToInt32 ¶
func (t MonthInterval) ToInt32() Int32
ToInt32 attempts to cast the MonthInterval to a Int32. The result is not checked for an overflow. Use the ToInt32Checked version of this method if you need to check for an overflow.
func (MonthInterval) ToInt32Checked ¶
func (t MonthInterval) ToInt32Checked() (Int32, Boolean)
ToInt32Checked attempts to cast the MonthInterval to a Int32. The second return value will be false if there was an overflow or any other loss of precision. For example, going from Float64 to Int64 will result in anything after the decimal being truncated.
func (MonthInterval) ToMonthInterval ¶
func (t MonthInterval) ToMonthInterval() MonthInterval
ToMonthInterval attempts to cast the MonthInterval to a MonthInterval. The result is not checked for an overflow. Use the ToMonthIntervalChecked version of this method if you need to check for an overflow.
func (MonthInterval) ToMonthIntervalChecked ¶
func (t MonthInterval) ToMonthIntervalChecked() (MonthInterval, Boolean)
ToMonthIntervalChecked attempts to cast the MonthInterval to a MonthInterval. The second return value will be false if there was an overflow or any other loss of precision. For example, going from Float64 to Int64 will result in anything after the decimal being truncated.
func (MonthInterval) ToString ¶
func (t MonthInterval) ToString() String
ToString attempts to cast the MonthInterval to a String. The result is not checked for an overflow. Use the ToStringChecked version of this method if you need to check for an overflow.
func (MonthInterval) ToStringChecked ¶
func (t MonthInterval) ToStringChecked() (String, Boolean)
ToStringChecked attempts to cast the MonthInterval to a String. The second return value will be false if there was an overflow or any other loss of precision. For example, going from Float64 to Int64 will result in anything after the decimal being truncated.
func (MonthInterval) Value ¶
func (e MonthInterval) Value() arrow.MonthInterval
Value returns the underlying value in it's native type.
type Null ¶
type Null struct{}
Null has logic to apply to this type.
func CastToNull ¶
CastToNull takes any Object type and converts it to Null
func NewNull ¶
func NewNull() Null
NewNull creates a new Null object from the given value provided as v.
func (Null) Eq ¶
Eq returns true if the left Null is equal to the right Null. Since they are both Null types holding no values they must be equal if r Object is in fact a Null Object type.
func (Null) GreaterEq ¶
GreaterEq returns true if the left Null is greter than or equal to the right Null.
type Object ¶
type Object interface { Comparable }
type String ¶
type String string
String has logic to apply to this type.
func CastToString ¶
CastToString takes an interface{} type or any Object type and attempts to convert it to the String Object type.
func (String) GreaterEq ¶
GreaterEq returns true if the left String is greter than or equal to the right String.
func (String) LessEq ¶
LessEq returns true if the left String is less than or equal to the right String.
func (String) ToBoolean ¶
ToBoolean attempts to cast the String to a Boolean. The result is not checked for an overflow. Use the ToBooleanChecked version of this method if you need to check for an overflow.
func (String) ToBooleanChecked ¶
ToBooleanChecked attempts to cast the String to a Boolean. The second return value will be false if there was an overflow or any other loss of precision. For example, going from Float64 to Int64 will result in anything after the decimal being truncated.
func (String) ToString ¶
ToString attempts to cast the String to a String. The result is not checked for an overflow. Use the ToStringChecked version of this method if you need to check for an overflow.
func (String) ToStringChecked ¶
ToStringChecked attempts to cast the String to a String. The second return value will be false if there was an overflow or any other loss of precision. For example, going from Float64 to Int64 will result in anything after the decimal being truncated.
type Time32 ¶
Time32 has logic to apply to this type.
func CastToTime32 ¶
CastToTime32 takes an interface{} type or any Object type and attempts to convert it to the Time32 Object type.
func (Time32) GreaterEq ¶
GreaterEq returns true if the left Time32 is greter than or equal to the right Time32.
func (Time32) LessEq ¶
LessEq returns true if the left Time32 is less than or equal to the right Time32.
func (Time32) ToBoolean ¶
ToBoolean attempts to cast the Time32 to a Boolean. The result is not checked for an overflow. Use the ToBooleanChecked version of this method if you need to check for an overflow.
func (Time32) ToBooleanChecked ¶
ToBooleanChecked attempts to cast the Time32 to a Boolean. The second return value will be false if there was an overflow or any other loss of precision. For example, going from Float64 to Int64 will result in anything after the decimal being truncated.
func (Time32) ToDate32 ¶
ToDate32 attempts to cast the Time32 to a Date32. The result is not checked for an overflow. Use the ToDate32Checked version of this method if you need to check for an overflow.
func (Time32) ToDate32Checked ¶
ToDate32Checked attempts to cast the Time32 to a Date32. The second return value will be false if there was an overflow or any other loss of precision. For example, going from Float64 to Int64 will result in anything after the decimal being truncated.
func (Time32) ToDate64 ¶
ToDate64 attempts to cast the Time32 to a Date64. The result is not checked for an overflow. Use the ToDate64Checked version of this method if you need to check for an overflow.
func (Time32) ToDate64Checked ¶
ToDate64Checked attempts to cast the Time32 to a Date64. The second return value will be false if there was an overflow or any other loss of precision. For example, going from Float64 to Int64 will result in anything after the decimal being truncated.
func (Time32) ToFloat32 ¶
ToFloat32 attempts to cast the Time32 to a Float32. The result is not checked for an overflow. Use the ToFloat32Checked version of this method if you need to check for an overflow.
func (Time32) ToFloat32Checked ¶
ToFloat32Checked attempts to cast the Time32 to a Float32. The second return value will be false if there was an overflow or any other loss of precision. For example, going from Float64 to Int64 will result in anything after the decimal being truncated.
func (Time32) ToFloat64 ¶
ToFloat64 attempts to cast the Time32 to a Float64. The result is not checked for an overflow. Use the ToFloat64Checked version of this method if you need to check for an overflow.
func (Time32) ToFloat64Checked ¶
ToFloat64Checked attempts to cast the Time32 to a Float64. The second return value will be false if there was an overflow or any other loss of precision. For example, going from Float64 to Int64 will result in anything after the decimal being truncated.
func (Time32) ToInt16 ¶
ToInt16 attempts to cast the Time32 to a Int16. The result is not checked for an overflow. Use the ToInt16Checked version of this method if you need to check for an overflow.
func (Time32) ToInt16Checked ¶
ToInt16Checked attempts to cast the Time32 to a Int16. The second return value will be false if there was an overflow or any other loss of precision. For example, going from Float64 to Int64 will result in anything after the decimal being truncated.
func (Time32) ToInt32 ¶
ToInt32 attempts to cast the Time32 to a Int32. The result is not checked for an overflow. Use the ToInt32Checked version of this method if you need to check for an overflow.
func (Time32) ToInt32Checked ¶
ToInt32Checked attempts to cast the Time32 to a Int32. The second return value will be false if there was an overflow or any other loss of precision. For example, going from Float64 to Int64 will result in anything after the decimal being truncated.
func (Time32) ToInt64 ¶
ToInt64 attempts to cast the Time32 to a Int64. The result is not checked for an overflow. Use the ToInt64Checked version of this method if you need to check for an overflow.
func (Time32) ToInt64Checked ¶
ToInt64Checked attempts to cast the Time32 to a Int64. The second return value will be false if there was an overflow or any other loss of precision. For example, going from Float64 to Int64 will result in anything after the decimal being truncated.
func (Time32) ToInt8 ¶
ToInt8 attempts to cast the Time32 to a Int8. The result is not checked for an overflow. Use the ToInt8Checked version of this method if you need to check for an overflow.
func (Time32) ToInt8Checked ¶
ToInt8Checked attempts to cast the Time32 to a Int8. The second return value will be false if there was an overflow or any other loss of precision. For example, going from Float64 to Int64 will result in anything after the decimal being truncated.
func (Time32) ToString ¶
ToString attempts to cast the Time32 to a String. The result is not checked for an overflow. Use the ToStringChecked version of this method if you need to check for an overflow.
func (Time32) ToStringChecked ¶
ToStringChecked attempts to cast the Time32 to a String. The second return value will be false if there was an overflow or any other loss of precision. For example, going from Float64 to Int64 will result in anything after the decimal being truncated.
func (Time32) ToTime32 ¶
ToTime32 attempts to cast the Time32 to a Time32. The result is not checked for an overflow. Use the ToTime32Checked version of this method if you need to check for an overflow.
func (Time32) ToTime32Checked ¶
ToTime32Checked attempts to cast the Time32 to a Time32. The second return value will be false if there was an overflow or any other loss of precision. For example, going from Float64 to Int64 will result in anything after the decimal being truncated.
func (Time32) ToTime64 ¶
ToTime64 attempts to cast the Time32 to a Time64. The result is not checked for an overflow. Use the ToTime64Checked version of this method if you need to check for an overflow.
func (Time32) ToTime64Checked ¶
ToTime64Checked attempts to cast the Time32 to a Time64. The second return value will be false if there was an overflow or any other loss of precision. For example, going from Float64 to Int64 will result in anything after the decimal being truncated.
func (Time32) ToTimestamp ¶
ToTimestamp attempts to cast the Time32 to a Timestamp. The result is not checked for an overflow. Use the ToTimestampChecked version of this method if you need to check for an overflow.
func (Time32) ToTimestampChecked ¶
ToTimestampChecked attempts to cast the Time32 to a Timestamp. The second return value will be false if there was an overflow or any other loss of precision. For example, going from Float64 to Int64 will result in anything after the decimal being truncated.
func (Time32) ToUint16 ¶
ToUint16 attempts to cast the Time32 to a Uint16. The result is not checked for an overflow. Use the ToUint16Checked version of this method if you need to check for an overflow.
func (Time32) ToUint16Checked ¶
ToUint16Checked attempts to cast the Time32 to a Uint16. The second return value will be false if there was an overflow or any other loss of precision. For example, going from Float64 to Int64 will result in anything after the decimal being truncated.
func (Time32) ToUint32 ¶
ToUint32 attempts to cast the Time32 to a Uint32. The result is not checked for an overflow. Use the ToUint32Checked version of this method if you need to check for an overflow.
func (Time32) ToUint32Checked ¶
ToUint32Checked attempts to cast the Time32 to a Uint32. The second return value will be false if there was an overflow or any other loss of precision. For example, going from Float64 to Int64 will result in anything after the decimal being truncated.
func (Time32) ToUint64 ¶
ToUint64 attempts to cast the Time32 to a Uint64. The result is not checked for an overflow. Use the ToUint64Checked version of this method if you need to check for an overflow.
func (Time32) ToUint64Checked ¶
ToUint64Checked attempts to cast the Time32 to a Uint64. The second return value will be false if there was an overflow or any other loss of precision. For example, going from Float64 to Int64 will result in anything after the decimal being truncated.
func (Time32) ToUint8 ¶
ToUint8 attempts to cast the Time32 to a Uint8. The result is not checked for an overflow. Use the ToUint8Checked version of this method if you need to check for an overflow.
func (Time32) ToUint8Checked ¶
ToUint8Checked attempts to cast the Time32 to a Uint8. The second return value will be false if there was an overflow or any other loss of precision. For example, going from Float64 to Int64 will result in anything after the decimal being truncated.
type Time64 ¶
Time64 has logic to apply to this type.
func CastToTime64 ¶
CastToTime64 takes an interface{} type or any Object type and attempts to convert it to the Time64 Object type.
func (Time64) GreaterEq ¶
GreaterEq returns true if the left Time64 is greter than or equal to the right Time64.
func (Time64) LessEq ¶
LessEq returns true if the left Time64 is less than or equal to the right Time64.
func (Time64) ToBoolean ¶
ToBoolean attempts to cast the Time64 to a Boolean. The result is not checked for an overflow. Use the ToBooleanChecked version of this method if you need to check for an overflow.
func (Time64) ToBooleanChecked ¶
ToBooleanChecked attempts to cast the Time64 to a Boolean. The second return value will be false if there was an overflow or any other loss of precision. For example, going from Float64 to Int64 will result in anything after the decimal being truncated.
func (Time64) ToDate32 ¶
ToDate32 attempts to cast the Time64 to a Date32. The result is not checked for an overflow. Use the ToDate32Checked version of this method if you need to check for an overflow.
func (Time64) ToDate32Checked ¶
ToDate32Checked attempts to cast the Time64 to a Date32. The second return value will be false if there was an overflow or any other loss of precision. For example, going from Float64 to Int64 will result in anything after the decimal being truncated.
func (Time64) ToDate64 ¶
ToDate64 attempts to cast the Time64 to a Date64. The result is not checked for an overflow. Use the ToDate64Checked version of this method if you need to check for an overflow.
func (Time64) ToDate64Checked ¶
ToDate64Checked attempts to cast the Time64 to a Date64. The second return value will be false if there was an overflow or any other loss of precision. For example, going from Float64 to Int64 will result in anything after the decimal being truncated.
func (Time64) ToFloat32 ¶
ToFloat32 attempts to cast the Time64 to a Float32. The result is not checked for an overflow. Use the ToFloat32Checked version of this method if you need to check for an overflow.
func (Time64) ToFloat32Checked ¶
ToFloat32Checked attempts to cast the Time64 to a Float32. The second return value will be false if there was an overflow or any other loss of precision. For example, going from Float64 to Int64 will result in anything after the decimal being truncated.
func (Time64) ToFloat64 ¶
ToFloat64 attempts to cast the Time64 to a Float64. The result is not checked for an overflow. Use the ToFloat64Checked version of this method if you need to check for an overflow.
func (Time64) ToFloat64Checked ¶
ToFloat64Checked attempts to cast the Time64 to a Float64. The second return value will be false if there was an overflow or any other loss of precision. For example, going from Float64 to Int64 will result in anything after the decimal being truncated.
func (Time64) ToInt16 ¶
ToInt16 attempts to cast the Time64 to a Int16. The result is not checked for an overflow. Use the ToInt16Checked version of this method if you need to check for an overflow.
func (Time64) ToInt16Checked ¶
ToInt16Checked attempts to cast the Time64 to a Int16. The second return value will be false if there was an overflow or any other loss of precision. For example, going from Float64 to Int64 will result in anything after the decimal being truncated.
func (Time64) ToInt32 ¶
ToInt32 attempts to cast the Time64 to a Int32. The result is not checked for an overflow. Use the ToInt32Checked version of this method if you need to check for an overflow.
func (Time64) ToInt32Checked ¶
ToInt32Checked attempts to cast the Time64 to a Int32. The second return value will be false if there was an overflow or any other loss of precision. For example, going from Float64 to Int64 will result in anything after the decimal being truncated.
func (Time64) ToInt64 ¶
ToInt64 attempts to cast the Time64 to a Int64. The result is not checked for an overflow. Use the ToInt64Checked version of this method if you need to check for an overflow.
func (Time64) ToInt64Checked ¶
ToInt64Checked attempts to cast the Time64 to a Int64. The second return value will be false if there was an overflow or any other loss of precision. For example, going from Float64 to Int64 will result in anything after the decimal being truncated.
func (Time64) ToInt8 ¶
ToInt8 attempts to cast the Time64 to a Int8. The result is not checked for an overflow. Use the ToInt8Checked version of this method if you need to check for an overflow.
func (Time64) ToInt8Checked ¶
ToInt8Checked attempts to cast the Time64 to a Int8. The second return value will be false if there was an overflow or any other loss of precision. For example, going from Float64 to Int64 will result in anything after the decimal being truncated.
func (Time64) ToString ¶
ToString attempts to cast the Time64 to a String. The result is not checked for an overflow. Use the ToStringChecked version of this method if you need to check for an overflow.
func (Time64) ToStringChecked ¶
ToStringChecked attempts to cast the Time64 to a String. The second return value will be false if there was an overflow or any other loss of precision. For example, going from Float64 to Int64 will result in anything after the decimal being truncated.
func (Time64) ToTime32 ¶
ToTime32 attempts to cast the Time64 to a Time32. The result is not checked for an overflow. Use the ToTime32Checked version of this method if you need to check for an overflow.
func (Time64) ToTime32Checked ¶
ToTime32Checked attempts to cast the Time64 to a Time32. The second return value will be false if there was an overflow or any other loss of precision. For example, going from Float64 to Int64 will result in anything after the decimal being truncated.
func (Time64) ToTime64 ¶
ToTime64 attempts to cast the Time64 to a Time64. The result is not checked for an overflow. Use the ToTime64Checked version of this method if you need to check for an overflow.
func (Time64) ToTime64Checked ¶
ToTime64Checked attempts to cast the Time64 to a Time64. The second return value will be false if there was an overflow or any other loss of precision. For example, going from Float64 to Int64 will result in anything after the decimal being truncated.
func (Time64) ToTimestamp ¶
ToTimestamp attempts to cast the Time64 to a Timestamp. The result is not checked for an overflow. Use the ToTimestampChecked version of this method if you need to check for an overflow.
func (Time64) ToTimestampChecked ¶
ToTimestampChecked attempts to cast the Time64 to a Timestamp. The second return value will be false if there was an overflow or any other loss of precision. For example, going from Float64 to Int64 will result in anything after the decimal being truncated.
func (Time64) ToUint16 ¶
ToUint16 attempts to cast the Time64 to a Uint16. The result is not checked for an overflow. Use the ToUint16Checked version of this method if you need to check for an overflow.
func (Time64) ToUint16Checked ¶
ToUint16Checked attempts to cast the Time64 to a Uint16. The second return value will be false if there was an overflow or any other loss of precision. For example, going from Float64 to Int64 will result in anything after the decimal being truncated.
func (Time64) ToUint32 ¶
ToUint32 attempts to cast the Time64 to a Uint32. The result is not checked for an overflow. Use the ToUint32Checked version of this method if you need to check for an overflow.
func (Time64) ToUint32Checked ¶
ToUint32Checked attempts to cast the Time64 to a Uint32. The second return value will be false if there was an overflow or any other loss of precision. For example, going from Float64 to Int64 will result in anything after the decimal being truncated.
func (Time64) ToUint64 ¶
ToUint64 attempts to cast the Time64 to a Uint64. The result is not checked for an overflow. Use the ToUint64Checked version of this method if you need to check for an overflow.
func (Time64) ToUint64Checked ¶
ToUint64Checked attempts to cast the Time64 to a Uint64. The second return value will be false if there was an overflow or any other loss of precision. For example, going from Float64 to Int64 will result in anything after the decimal being truncated.
func (Time64) ToUint8 ¶
ToUint8 attempts to cast the Time64 to a Uint8. The result is not checked for an overflow. Use the ToUint8Checked version of this method if you need to check for an overflow.
func (Time64) ToUint8Checked ¶
ToUint8Checked attempts to cast the Time64 to a Uint8. The second return value will be false if there was an overflow or any other loss of precision. For example, going from Float64 to Int64 will result in anything after the decimal being truncated.
type Timestamp ¶
Timestamp has logic to apply to this type.
func CastToTimestamp ¶
CastToTimestamp takes an interface{} type or any Object type and attempts to convert it to the Timestamp Object type.
func NewTimestamp ¶
NewTimestamp creates a new Timestamp object from the given value provided as v.
func (Timestamp) Greater ¶
Greater returns true if the left Timestamp is greter than the right Timestamp.
func (Timestamp) GreaterEq ¶
GreaterEq returns true if the left Timestamp is greter than or equal to the right Timestamp.
func (Timestamp) LessEq ¶
LessEq returns true if the left Timestamp is less than or equal to the right Timestamp.
func (Timestamp) ToBoolean ¶
ToBoolean attempts to cast the Timestamp to a Boolean. The result is not checked for an overflow. Use the ToBooleanChecked version of this method if you need to check for an overflow.
func (Timestamp) ToBooleanChecked ¶
ToBooleanChecked attempts to cast the Timestamp to a Boolean. The second return value will be false if there was an overflow or any other loss of precision. For example, going from Float64 to Int64 will result in anything after the decimal being truncated.
func (Timestamp) ToDate32 ¶
ToDate32 attempts to cast the Timestamp to a Date32. The result is not checked for an overflow. Use the ToDate32Checked version of this method if you need to check for an overflow.
func (Timestamp) ToDate32Checked ¶
ToDate32Checked attempts to cast the Timestamp to a Date32. The second return value will be false if there was an overflow or any other loss of precision. For example, going from Float64 to Int64 will result in anything after the decimal being truncated.
func (Timestamp) ToDate64 ¶
ToDate64 attempts to cast the Timestamp to a Date64. The result is not checked for an overflow. Use the ToDate64Checked version of this method if you need to check for an overflow.
func (Timestamp) ToDate64Checked ¶
ToDate64Checked attempts to cast the Timestamp to a Date64. The second return value will be false if there was an overflow or any other loss of precision. For example, going from Float64 to Int64 will result in anything after the decimal being truncated.
func (Timestamp) ToFloat32 ¶
ToFloat32 attempts to cast the Timestamp to a Float32. The result is not checked for an overflow. Use the ToFloat32Checked version of this method if you need to check for an overflow.
func (Timestamp) ToFloat32Checked ¶
ToFloat32Checked attempts to cast the Timestamp to a Float32. The second return value will be false if there was an overflow or any other loss of precision. For example, going from Float64 to Int64 will result in anything after the decimal being truncated.
func (Timestamp) ToFloat64 ¶
ToFloat64 attempts to cast the Timestamp to a Float64. The result is not checked for an overflow. Use the ToFloat64Checked version of this method if you need to check for an overflow.
func (Timestamp) ToFloat64Checked ¶
ToFloat64Checked attempts to cast the Timestamp to a Float64. The second return value will be false if there was an overflow or any other loss of precision. For example, going from Float64 to Int64 will result in anything after the decimal being truncated.
func (Timestamp) ToInt16 ¶
ToInt16 attempts to cast the Timestamp to a Int16. The result is not checked for an overflow. Use the ToInt16Checked version of this method if you need to check for an overflow.
func (Timestamp) ToInt16Checked ¶
ToInt16Checked attempts to cast the Timestamp to a Int16. The second return value will be false if there was an overflow or any other loss of precision. For example, going from Float64 to Int64 will result in anything after the decimal being truncated.
func (Timestamp) ToInt32 ¶
ToInt32 attempts to cast the Timestamp to a Int32. The result is not checked for an overflow. Use the ToInt32Checked version of this method if you need to check for an overflow.
func (Timestamp) ToInt32Checked ¶
ToInt32Checked attempts to cast the Timestamp to a Int32. The second return value will be false if there was an overflow or any other loss of precision. For example, going from Float64 to Int64 will result in anything after the decimal being truncated.
func (Timestamp) ToInt64 ¶
ToInt64 attempts to cast the Timestamp to a Int64. The result is not checked for an overflow. Use the ToInt64Checked version of this method if you need to check for an overflow.
func (Timestamp) ToInt64Checked ¶
ToInt64Checked attempts to cast the Timestamp to a Int64. The second return value will be false if there was an overflow or any other loss of precision. For example, going from Float64 to Int64 will result in anything after the decimal being truncated.
func (Timestamp) ToInt8 ¶
ToInt8 attempts to cast the Timestamp to a Int8. The result is not checked for an overflow. Use the ToInt8Checked version of this method if you need to check for an overflow.
func (Timestamp) ToInt8Checked ¶
ToInt8Checked attempts to cast the Timestamp to a Int8. The second return value will be false if there was an overflow or any other loss of precision. For example, going from Float64 to Int64 will result in anything after the decimal being truncated.
func (Timestamp) ToString ¶
ToString attempts to cast the Timestamp to a String. The result is not checked for an overflow. Use the ToStringChecked version of this method if you need to check for an overflow.
func (Timestamp) ToStringChecked ¶
ToStringChecked attempts to cast the Timestamp to a String. The second return value will be false if there was an overflow or any other loss of precision. For example, going from Float64 to Int64 will result in anything after the decimal being truncated.
func (Timestamp) ToTime32 ¶
ToTime32 attempts to cast the Timestamp to a Time32. The result is not checked for an overflow. Use the ToTime32Checked version of this method if you need to check for an overflow.
func (Timestamp) ToTime32Checked ¶
ToTime32Checked attempts to cast the Timestamp to a Time32. The second return value will be false if there was an overflow or any other loss of precision. For example, going from Float64 to Int64 will result in anything after the decimal being truncated.
func (Timestamp) ToTime64 ¶
ToTime64 attempts to cast the Timestamp to a Time64. The result is not checked for an overflow. Use the ToTime64Checked version of this method if you need to check for an overflow.
func (Timestamp) ToTime64Checked ¶
ToTime64Checked attempts to cast the Timestamp to a Time64. The second return value will be false if there was an overflow or any other loss of precision. For example, going from Float64 to Int64 will result in anything after the decimal being truncated.
func (Timestamp) ToTimestamp ¶
ToTimestamp attempts to cast the Timestamp to a Timestamp. The result is not checked for an overflow. Use the ToTimestampChecked version of this method if you need to check for an overflow.
func (Timestamp) ToTimestampChecked ¶
ToTimestampChecked attempts to cast the Timestamp to a Timestamp. The second return value will be false if there was an overflow or any other loss of precision. For example, going from Float64 to Int64 will result in anything after the decimal being truncated.
func (Timestamp) ToUint16 ¶
ToUint16 attempts to cast the Timestamp to a Uint16. The result is not checked for an overflow. Use the ToUint16Checked version of this method if you need to check for an overflow.
func (Timestamp) ToUint16Checked ¶
ToUint16Checked attempts to cast the Timestamp to a Uint16. The second return value will be false if there was an overflow or any other loss of precision. For example, going from Float64 to Int64 will result in anything after the decimal being truncated.
func (Timestamp) ToUint32 ¶
ToUint32 attempts to cast the Timestamp to a Uint32. The result is not checked for an overflow. Use the ToUint32Checked version of this method if you need to check for an overflow.
func (Timestamp) ToUint32Checked ¶
ToUint32Checked attempts to cast the Timestamp to a Uint32. The second return value will be false if there was an overflow or any other loss of precision. For example, going from Float64 to Int64 will result in anything after the decimal being truncated.
func (Timestamp) ToUint64 ¶
ToUint64 attempts to cast the Timestamp to a Uint64. The result is not checked for an overflow. Use the ToUint64Checked version of this method if you need to check for an overflow.
func (Timestamp) ToUint64Checked ¶
ToUint64Checked attempts to cast the Timestamp to a Uint64. The second return value will be false if there was an overflow or any other loss of precision. For example, going from Float64 to Int64 will result in anything after the decimal being truncated.
func (Timestamp) ToUint8 ¶
ToUint8 attempts to cast the Timestamp to a Uint8. The result is not checked for an overflow. Use the ToUint8Checked version of this method if you need to check for an overflow.
func (Timestamp) ToUint8Checked ¶
ToUint8Checked attempts to cast the Timestamp to a Uint8. The second return value will be false if there was an overflow or any other loss of precision. For example, going from Float64 to Int64 will result in anything after the decimal being truncated.
type Uint16 ¶
type Uint16 uint16
Uint16 has logic to apply to this type.
func CastToUint16 ¶
CastToUint16 takes an interface{} type or any Object type and attempts to convert it to the Uint16 Object type.
func (Uint16) GreaterEq ¶
GreaterEq returns true if the left Uint16 is greter than or equal to the right Uint16.
func (Uint16) LessEq ¶
LessEq returns true if the left Uint16 is less than or equal to the right Uint16.
func (Uint16) ToBoolean ¶
ToBoolean attempts to cast the Uint16 to a Boolean. The result is not checked for an overflow. Use the ToBooleanChecked version of this method if you need to check for an overflow.
func (Uint16) ToBooleanChecked ¶
ToBooleanChecked attempts to cast the Uint16 to a Boolean. The second return value will be false if there was an overflow or any other loss of precision. For example, going from Float64 to Int64 will result in anything after the decimal being truncated.
func (Uint16) ToDate32 ¶
ToDate32 attempts to cast the Uint16 to a Date32. The result is not checked for an overflow. Use the ToDate32Checked version of this method if you need to check for an overflow.
func (Uint16) ToDate32Checked ¶
ToDate32Checked attempts to cast the Uint16 to a Date32. The second return value will be false if there was an overflow or any other loss of precision. For example, going from Float64 to Int64 will result in anything after the decimal being truncated.
func (Uint16) ToDate64 ¶
ToDate64 attempts to cast the Uint16 to a Date64. The result is not checked for an overflow. Use the ToDate64Checked version of this method if you need to check for an overflow.
func (Uint16) ToDate64Checked ¶
ToDate64Checked attempts to cast the Uint16 to a Date64. The second return value will be false if there was an overflow or any other loss of precision. For example, going from Float64 to Int64 will result in anything after the decimal being truncated.
func (Uint16) ToFloat32 ¶
ToFloat32 attempts to cast the Uint16 to a Float32. The result is not checked for an overflow. Use the ToFloat32Checked version of this method if you need to check for an overflow.
func (Uint16) ToFloat32Checked ¶
ToFloat32Checked attempts to cast the Uint16 to a Float32. The second return value will be false if there was an overflow or any other loss of precision. For example, going from Float64 to Int64 will result in anything after the decimal being truncated.
func (Uint16) ToFloat64 ¶
ToFloat64 attempts to cast the Uint16 to a Float64. The result is not checked for an overflow. Use the ToFloat64Checked version of this method if you need to check for an overflow.
func (Uint16) ToFloat64Checked ¶
ToFloat64Checked attempts to cast the Uint16 to a Float64. The second return value will be false if there was an overflow or any other loss of precision. For example, going from Float64 to Int64 will result in anything after the decimal being truncated.
func (Uint16) ToInt16 ¶
ToInt16 attempts to cast the Uint16 to a Int16. The result is not checked for an overflow. Use the ToInt16Checked version of this method if you need to check for an overflow.
func (Uint16) ToInt16Checked ¶
ToInt16Checked attempts to cast the Uint16 to a Int16. The second return value will be false if there was an overflow or any other loss of precision. For example, going from Float64 to Int64 will result in anything after the decimal being truncated.
func (Uint16) ToInt32 ¶
ToInt32 attempts to cast the Uint16 to a Int32. The result is not checked for an overflow. Use the ToInt32Checked version of this method if you need to check for an overflow.
func (Uint16) ToInt32Checked ¶
ToInt32Checked attempts to cast the Uint16 to a Int32. The second return value will be false if there was an overflow or any other loss of precision. For example, going from Float64 to Int64 will result in anything after the decimal being truncated.
func (Uint16) ToInt64 ¶
ToInt64 attempts to cast the Uint16 to a Int64. The result is not checked for an overflow. Use the ToInt64Checked version of this method if you need to check for an overflow.
func (Uint16) ToInt64Checked ¶
ToInt64Checked attempts to cast the Uint16 to a Int64. The second return value will be false if there was an overflow or any other loss of precision. For example, going from Float64 to Int64 will result in anything after the decimal being truncated.
func (Uint16) ToInt8 ¶
ToInt8 attempts to cast the Uint16 to a Int8. The result is not checked for an overflow. Use the ToInt8Checked version of this method if you need to check for an overflow.
func (Uint16) ToInt8Checked ¶
ToInt8Checked attempts to cast the Uint16 to a Int8. The second return value will be false if there was an overflow or any other loss of precision. For example, going from Float64 to Int64 will result in anything after the decimal being truncated.
func (Uint16) ToString ¶
ToString attempts to cast the Uint16 to a String. The result is not checked for an overflow. Use the ToStringChecked version of this method if you need to check for an overflow.
func (Uint16) ToStringChecked ¶
ToStringChecked attempts to cast the Uint16 to a String. The second return value will be false if there was an overflow or any other loss of precision. For example, going from Float64 to Int64 will result in anything after the decimal being truncated.
func (Uint16) ToTime32 ¶
ToTime32 attempts to cast the Uint16 to a Time32. The result is not checked for an overflow. Use the ToTime32Checked version of this method if you need to check for an overflow.
func (Uint16) ToTime32Checked ¶
ToTime32Checked attempts to cast the Uint16 to a Time32. The second return value will be false if there was an overflow or any other loss of precision. For example, going from Float64 to Int64 will result in anything after the decimal being truncated.
func (Uint16) ToTime64 ¶
ToTime64 attempts to cast the Uint16 to a Time64. The result is not checked for an overflow. Use the ToTime64Checked version of this method if you need to check for an overflow.
func (Uint16) ToTime64Checked ¶
ToTime64Checked attempts to cast the Uint16 to a Time64. The second return value will be false if there was an overflow or any other loss of precision. For example, going from Float64 to Int64 will result in anything after the decimal being truncated.
func (Uint16) ToTimestamp ¶
ToTimestamp attempts to cast the Uint16 to a Timestamp. The result is not checked for an overflow. Use the ToTimestampChecked version of this method if you need to check for an overflow.
func (Uint16) ToTimestampChecked ¶
ToTimestampChecked attempts to cast the Uint16 to a Timestamp. The second return value will be false if there was an overflow or any other loss of precision. For example, going from Float64 to Int64 will result in anything after the decimal being truncated.
func (Uint16) ToUint16 ¶
ToUint16 attempts to cast the Uint16 to a Uint16. The result is not checked for an overflow. Use the ToUint16Checked version of this method if you need to check for an overflow.
func (Uint16) ToUint16Checked ¶
ToUint16Checked attempts to cast the Uint16 to a Uint16. The second return value will be false if there was an overflow or any other loss of precision. For example, going from Float64 to Int64 will result in anything after the decimal being truncated.
func (Uint16) ToUint32 ¶
ToUint32 attempts to cast the Uint16 to a Uint32. The result is not checked for an overflow. Use the ToUint32Checked version of this method if you need to check for an overflow.
func (Uint16) ToUint32Checked ¶
ToUint32Checked attempts to cast the Uint16 to a Uint32. The second return value will be false if there was an overflow or any other loss of precision. For example, going from Float64 to Int64 will result in anything after the decimal being truncated.
func (Uint16) ToUint64 ¶
ToUint64 attempts to cast the Uint16 to a Uint64. The result is not checked for an overflow. Use the ToUint64Checked version of this method if you need to check for an overflow.
func (Uint16) ToUint64Checked ¶
ToUint64Checked attempts to cast the Uint16 to a Uint64. The second return value will be false if there was an overflow or any other loss of precision. For example, going from Float64 to Int64 will result in anything after the decimal being truncated.
func (Uint16) ToUint8 ¶
ToUint8 attempts to cast the Uint16 to a Uint8. The result is not checked for an overflow. Use the ToUint8Checked version of this method if you need to check for an overflow.
func (Uint16) ToUint8Checked ¶
ToUint8Checked attempts to cast the Uint16 to a Uint8. The second return value will be false if there was an overflow or any other loss of precision. For example, going from Float64 to Int64 will result in anything after the decimal being truncated.
type Uint32 ¶
type Uint32 uint32
Uint32 has logic to apply to this type.
func CastToUint32 ¶
CastToUint32 takes an interface{} type or any Object type and attempts to convert it to the Uint32 Object type.
func (Uint32) GreaterEq ¶
GreaterEq returns true if the left Uint32 is greter than or equal to the right Uint32.
func (Uint32) LessEq ¶
LessEq returns true if the left Uint32 is less than or equal to the right Uint32.
func (Uint32) ToBoolean ¶
ToBoolean attempts to cast the Uint32 to a Boolean. The result is not checked for an overflow. Use the ToBooleanChecked version of this method if you need to check for an overflow.
func (Uint32) ToBooleanChecked ¶
ToBooleanChecked attempts to cast the Uint32 to a Boolean. The second return value will be false if there was an overflow or any other loss of precision. For example, going from Float64 to Int64 will result in anything after the decimal being truncated.
func (Uint32) ToDate32 ¶
ToDate32 attempts to cast the Uint32 to a Date32. The result is not checked for an overflow. Use the ToDate32Checked version of this method if you need to check for an overflow.
func (Uint32) ToDate32Checked ¶
ToDate32Checked attempts to cast the Uint32 to a Date32. The second return value will be false if there was an overflow or any other loss of precision. For example, going from Float64 to Int64 will result in anything after the decimal being truncated.
func (Uint32) ToDate64 ¶
ToDate64 attempts to cast the Uint32 to a Date64. The result is not checked for an overflow. Use the ToDate64Checked version of this method if you need to check for an overflow.
func (Uint32) ToDate64Checked ¶
ToDate64Checked attempts to cast the Uint32 to a Date64. The second return value will be false if there was an overflow or any other loss of precision. For example, going from Float64 to Int64 will result in anything after the decimal being truncated.
func (Uint32) ToFloat32 ¶
ToFloat32 attempts to cast the Uint32 to a Float32. The result is not checked for an overflow. Use the ToFloat32Checked version of this method if you need to check for an overflow.
func (Uint32) ToFloat32Checked ¶
ToFloat32Checked attempts to cast the Uint32 to a Float32. The second return value will be false if there was an overflow or any other loss of precision. For example, going from Float64 to Int64 will result in anything after the decimal being truncated.
func (Uint32) ToFloat64 ¶
ToFloat64 attempts to cast the Uint32 to a Float64. The result is not checked for an overflow. Use the ToFloat64Checked version of this method if you need to check for an overflow.
func (Uint32) ToFloat64Checked ¶
ToFloat64Checked attempts to cast the Uint32 to a Float64. The second return value will be false if there was an overflow or any other loss of precision. For example, going from Float64 to Int64 will result in anything after the decimal being truncated.
func (Uint32) ToInt16 ¶
ToInt16 attempts to cast the Uint32 to a Int16. The result is not checked for an overflow. Use the ToInt16Checked version of this method if you need to check for an overflow.
func (Uint32) ToInt16Checked ¶
ToInt16Checked attempts to cast the Uint32 to a Int16. The second return value will be false if there was an overflow or any other loss of precision. For example, going from Float64 to Int64 will result in anything after the decimal being truncated.
func (Uint32) ToInt32 ¶
ToInt32 attempts to cast the Uint32 to a Int32. The result is not checked for an overflow. Use the ToInt32Checked version of this method if you need to check for an overflow.
func (Uint32) ToInt32Checked ¶
ToInt32Checked attempts to cast the Uint32 to a Int32. The second return value will be false if there was an overflow or any other loss of precision. For example, going from Float64 to Int64 will result in anything after the decimal being truncated.
func (Uint32) ToInt64 ¶
ToInt64 attempts to cast the Uint32 to a Int64. The result is not checked for an overflow. Use the ToInt64Checked version of this method if you need to check for an overflow.
func (Uint32) ToInt64Checked ¶
ToInt64Checked attempts to cast the Uint32 to a Int64. The second return value will be false if there was an overflow or any other loss of precision. For example, going from Float64 to Int64 will result in anything after the decimal being truncated.
func (Uint32) ToInt8 ¶
ToInt8 attempts to cast the Uint32 to a Int8. The result is not checked for an overflow. Use the ToInt8Checked version of this method if you need to check for an overflow.
func (Uint32) ToInt8Checked ¶
ToInt8Checked attempts to cast the Uint32 to a Int8. The second return value will be false if there was an overflow or any other loss of precision. For example, going from Float64 to Int64 will result in anything after the decimal being truncated.
func (Uint32) ToString ¶
ToString attempts to cast the Uint32 to a String. The result is not checked for an overflow. Use the ToStringChecked version of this method if you need to check for an overflow.
func (Uint32) ToStringChecked ¶
ToStringChecked attempts to cast the Uint32 to a String. The second return value will be false if there was an overflow or any other loss of precision. For example, going from Float64 to Int64 will result in anything after the decimal being truncated.
func (Uint32) ToTime32 ¶
ToTime32 attempts to cast the Uint32 to a Time32. The result is not checked for an overflow. Use the ToTime32Checked version of this method if you need to check for an overflow.
func (Uint32) ToTime32Checked ¶
ToTime32Checked attempts to cast the Uint32 to a Time32. The second return value will be false if there was an overflow or any other loss of precision. For example, going from Float64 to Int64 will result in anything after the decimal being truncated.
func (Uint32) ToTime64 ¶
ToTime64 attempts to cast the Uint32 to a Time64. The result is not checked for an overflow. Use the ToTime64Checked version of this method if you need to check for an overflow.
func (Uint32) ToTime64Checked ¶
ToTime64Checked attempts to cast the Uint32 to a Time64. The second return value will be false if there was an overflow or any other loss of precision. For example, going from Float64 to Int64 will result in anything after the decimal being truncated.
func (Uint32) ToTimestamp ¶
ToTimestamp attempts to cast the Uint32 to a Timestamp. The result is not checked for an overflow. Use the ToTimestampChecked version of this method if you need to check for an overflow.
func (Uint32) ToTimestampChecked ¶
ToTimestampChecked attempts to cast the Uint32 to a Timestamp. The second return value will be false if there was an overflow or any other loss of precision. For example, going from Float64 to Int64 will result in anything after the decimal being truncated.
func (Uint32) ToUint16 ¶
ToUint16 attempts to cast the Uint32 to a Uint16. The result is not checked for an overflow. Use the ToUint16Checked version of this method if you need to check for an overflow.
func (Uint32) ToUint16Checked ¶
ToUint16Checked attempts to cast the Uint32 to a Uint16. The second return value will be false if there was an overflow or any other loss of precision. For example, going from Float64 to Int64 will result in anything after the decimal being truncated.
func (Uint32) ToUint32 ¶
ToUint32 attempts to cast the Uint32 to a Uint32. The result is not checked for an overflow. Use the ToUint32Checked version of this method if you need to check for an overflow.
func (Uint32) ToUint32Checked ¶
ToUint32Checked attempts to cast the Uint32 to a Uint32. The second return value will be false if there was an overflow or any other loss of precision. For example, going from Float64 to Int64 will result in anything after the decimal being truncated.
func (Uint32) ToUint64 ¶
ToUint64 attempts to cast the Uint32 to a Uint64. The result is not checked for an overflow. Use the ToUint64Checked version of this method if you need to check for an overflow.
func (Uint32) ToUint64Checked ¶
ToUint64Checked attempts to cast the Uint32 to a Uint64. The second return value will be false if there was an overflow or any other loss of precision. For example, going from Float64 to Int64 will result in anything after the decimal being truncated.
func (Uint32) ToUint8 ¶
ToUint8 attempts to cast the Uint32 to a Uint8. The result is not checked for an overflow. Use the ToUint8Checked version of this method if you need to check for an overflow.
func (Uint32) ToUint8Checked ¶
ToUint8Checked attempts to cast the Uint32 to a Uint8. The second return value will be false if there was an overflow or any other loss of precision. For example, going from Float64 to Int64 will result in anything after the decimal being truncated.
type Uint64 ¶
type Uint64 uint64
Uint64 has logic to apply to this type.
func CastToUint64 ¶
CastToUint64 takes an interface{} type or any Object type and attempts to convert it to the Uint64 Object type.
func (Uint64) GreaterEq ¶
GreaterEq returns true if the left Uint64 is greter than or equal to the right Uint64.
func (Uint64) LessEq ¶
LessEq returns true if the left Uint64 is less than or equal to the right Uint64.
func (Uint64) ToBoolean ¶
ToBoolean attempts to cast the Uint64 to a Boolean. The result is not checked for an overflow. Use the ToBooleanChecked version of this method if you need to check for an overflow.
func (Uint64) ToBooleanChecked ¶
ToBooleanChecked attempts to cast the Uint64 to a Boolean. The second return value will be false if there was an overflow or any other loss of precision. For example, going from Float64 to Int64 will result in anything after the decimal being truncated.
func (Uint64) ToDate32 ¶
ToDate32 attempts to cast the Uint64 to a Date32. The result is not checked for an overflow. Use the ToDate32Checked version of this method if you need to check for an overflow.
func (Uint64) ToDate32Checked ¶
ToDate32Checked attempts to cast the Uint64 to a Date32. The second return value will be false if there was an overflow or any other loss of precision. For example, going from Float64 to Int64 will result in anything after the decimal being truncated.
func (Uint64) ToDate64 ¶
ToDate64 attempts to cast the Uint64 to a Date64. The result is not checked for an overflow. Use the ToDate64Checked version of this method if you need to check for an overflow.
func (Uint64) ToDate64Checked ¶
ToDate64Checked attempts to cast the Uint64 to a Date64. The second return value will be false if there was an overflow or any other loss of precision. For example, going from Float64 to Int64 will result in anything after the decimal being truncated.
func (Uint64) ToDecimal128 ¶
func (t Uint64) ToDecimal128() Decimal128
ToDecimal128 attempts to cast the Uint64 to a Decimal128. The result is not checked for an overflow. Use the ToDecimal128Checked version of this method if you need to check for an overflow.
func (Uint64) ToDecimal128Checked ¶
func (t Uint64) ToDecimal128Checked() (Decimal128, Boolean)
ToDecimal128Checked attempts to cast the Uint64 to a Decimal128. The second return value will be false if there was an overflow or any other loss of precision. For example, going from Float64 to Int64 will result in anything after the decimal being truncated.
func (Uint64) ToFloat32 ¶
ToFloat32 attempts to cast the Uint64 to a Float32. The result is not checked for an overflow. Use the ToFloat32Checked version of this method if you need to check for an overflow.
func (Uint64) ToFloat32Checked ¶
ToFloat32Checked attempts to cast the Uint64 to a Float32. The second return value will be false if there was an overflow or any other loss of precision. For example, going from Float64 to Int64 will result in anything after the decimal being truncated.
func (Uint64) ToFloat64 ¶
ToFloat64 attempts to cast the Uint64 to a Float64. The result is not checked for an overflow. Use the ToFloat64Checked version of this method if you need to check for an overflow.
func (Uint64) ToFloat64Checked ¶
ToFloat64Checked attempts to cast the Uint64 to a Float64. The second return value will be false if there was an overflow or any other loss of precision. For example, going from Float64 to Int64 will result in anything after the decimal being truncated.
func (Uint64) ToInt16 ¶
ToInt16 attempts to cast the Uint64 to a Int16. The result is not checked for an overflow. Use the ToInt16Checked version of this method if you need to check for an overflow.
func (Uint64) ToInt16Checked ¶
ToInt16Checked attempts to cast the Uint64 to a Int16. The second return value will be false if there was an overflow or any other loss of precision. For example, going from Float64 to Int64 will result in anything after the decimal being truncated.
func (Uint64) ToInt32 ¶
ToInt32 attempts to cast the Uint64 to a Int32. The result is not checked for an overflow. Use the ToInt32Checked version of this method if you need to check for an overflow.
func (Uint64) ToInt32Checked ¶
ToInt32Checked attempts to cast the Uint64 to a Int32. The second return value will be false if there was an overflow or any other loss of precision. For example, going from Float64 to Int64 will result in anything after the decimal being truncated.
func (Uint64) ToInt64 ¶
ToInt64 attempts to cast the Uint64 to a Int64. The result is not checked for an overflow. Use the ToInt64Checked version of this method if you need to check for an overflow.
func (Uint64) ToInt64Checked ¶
ToInt64Checked attempts to cast the Uint64 to a Int64. The second return value will be false if there was an overflow or any other loss of precision. For example, going from Float64 to Int64 will result in anything after the decimal being truncated.
func (Uint64) ToInt8 ¶
ToInt8 attempts to cast the Uint64 to a Int8. The result is not checked for an overflow. Use the ToInt8Checked version of this method if you need to check for an overflow.
func (Uint64) ToInt8Checked ¶
ToInt8Checked attempts to cast the Uint64 to a Int8. The second return value will be false if there was an overflow or any other loss of precision. For example, going from Float64 to Int64 will result in anything after the decimal being truncated.
func (Uint64) ToString ¶
ToString attempts to cast the Uint64 to a String. The result is not checked for an overflow. Use the ToStringChecked version of this method if you need to check for an overflow.
func (Uint64) ToStringChecked ¶
ToStringChecked attempts to cast the Uint64 to a String. The second return value will be false if there was an overflow or any other loss of precision. For example, going from Float64 to Int64 will result in anything after the decimal being truncated.
func (Uint64) ToTime32 ¶
ToTime32 attempts to cast the Uint64 to a Time32. The result is not checked for an overflow. Use the ToTime32Checked version of this method if you need to check for an overflow.
func (Uint64) ToTime32Checked ¶
ToTime32Checked attempts to cast the Uint64 to a Time32. The second return value will be false if there was an overflow or any other loss of precision. For example, going from Float64 to Int64 will result in anything after the decimal being truncated.
func (Uint64) ToTime64 ¶
ToTime64 attempts to cast the Uint64 to a Time64. The result is not checked for an overflow. Use the ToTime64Checked version of this method if you need to check for an overflow.
func (Uint64) ToTime64Checked ¶
ToTime64Checked attempts to cast the Uint64 to a Time64. The second return value will be false if there was an overflow or any other loss of precision. For example, going from Float64 to Int64 will result in anything after the decimal being truncated.
func (Uint64) ToTimestamp ¶
ToTimestamp attempts to cast the Uint64 to a Timestamp. The result is not checked for an overflow. Use the ToTimestampChecked version of this method if you need to check for an overflow.
func (Uint64) ToTimestampChecked ¶
ToTimestampChecked attempts to cast the Uint64 to a Timestamp. The second return value will be false if there was an overflow or any other loss of precision. For example, going from Float64 to Int64 will result in anything after the decimal being truncated.
func (Uint64) ToUint16 ¶
ToUint16 attempts to cast the Uint64 to a Uint16. The result is not checked for an overflow. Use the ToUint16Checked version of this method if you need to check for an overflow.
func (Uint64) ToUint16Checked ¶
ToUint16Checked attempts to cast the Uint64 to a Uint16. The second return value will be false if there was an overflow or any other loss of precision. For example, going from Float64 to Int64 will result in anything after the decimal being truncated.
func (Uint64) ToUint32 ¶
ToUint32 attempts to cast the Uint64 to a Uint32. The result is not checked for an overflow. Use the ToUint32Checked version of this method if you need to check for an overflow.
func (Uint64) ToUint32Checked ¶
ToUint32Checked attempts to cast the Uint64 to a Uint32. The second return value will be false if there was an overflow or any other loss of precision. For example, going from Float64 to Int64 will result in anything after the decimal being truncated.
func (Uint64) ToUint64 ¶
ToUint64 attempts to cast the Uint64 to a Uint64. The result is not checked for an overflow. Use the ToUint64Checked version of this method if you need to check for an overflow.
func (Uint64) ToUint64Checked ¶
ToUint64Checked attempts to cast the Uint64 to a Uint64. The second return value will be false if there was an overflow or any other loss of precision. For example, going from Float64 to Int64 will result in anything after the decimal being truncated.
func (Uint64) ToUint8 ¶
ToUint8 attempts to cast the Uint64 to a Uint8. The result is not checked for an overflow. Use the ToUint8Checked version of this method if you need to check for an overflow.
func (Uint64) ToUint8Checked ¶
ToUint8Checked attempts to cast the Uint64 to a Uint8. The second return value will be false if there was an overflow or any other loss of precision. For example, going from Float64 to Int64 will result in anything after the decimal being truncated.
type Uint8 ¶
type Uint8 uint8
Uint8 has logic to apply to this type.
func CastToUint8 ¶
CastToUint8 takes an interface{} type or any Object type and attempts to convert it to the Uint8 Object type.
func (Uint8) GreaterEq ¶
GreaterEq returns true if the left Uint8 is greter than or equal to the right Uint8.
func (Uint8) LessEq ¶
LessEq returns true if the left Uint8 is less than or equal to the right Uint8.
func (Uint8) ToBoolean ¶
ToBoolean attempts to cast the Uint8 to a Boolean. The result is not checked for an overflow. Use the ToBooleanChecked version of this method if you need to check for an overflow.
func (Uint8) ToBooleanChecked ¶
ToBooleanChecked attempts to cast the Uint8 to a Boolean. The second return value will be false if there was an overflow or any other loss of precision. For example, going from Float64 to Int64 will result in anything after the decimal being truncated.
func (Uint8) ToDate32 ¶
ToDate32 attempts to cast the Uint8 to a Date32. The result is not checked for an overflow. Use the ToDate32Checked version of this method if you need to check for an overflow.
func (Uint8) ToDate32Checked ¶
ToDate32Checked attempts to cast the Uint8 to a Date32. The second return value will be false if there was an overflow or any other loss of precision. For example, going from Float64 to Int64 will result in anything after the decimal being truncated.
func (Uint8) ToDate64 ¶
ToDate64 attempts to cast the Uint8 to a Date64. The result is not checked for an overflow. Use the ToDate64Checked version of this method if you need to check for an overflow.
func (Uint8) ToDate64Checked ¶
ToDate64Checked attempts to cast the Uint8 to a Date64. The second return value will be false if there was an overflow or any other loss of precision. For example, going from Float64 to Int64 will result in anything after the decimal being truncated.
func (Uint8) ToFloat32 ¶
ToFloat32 attempts to cast the Uint8 to a Float32. The result is not checked for an overflow. Use the ToFloat32Checked version of this method if you need to check for an overflow.
func (Uint8) ToFloat32Checked ¶
ToFloat32Checked attempts to cast the Uint8 to a Float32. The second return value will be false if there was an overflow or any other loss of precision. For example, going from Float64 to Int64 will result in anything after the decimal being truncated.
func (Uint8) ToFloat64 ¶
ToFloat64 attempts to cast the Uint8 to a Float64. The result is not checked for an overflow. Use the ToFloat64Checked version of this method if you need to check for an overflow.
func (Uint8) ToFloat64Checked ¶
ToFloat64Checked attempts to cast the Uint8 to a Float64. The second return value will be false if there was an overflow or any other loss of precision. For example, going from Float64 to Int64 will result in anything after the decimal being truncated.
func (Uint8) ToInt16 ¶
ToInt16 attempts to cast the Uint8 to a Int16. The result is not checked for an overflow. Use the ToInt16Checked version of this method if you need to check for an overflow.
func (Uint8) ToInt16Checked ¶
ToInt16Checked attempts to cast the Uint8 to a Int16. The second return value will be false if there was an overflow or any other loss of precision. For example, going from Float64 to Int64 will result in anything after the decimal being truncated.
func (Uint8) ToInt32 ¶
ToInt32 attempts to cast the Uint8 to a Int32. The result is not checked for an overflow. Use the ToInt32Checked version of this method if you need to check for an overflow.
func (Uint8) ToInt32Checked ¶
ToInt32Checked attempts to cast the Uint8 to a Int32. The second return value will be false if there was an overflow or any other loss of precision. For example, going from Float64 to Int64 will result in anything after the decimal being truncated.
func (Uint8) ToInt64 ¶
ToInt64 attempts to cast the Uint8 to a Int64. The result is not checked for an overflow. Use the ToInt64Checked version of this method if you need to check for an overflow.
func (Uint8) ToInt64Checked ¶
ToInt64Checked attempts to cast the Uint8 to a Int64. The second return value will be false if there was an overflow or any other loss of precision. For example, going from Float64 to Int64 will result in anything after the decimal being truncated.
func (Uint8) ToInt8 ¶
ToInt8 attempts to cast the Uint8 to a Int8. The result is not checked for an overflow. Use the ToInt8Checked version of this method if you need to check for an overflow.
func (Uint8) ToInt8Checked ¶
ToInt8Checked attempts to cast the Uint8 to a Int8. The second return value will be false if there was an overflow or any other loss of precision. For example, going from Float64 to Int64 will result in anything after the decimal being truncated.
func (Uint8) ToString ¶
ToString attempts to cast the Uint8 to a String. The result is not checked for an overflow. Use the ToStringChecked version of this method if you need to check for an overflow.
func (Uint8) ToStringChecked ¶
ToStringChecked attempts to cast the Uint8 to a String. The second return value will be false if there was an overflow or any other loss of precision. For example, going from Float64 to Int64 will result in anything after the decimal being truncated.
func (Uint8) ToTime32 ¶
ToTime32 attempts to cast the Uint8 to a Time32. The result is not checked for an overflow. Use the ToTime32Checked version of this method if you need to check for an overflow.
func (Uint8) ToTime32Checked ¶
ToTime32Checked attempts to cast the Uint8 to a Time32. The second return value will be false if there was an overflow or any other loss of precision. For example, going from Float64 to Int64 will result in anything after the decimal being truncated.
func (Uint8) ToTime64 ¶
ToTime64 attempts to cast the Uint8 to a Time64. The result is not checked for an overflow. Use the ToTime64Checked version of this method if you need to check for an overflow.
func (Uint8) ToTime64Checked ¶
ToTime64Checked attempts to cast the Uint8 to a Time64. The second return value will be false if there was an overflow or any other loss of precision. For example, going from Float64 to Int64 will result in anything after the decimal being truncated.
func (Uint8) ToTimestamp ¶
ToTimestamp attempts to cast the Uint8 to a Timestamp. The result is not checked for an overflow. Use the ToTimestampChecked version of this method if you need to check for an overflow.
func (Uint8) ToTimestampChecked ¶
ToTimestampChecked attempts to cast the Uint8 to a Timestamp. The second return value will be false if there was an overflow or any other loss of precision. For example, going from Float64 to Int64 will result in anything after the decimal being truncated.
func (Uint8) ToUint16 ¶
ToUint16 attempts to cast the Uint8 to a Uint16. The result is not checked for an overflow. Use the ToUint16Checked version of this method if you need to check for an overflow.
func (Uint8) ToUint16Checked ¶
ToUint16Checked attempts to cast the Uint8 to a Uint16. The second return value will be false if there was an overflow or any other loss of precision. For example, going from Float64 to Int64 will result in anything after the decimal being truncated.
func (Uint8) ToUint32 ¶
ToUint32 attempts to cast the Uint8 to a Uint32. The result is not checked for an overflow. Use the ToUint32Checked version of this method if you need to check for an overflow.
func (Uint8) ToUint32Checked ¶
ToUint32Checked attempts to cast the Uint8 to a Uint32. The second return value will be false if there was an overflow or any other loss of precision. For example, going from Float64 to Int64 will result in anything after the decimal being truncated.
func (Uint8) ToUint64 ¶
ToUint64 attempts to cast the Uint8 to a Uint64. The result is not checked for an overflow. Use the ToUint64Checked version of this method if you need to check for an overflow.
func (Uint8) ToUint64Checked ¶
ToUint64Checked attempts to cast the Uint8 to a Uint64. The second return value will be false if there was an overflow or any other loss of precision. For example, going from Float64 to Int64 will result in anything after the decimal being truncated.
func (Uint8) ToUint8 ¶
ToUint8 attempts to cast the Uint8 to a Uint8. The result is not checked for an overflow. Use the ToUint8Checked version of this method if you need to check for an overflow.
func (Uint8) ToUint8Checked ¶
ToUint8Checked attempts to cast the Uint8 to a Uint8. The second return value will be false if there was an overflow or any other loss of precision. For example, going from Float64 to Int64 will result in anything after the decimal being truncated.