object

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jul 7, 2020 License: Apache-2.0, MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	STRING_VALUE = "(null)"
)

Variables

View Source
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

func CastToBoolean(v interface{}) (Boolean, bool)

CastToBoolean takes an interface{} type or any Object type and attempts to convert it to the Boolean Object type.

func Eq

func Eq(left Object, right Object) (Boolean, error)

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

func Greater(left Object, right Object) (Boolean, error)

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

func GreaterEq(left Object, right Object) (Boolean, error)

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 IsNil

func IsNil(o Object) Boolean

func Less

func Less(left Object, right Object) (Boolean, error)

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

func LessEq(left Object, right Object) (Boolean, error)

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

func Neq(left Object, right Object) (Boolean, error)

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

func NewBoolean(v bool) Boolean

NewBoolean creates a new Boolean object from the given value provided as v.

func ToBoolean

func ToBoolean(o Object) Boolean

func (Boolean) Eq

func (e Boolean) Eq(r Object) (Boolean, error)

Eq returns true if the left Boolean is equal to the right Boolean.

func (Boolean) Greater

func (e Boolean) Greater(r Object) (Boolean, error)

Greater returns true if the left Boolean is greter than the right Boolean.

func (Boolean) GreaterEq

func (e Boolean) GreaterEq(r Object) (Boolean, error)

GreaterEq returns true if the left Boolean is greter than or equal to the right Boolean.

func (Boolean) Less

func (e Boolean) Less(r Object) (Boolean, error)

Less returns true if the left Boolean is less than the right Boolean.

func (Boolean) LessEq

func (e Boolean) LessEq(r Object) (Boolean, error)

LessEq returns true if the left Boolean is less than or equal to the right Boolean.

func (Boolean) Neq

func (e Boolean) Neq(r Object) (Boolean, error)

Neq returns true if the left Boolean is not equal to the right Boolean.

func (Boolean) ToBoolean

func (t Boolean) ToBoolean() Boolean

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

func (t Boolean) ToBooleanChecked() (Boolean, Boolean)

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

func (t Boolean) ToDate32() Date32

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

func (t Boolean) ToDate32Checked() (Date32, Boolean)

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

func (t Boolean) ToDate64() Date64

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

func (t Boolean) ToDate64Checked() (Date64, Boolean)

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

func (t Boolean) ToDuration() Duration

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

func (t Boolean) ToDurationChecked() (Duration, Boolean)

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

func (t Boolean) ToFloat16() Float16

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

func (t Boolean) ToFloat16Checked() (Float16, Boolean)

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

func (t Boolean) ToFloat32() Float32

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

func (t Boolean) ToFloat32Checked() (Float32, Boolean)

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

func (t Boolean) ToFloat64() Float64

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

func (t Boolean) ToFloat64Checked() (Float64, Boolean)

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

func (t Boolean) ToInt16() Int16

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

func (t Boolean) ToInt16Checked() (Int16, Boolean)

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

func (t Boolean) ToInt32() Int32

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

func (t Boolean) ToInt32Checked() (Int32, Boolean)

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

func (t Boolean) ToInt64() Int64

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

func (t Boolean) ToInt64Checked() (Int64, Boolean)

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

func (t Boolean) ToInt8() Int8

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

func (t Boolean) ToInt8Checked() (Int8, Boolean)

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

func (t Boolean) ToString() String

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

func (t Boolean) ToStringChecked() (String, Boolean)

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

func (t Boolean) ToTime32() Time32

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

func (t Boolean) ToTime32Checked() (Time32, Boolean)

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

func (t Boolean) ToTime64() Time64

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

func (t Boolean) ToTime64Checked() (Time64, Boolean)

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

func (t Boolean) ToTimestamp() Timestamp

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

func (t Boolean) ToTimestampChecked() (Timestamp, Boolean)

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

func (t Boolean) ToUint16() Uint16

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

func (t Boolean) ToUint16Checked() (Uint16, Boolean)

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

func (t Boolean) ToUint32() Uint32

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

func (t Boolean) ToUint32Checked() (Uint32, Boolean)

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

func (t Boolean) ToUint64() Uint64

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

func (t Boolean) ToUint64Checked() (Uint64, Boolean)

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

func (t Boolean) ToUint8() Uint8

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

func (t Boolean) ToUint8Checked() (Uint8, Boolean)

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.

func (Boolean) Value

func (e Boolean) Value() bool

Value returns the underlying value in it's native type.

type CastableToBoolean

type CastableToBoolean interface {
	ToBooleanChecked() (Boolean, Boolean)
	ToBoolean() Boolean
}

type CastableToDate32

type CastableToDate32 interface {
	ToDate32Checked() (Date32, Boolean)
	ToDate32() Date32
}

type CastableToDate64

type CastableToDate64 interface {
	ToDate64Checked() (Date64, Boolean)
	ToDate64() Date64
}

type CastableToDayTimeInterval

type CastableToDayTimeInterval interface {
	ToDayTimeIntervalChecked() (DayTimeInterval, Boolean)
	ToDayTimeInterval() DayTimeInterval
}

type CastableToDecimal128

type CastableToDecimal128 interface {
	ToDecimal128Checked() (Decimal128, Boolean)
	ToDecimal128() Decimal128
}

type CastableToDuration

type CastableToDuration interface {
	ToDurationChecked() (Duration, Boolean)
	ToDuration() Duration
}

type CastableToFloat16

type CastableToFloat16 interface {
	ToFloat16Checked() (Float16, Boolean)
	ToFloat16() Float16
}

type CastableToFloat32

type CastableToFloat32 interface {
	ToFloat32Checked() (Float32, Boolean)
	ToFloat32() Float32
}

type CastableToFloat64

type CastableToFloat64 interface {
	ToFloat64Checked() (Float64, Boolean)
	ToFloat64() Float64
}

type CastableToInt16

type CastableToInt16 interface {
	ToInt16Checked() (Int16, Boolean)
	ToInt16() Int16
}

type CastableToInt32

type CastableToInt32 interface {
	ToInt32Checked() (Int32, Boolean)
	ToInt32() Int32
}

type CastableToInt64

type CastableToInt64 interface {
	ToInt64Checked() (Int64, Boolean)
	ToInt64() Int64
}

type CastableToInt8

type CastableToInt8 interface {
	ToInt8Checked() (Int8, Boolean)
	ToInt8() Int8
}

type CastableToMonthInterval

type CastableToMonthInterval interface {
	ToMonthIntervalChecked() (MonthInterval, Boolean)
	ToMonthInterval() MonthInterval
}

type CastableToString

type CastableToString interface {
	ToStringChecked() (String, Boolean)
	ToString() String
}

type CastableToTime32

type CastableToTime32 interface {
	ToTime32Checked() (Time32, Boolean)
	ToTime32() Time32
}

type CastableToTime64

type CastableToTime64 interface {
	ToTime64Checked() (Time64, Boolean)
	ToTime64() Time64
}

type CastableToTimestamp

type CastableToTimestamp interface {
	ToTimestampChecked() (Timestamp, Boolean)
	ToTimestamp() Timestamp
}

type CastableToUint16

type CastableToUint16 interface {
	ToUint16Checked() (Uint16, Boolean)
	ToUint16() Uint16
}

type CastableToUint32

type CastableToUint32 interface {
	ToUint32Checked() (Uint32, Boolean)
	ToUint32() Uint32
}

type CastableToUint64

type CastableToUint64 interface {
	ToUint64Checked() (Uint64, Boolean)
	ToUint64() Uint64
}

type CastableToUint8

type CastableToUint8 interface {
	ToUint8Checked() (Uint8, Boolean)
	ToUint8() Uint8
}

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

type Date32 arrow.Date32

Date32 has logic to apply to this type.

func CastToDate32

func CastToDate32(v interface{}) (Date32, bool)

CastToDate32 takes an interface{} type or any Object type and attempts to convert it to the Date32 Object type.

func NewDate32

func NewDate32(v arrow.Date32) Date32

NewDate32 creates a new Date32 object from the given value provided as v.

func (Date32) Eq

func (e Date32) Eq(r Object) (Boolean, error)

Eq returns true if the left Date32 is equal to the right Date32.

func (Date32) Greater

func (e Date32) Greater(r Object) (Boolean, error)

Greater returns true if the left Date32 is greter than the right Date32.

func (Date32) GreaterEq

func (e Date32) GreaterEq(r Object) (Boolean, error)

GreaterEq returns true if the left Date32 is greter than or equal to the right Date32.

func (Date32) Less

func (e Date32) Less(r Object) (Boolean, error)

Less returns true if the left Date32 is less than the right Date32.

func (Date32) LessEq

func (e Date32) LessEq(r Object) (Boolean, error)

LessEq returns true if the left Date32 is less than or equal to the right Date32.

func (Date32) Neq

func (e Date32) Neq(r Object) (Boolean, error)

Neq returns true if the left Date32 is not equal to the right Date32.

func (Date32) ToBoolean

func (t Date32) ToBoolean() Boolean

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

func (t Date32) ToBooleanChecked() (Boolean, Boolean)

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

func (t Date32) ToDate32() Date32

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

func (t Date32) ToDate32Checked() (Date32, Boolean)

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

func (t Date32) ToDate64() Date64

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

func (t Date32) ToDate64Checked() (Date64, Boolean)

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

func (t Date32) ToInt32() Int32

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

func (t Date32) ToInt32Checked() (Int32, Boolean)

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

func (t Date32) ToInt64() Int64

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

func (t Date32) ToInt64Checked() (Int64, Boolean)

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

func (t Date32) ToString() String

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

func (t Date32) ToStringChecked() (String, Boolean)

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

func (t Date32) ToUint64() Uint64

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

func (t Date32) ToUint64Checked() (Uint64, Boolean)

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.

func (Date32) Value

func (e Date32) Value() arrow.Date32

Value returns the underlying value in it's native type.

type Date64

type Date64 arrow.Date64

Date64 has logic to apply to this type.

func CastToDate64

func CastToDate64(v interface{}) (Date64, bool)

CastToDate64 takes an interface{} type or any Object type and attempts to convert it to the Date64 Object type.

func NewDate64

func NewDate64(v arrow.Date64) Date64

NewDate64 creates a new Date64 object from the given value provided as v.

func (Date64) Eq

func (e Date64) Eq(r Object) (Boolean, error)

Eq returns true if the left Date64 is equal to the right Date64.

func (Date64) Greater

func (e Date64) Greater(r Object) (Boolean, error)

Greater returns true if the left Date64 is greter than the right Date64.

func (Date64) GreaterEq

func (e Date64) GreaterEq(r Object) (Boolean, error)

GreaterEq returns true if the left Date64 is greter than or equal to the right Date64.

func (Date64) Less

func (e Date64) Less(r Object) (Boolean, error)

Less returns true if the left Date64 is less than the right Date64.

func (Date64) LessEq

func (e Date64) LessEq(r Object) (Boolean, error)

LessEq returns true if the left Date64 is less than or equal to the right Date64.

func (Date64) Neq

func (e Date64) Neq(r Object) (Boolean, error)

Neq returns true if the left Date64 is not equal to the right Date64.

func (Date64) ToBoolean

func (t Date64) ToBoolean() Boolean

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

func (t Date64) ToBooleanChecked() (Boolean, Boolean)

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

func (t Date64) ToDate32() Date32

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

func (t Date64) ToDate32Checked() (Date32, Boolean)

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

func (t Date64) ToDate64() Date64

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

func (t Date64) ToDate64Checked() (Date64, Boolean)

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

func (t Date64) ToFloat32() Float32

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

func (t Date64) ToFloat32Checked() (Float32, Boolean)

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

func (t Date64) ToFloat64() Float64

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

func (t Date64) ToFloat64Checked() (Float64, Boolean)

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

func (t Date64) ToInt16() Int16

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

func (t Date64) ToInt16Checked() (Int16, Boolean)

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

func (t Date64) ToInt32() Int32

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

func (t Date64) ToInt32Checked() (Int32, Boolean)

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

func (t Date64) ToInt64() Int64

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

func (t Date64) ToInt64Checked() (Int64, Boolean)

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

func (t Date64) ToInt8() Int8

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

func (t Date64) ToInt8Checked() (Int8, Boolean)

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

func (t Date64) ToString() String

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

func (t Date64) ToStringChecked() (String, Boolean)

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

func (t Date64) ToTime32() Time32

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

func (t Date64) ToTime32Checked() (Time32, Boolean)

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

func (t Date64) ToTime64() Time64

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

func (t Date64) ToTime64Checked() (Time64, Boolean)

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

func (t Date64) ToTimestamp() Timestamp

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

func (t Date64) ToTimestampChecked() (Timestamp, Boolean)

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

func (t Date64) ToUint16() Uint16

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

func (t Date64) ToUint16Checked() (Uint16, Boolean)

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

func (t Date64) ToUint32() Uint32

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

func (t Date64) ToUint32Checked() (Uint32, Boolean)

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

func (t Date64) ToUint64() Uint64

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

func (t Date64) ToUint64Checked() (Uint64, Boolean)

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

func (t Date64) ToUint8() Uint8

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

func (t Date64) ToUint8Checked() (Uint8, Boolean)

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.

func (Date64) Value

func (e Date64) Value() arrow.Date64

Value returns the underlying value in it's native type.

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

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

type Duration arrow.Duration

Duration has logic to apply to this type.

func CastToDuration

func CastToDuration(v interface{}) (Duration, bool)

CastToDuration takes an interface{} type or any Object type and attempts to convert it to the Duration Object type.

func NewDuration

func NewDuration(v arrow.Duration) Duration

NewDuration creates a new Duration object from the given value provided as v.

func (Duration) Eq

func (e Duration) Eq(r Object) (Boolean, error)

Eq returns true if the left Duration is equal to the right Duration.

func (Duration) Greater

func (e Duration) Greater(r Object) (Boolean, error)

Greater returns true if the left Duration is greter than the right Duration.

func (Duration) GreaterEq

func (e Duration) GreaterEq(r Object) (Boolean, error)

GreaterEq returns true if the left Duration is greter than or equal to the right Duration.

func (Duration) Less

func (e Duration) Less(r Object) (Boolean, error)

Less returns true if the left Duration is less than the right Duration.

func (Duration) LessEq

func (e Duration) LessEq(r Object) (Boolean, error)

LessEq returns true if the left Duration is less than or equal to the right Duration.

func (Duration) Neq

func (e Duration) Neq(r Object) (Boolean, error)

Neq returns true if the left Duration is not equal to the right Duration.

func (Duration) ToBoolean

func (t Duration) ToBoolean() Boolean

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

func (t Duration) ToBooleanChecked() (Boolean, Boolean)

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

func (t Duration) ToDate32() Date32

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

func (t Duration) ToDate32Checked() (Date32, Boolean)

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

func (t Duration) ToDate64() Date64

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

func (t Duration) ToDate64Checked() (Date64, Boolean)

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

func (t Duration) ToDuration() Duration

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

func (t Duration) ToDurationChecked() (Duration, Boolean)

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

func (t Duration) ToFloat32() Float32

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

func (t Duration) ToFloat32Checked() (Float32, Boolean)

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

func (t Duration) ToFloat64() Float64

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

func (t Duration) ToFloat64Checked() (Float64, Boolean)

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

func (t Duration) ToInt16() Int16

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

func (t Duration) ToInt16Checked() (Int16, Boolean)

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

func (t Duration) ToInt64() Int64

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

func (t Duration) ToInt64Checked() (Int64, Boolean)

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

func (t Duration) ToInt8() Int8

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

func (t Duration) ToInt8Checked() (Int8, Boolean)

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

func (t Duration) ToString() String

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

func (t Duration) ToStringChecked() (String, Boolean)

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

func (t Duration) ToTime32() Time32

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

func (t Duration) ToTime32Checked() (Time32, Boolean)

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

func (t Duration) ToTime64() Time64

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

func (t Duration) ToTime64Checked() (Time64, Boolean)

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

func (t Duration) ToTimestamp() Timestamp

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

func (t Duration) ToTimestampChecked() (Timestamp, Boolean)

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

func (t Duration) ToUint16() Uint16

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

func (t Duration) ToUint16Checked() (Uint16, Boolean)

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

func (t Duration) ToUint32() Uint32

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

func (t Duration) ToUint32Checked() (Uint32, Boolean)

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

func (t Duration) ToUint64() Uint64

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

func (t Duration) ToUint64Checked() (Uint64, Boolean)

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

func (t Duration) ToUint8() Uint8

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

func (t Duration) ToUint8Checked() (Uint8, Boolean)

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.

func (Duration) Value

func (e Duration) Value() arrow.Duration

Value returns the underlying value in it's native type.

type Float16

type Float16 float16.Num

Float16 has logic to apply to this type.

func CastToFloat16

func CastToFloat16(v interface{}) (Float16, bool)

CastToFloat16 takes an interface{} type or any Object type and attempts to convert it to the Float16 Object type.

func NewFloat16

func NewFloat16(v float16.Num) Float16

NewFloat16 creates a new Float16 object from the given value provided as v.

func (Float16) Eq

func (e Float16) Eq(r Object) (Boolean, error)

Eq returns true if the left Float16 is equal to the right Float16.

func (Float16) Greater

func (e Float16) Greater(r Object) (Boolean, error)

Greater returns true if the left Float16 is greter than the right Float16.

func (Float16) GreaterEq

func (e Float16) GreaterEq(r Object) (Boolean, error)

GreaterEq returns true if the left Float16 is greter than or equal to the right Float16.

func (Float16) Less

func (e Float16) Less(r Object) (Boolean, error)

Less returns true if the left Float16 is less than the right Float16.

func (Float16) LessEq

func (e Float16) LessEq(r Object) (Boolean, error)

LessEq returns true if the left Float16 is less than or equal to the right Float16.

func (Float16) Neq

func (e Float16) Neq(r Object) (Boolean, error)

Neq returns true if the left Float16 is not equal to the right Float16.

func (Float16) ToBoolean

func (t Float16) ToBoolean() Boolean

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

func (t Float16) ToBooleanChecked() (Boolean, Boolean)

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

func (t Float16) ToDate32() Date32

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

func (t Float16) ToDate32Checked() (Date32, Boolean)

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

func (t Float16) ToDate64() Date64

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

func (t Float16) ToDate64Checked() (Date64, Boolean)

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

func (t Float16) ToFloat16() Float16

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

func (t Float16) ToFloat16Checked() (Float16, Boolean)

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

func (t Float16) ToFloat32() Float32

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

func (t Float16) ToFloat32Checked() (Float32, Boolean)

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

func (t Float16) ToFloat64() Float64

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

func (t Float16) ToFloat64Checked() (Float64, Boolean)

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

func (t Float16) ToInt16() Int16

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

func (t Float16) ToInt16Checked() (Int16, Boolean)

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

func (t Float16) ToInt32() Int32

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

func (t Float16) ToInt32Checked() (Int32, Boolean)

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

func (t Float16) ToInt64() Int64

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

func (t Float16) ToInt64Checked() (Int64, Boolean)

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

func (t Float16) ToInt8() Int8

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

func (t Float16) ToInt8Checked() (Int8, Boolean)

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

func (t Float16) ToString() String

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

func (t Float16) ToStringChecked() (String, Boolean)

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

func (t Float16) ToTime32() Time32

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

func (t Float16) ToTime32Checked() (Time32, Boolean)

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

func (t Float16) ToTime64() Time64

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

func (t Float16) ToTime64Checked() (Time64, Boolean)

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

func (t Float16) ToTimestamp() Timestamp

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

func (t Float16) ToTimestampChecked() (Timestamp, Boolean)

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

func (t Float16) ToUint16() Uint16

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

func (t Float16) ToUint16Checked() (Uint16, Boolean)

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

func (t Float16) ToUint32() Uint32

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

func (t Float16) ToUint32Checked() (Uint32, Boolean)

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

func (t Float16) ToUint64() Uint64

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

func (t Float16) ToUint64Checked() (Uint64, Boolean)

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

func (t Float16) ToUint8() Uint8

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

func (t Float16) ToUint8Checked() (Uint8, Boolean)

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.

func (Float16) Uint16

func (e Float16) Uint16() uint16

func (Float16) Value

func (e Float16) Value() float16.Num

Value returns the underlying value in it's native type.

type Float32

type Float32 float32

Float32 has logic to apply to this type.

func CastToFloat32

func CastToFloat32(v interface{}) (Float32, bool)

CastToFloat32 takes an interface{} type or any Object type and attempts to convert it to the Float32 Object type.

func NewFloat32

func NewFloat32(v float32) Float32

NewFloat32 creates a new Float32 object from the given value provided as v.

func (Float32) Eq

func (e Float32) Eq(r Object) (Boolean, error)

Eq returns true if the left Float32 is equal to the right Float32.

func (Float32) Greater

func (e Float32) Greater(r Object) (Boolean, error)

Greater returns true if the left Float32 is greter than the right Float32.

func (Float32) GreaterEq

func (e Float32) GreaterEq(r Object) (Boolean, error)

GreaterEq returns true if the left Float32 is greter than or equal to the right Float32.

func (Float32) Less

func (e Float32) Less(r Object) (Boolean, error)

Less returns true if the left Float32 is less than the right Float32.

func (Float32) LessEq

func (e Float32) LessEq(r Object) (Boolean, error)

LessEq returns true if the left Float32 is less than or equal to the right Float32.

func (Float32) Neq

func (e Float32) Neq(r Object) (Boolean, error)

Neq returns true if the left Float32 is not equal to the right Float32.

func (Float32) ToBoolean

func (t Float32) ToBoolean() Boolean

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

func (t Float32) ToBooleanChecked() (Boolean, Boolean)

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

func (t Float32) ToDate32() Date32

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

func (t Float32) ToDate32Checked() (Date32, Boolean)

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

func (t Float32) ToDate64() Date64

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

func (t Float32) ToDate64Checked() (Date64, Boolean)

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

func (t Float32) ToFloat16() Float16

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

func (t Float32) ToFloat16Checked() (Float16, Boolean)

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

func (t Float32) ToFloat32() Float32

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

func (t Float32) ToFloat32Checked() (Float32, Boolean)

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

func (t Float32) ToFloat64() Float64

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

func (t Float32) ToFloat64Checked() (Float64, Boolean)

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

func (t Float32) ToInt16() Int16

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

func (t Float32) ToInt16Checked() (Int16, Boolean)

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

func (t Float32) ToInt32() Int32

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

func (t Float32) ToInt32Checked() (Int32, Boolean)

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

func (t Float32) ToInt64() Int64

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

func (t Float32) ToInt64Checked() (Int64, Boolean)

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

func (t Float32) ToInt8() Int8

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

func (t Float32) ToInt8Checked() (Int8, Boolean)

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

func (t Float32) ToString() String

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

func (t Float32) ToStringChecked() (String, Boolean)

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

func (t Float32) ToTime32() Time32

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

func (t Float32) ToTime32Checked() (Time32, Boolean)

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

func (t Float32) ToTime64() Time64

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

func (t Float32) ToTime64Checked() (Time64, Boolean)

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

func (t Float32) ToTimestamp() Timestamp

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

func (t Float32) ToTimestampChecked() (Timestamp, Boolean)

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

func (t Float32) ToUint16() Uint16

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

func (t Float32) ToUint16Checked() (Uint16, Boolean)

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

func (t Float32) ToUint32() Uint32

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

func (t Float32) ToUint32Checked() (Uint32, Boolean)

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

func (t Float32) ToUint64() Uint64

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

func (t Float32) ToUint64Checked() (Uint64, Boolean)

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

func (t Float32) ToUint8() Uint8

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

func (t Float32) ToUint8Checked() (Uint8, Boolean)

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.

func (Float32) Value

func (e Float32) Value() float32

Value returns the underlying value in it's native type.

type Float64

type Float64 float64

Float64 has logic to apply to this type.

func CastToFloat64

func CastToFloat64(v interface{}) (Float64, bool)

CastToFloat64 takes an interface{} type or any Object type and attempts to convert it to the Float64 Object type.

func NewFloat64

func NewFloat64(v float64) Float64

NewFloat64 creates a new Float64 object from the given value provided as v.

func (Float64) Eq

func (e Float64) Eq(r Object) (Boolean, error)

Eq returns true if the left Float64 is equal to the right Float64.

func (Float64) Greater

func (e Float64) Greater(r Object) (Boolean, error)

Greater returns true if the left Float64 is greter than the right Float64.

func (Float64) GreaterEq

func (e Float64) GreaterEq(r Object) (Boolean, error)

GreaterEq returns true if the left Float64 is greter than or equal to the right Float64.

func (Float64) Less

func (e Float64) Less(r Object) (Boolean, error)

Less returns true if the left Float64 is less than the right Float64.

func (Float64) LessEq

func (e Float64) LessEq(r Object) (Boolean, error)

LessEq returns true if the left Float64 is less than or equal to the right Float64.

func (Float64) Neq

func (e Float64) Neq(r Object) (Boolean, error)

Neq returns true if the left Float64 is not equal to the right Float64.

func (Float64) ToBoolean

func (t Float64) ToBoolean() Boolean

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

func (t Float64) ToBooleanChecked() (Boolean, Boolean)

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

func (t Float64) ToDate32() Date32

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

func (t Float64) ToDate32Checked() (Date32, Boolean)

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

func (t Float64) ToDate64() Date64

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

func (t Float64) ToDate64Checked() (Date64, Boolean)

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

func (t Float64) ToFloat32() Float32

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

func (t Float64) ToFloat32Checked() (Float32, Boolean)

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

func (t Float64) ToFloat64() Float64

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

func (t Float64) ToFloat64Checked() (Float64, Boolean)

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

func (t Float64) ToInt16() Int16

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

func (t Float64) ToInt16Checked() (Int16, Boolean)

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

func (t Float64) ToInt32() Int32

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

func (t Float64) ToInt32Checked() (Int32, Boolean)

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

func (t Float64) ToInt64() Int64

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

func (t Float64) ToInt64Checked() (Int64, Boolean)

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

func (t Float64) ToInt8() Int8

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

func (t Float64) ToInt8Checked() (Int8, Boolean)

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

func (t Float64) ToString() String

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

func (t Float64) ToStringChecked() (String, Boolean)

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

func (t Float64) ToTime32() Time32

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

func (t Float64) ToTime32Checked() (Time32, Boolean)

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

func (t Float64) ToTime64() Time64

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

func (t Float64) ToTime64Checked() (Time64, Boolean)

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

func (t Float64) ToTimestamp() Timestamp

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

func (t Float64) ToTimestampChecked() (Timestamp, Boolean)

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

func (t Float64) ToUint16() Uint16

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

func (t Float64) ToUint16Checked() (Uint16, Boolean)

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

func (t Float64) ToUint32() Uint32

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

func (t Float64) ToUint32Checked() (Uint32, Boolean)

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

func (t Float64) ToUint64() Uint64

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

func (t Float64) ToUint64Checked() (Uint64, Boolean)

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

func (t Float64) ToUint8() Uint8

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

func (t Float64) ToUint8Checked() (Uint8, Boolean)

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

func (Float64) Value

func (e Float64) Value() float64

Value returns the underlying value in it's native type.

type Int16

type Int16 int16

Int16 has logic to apply to this type.

func CastToInt16

func CastToInt16(v interface{}) (Int16, bool)

CastToInt16 takes an interface{} type or any Object type and attempts to convert it to the Int16 Object type.

func NewInt16

func NewInt16(v int16) Int16

NewInt16 creates a new Int16 object from the given value provided as v.

func (Int16) Eq

func (e Int16) Eq(r Object) (Boolean, error)

Eq returns true if the left Int16 is equal to the right Int16.

func (Int16) Greater

func (e Int16) Greater(r Object) (Boolean, error)

Greater returns true if the left Int16 is greter than the right Int16.

func (Int16) GreaterEq

func (e Int16) GreaterEq(r Object) (Boolean, error)

GreaterEq returns true if the left Int16 is greter than or equal to the right Int16.

func (Int16) Less

func (e Int16) Less(r Object) (Boolean, error)

Less returns true if the left Int16 is less than the right Int16.

func (Int16) LessEq

func (e Int16) LessEq(r Object) (Boolean, error)

LessEq returns true if the left Int16 is less than or equal to the right Int16.

func (Int16) Neq

func (e Int16) Neq(r Object) (Boolean, error)

Neq returns true if the left Int16 is not equal to the right Int16.

func (Int16) ToBoolean

func (t Int16) ToBoolean() Boolean

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

func (t Int16) ToBooleanChecked() (Boolean, Boolean)

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

func (t Int16) ToDate32() Date32

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

func (t Int16) ToDate32Checked() (Date32, Boolean)

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

func (t Int16) ToDate64() Date64

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

func (t Int16) ToDate64Checked() (Date64, Boolean)

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

func (t Int16) ToFloat32() Float32

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

func (t Int16) ToFloat32Checked() (Float32, Boolean)

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

func (t Int16) ToFloat64() Float64

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

func (t Int16) ToFloat64Checked() (Float64, Boolean)

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

func (t Int16) ToInt16() Int16

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

func (t Int16) ToInt16Checked() (Int16, Boolean)

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

func (t Int16) ToInt32() Int32

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

func (t Int16) ToInt32Checked() (Int32, Boolean)

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

func (t Int16) ToInt64() Int64

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

func (t Int16) ToInt64Checked() (Int64, Boolean)

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

func (t Int16) ToInt8() Int8

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

func (t Int16) ToInt8Checked() (Int8, Boolean)

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

func (t Int16) ToString() String

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

func (t Int16) ToStringChecked() (String, Boolean)

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

func (t Int16) ToTime32() Time32

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

func (t Int16) ToTime32Checked() (Time32, Boolean)

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

func (t Int16) ToTime64() Time64

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

func (t Int16) ToTime64Checked() (Time64, Boolean)

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

func (t Int16) ToTimestamp() Timestamp

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

func (t Int16) ToTimestampChecked() (Timestamp, Boolean)

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

func (t Int16) ToUint16() Uint16

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

func (t Int16) ToUint16Checked() (Uint16, Boolean)

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

func (t Int16) ToUint32() Uint32

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

func (t Int16) ToUint32Checked() (Uint32, Boolean)

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

func (t Int16) ToUint64() Uint64

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

func (t Int16) ToUint64Checked() (Uint64, Boolean)

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

func (t Int16) ToUint8() Uint8

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

func (t Int16) ToUint8Checked() (Uint8, Boolean)

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.

func (Int16) Value

func (e Int16) Value() int16

Value returns the underlying value in it's native type.

type Int32

type Int32 int32

Int32 has logic to apply to this type.

func CastToInt32

func CastToInt32(v interface{}) (Int32, bool)

CastToInt32 takes an interface{} type or any Object type and attempts to convert it to the Int32 Object type.

func NewInt32

func NewInt32(v int32) Int32

NewInt32 creates a new Int32 object from the given value provided as v.

func (Int32) Eq

func (e Int32) Eq(r Object) (Boolean, error)

Eq returns true if the left Int32 is equal to the right Int32.

func (Int32) Greater

func (e Int32) Greater(r Object) (Boolean, error)

Greater returns true if the left Int32 is greter than the right Int32.

func (Int32) GreaterEq

func (e Int32) GreaterEq(r Object) (Boolean, error)

GreaterEq returns true if the left Int32 is greter than or equal to the right Int32.

func (Int32) Less

func (e Int32) Less(r Object) (Boolean, error)

Less returns true if the left Int32 is less than the right Int32.

func (Int32) LessEq

func (e Int32) LessEq(r Object) (Boolean, error)

LessEq returns true if the left Int32 is less than or equal to the right Int32.

func (Int32) Neq

func (e Int32) Neq(r Object) (Boolean, error)

Neq returns true if the left Int32 is not equal to the right Int32.

func (Int32) ToBoolean

func (t Int32) ToBoolean() Boolean

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

func (t Int32) ToBooleanChecked() (Boolean, Boolean)

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

func (t Int32) ToDate32() Date32

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

func (t Int32) ToDate32Checked() (Date32, Boolean)

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

func (t Int32) ToDate64() Date64

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

func (t Int32) ToDate64Checked() (Date64, Boolean)

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

func (t Int32) ToFloat32() Float32

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

func (t Int32) ToFloat32Checked() (Float32, Boolean)

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

func (t Int32) ToFloat64() Float64

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

func (t Int32) ToFloat64Checked() (Float64, Boolean)

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

func (t Int32) ToInt16() Int16

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

func (t Int32) ToInt16Checked() (Int16, Boolean)

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

func (t Int32) ToInt32() Int32

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

func (t Int32) ToInt32Checked() (Int32, Boolean)

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

func (t Int32) ToInt64() Int64

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

func (t Int32) ToInt64Checked() (Int64, Boolean)

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

func (t Int32) ToInt8() Int8

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

func (t Int32) ToInt8Checked() (Int8, Boolean)

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

func (t Int32) ToString() String

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

func (t Int32) ToStringChecked() (String, Boolean)

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

func (t Int32) ToTime32() Time32

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

func (t Int32) ToTime32Checked() (Time32, Boolean)

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

func (t Int32) ToTime64() Time64

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

func (t Int32) ToTime64Checked() (Time64, Boolean)

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

func (t Int32) ToTimestamp() Timestamp

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

func (t Int32) ToTimestampChecked() (Timestamp, Boolean)

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

func (t Int32) ToUint16() Uint16

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

func (t Int32) ToUint16Checked() (Uint16, Boolean)

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

func (t Int32) ToUint32() Uint32

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

func (t Int32) ToUint32Checked() (Uint32, Boolean)

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

func (t Int32) ToUint64() Uint64

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

func (t Int32) ToUint64Checked() (Uint64, Boolean)

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

func (t Int32) ToUint8() Uint8

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

func (t Int32) ToUint8Checked() (Uint8, Boolean)

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.

func (Int32) Value

func (e Int32) Value() int32

Value returns the underlying value in it's native type.

type Int64

type Int64 int64

Int64 has logic to apply to this type.

func CastToInt64

func CastToInt64(v interface{}) (Int64, bool)

CastToInt64 takes an interface{} type or any Object type and attempts to convert it to the Int64 Object type.

func NewInt64

func NewInt64(v int64) Int64

NewInt64 creates a new Int64 object from the given value provided as v.

func (Int64) Eq

func (e Int64) Eq(r Object) (Boolean, error)

Eq returns true if the left Int64 is equal to the right Int64.

func (Int64) Greater

func (e Int64) Greater(r Object) (Boolean, error)

Greater returns true if the left Int64 is greter than the right Int64.

func (Int64) GreaterEq

func (e Int64) GreaterEq(r Object) (Boolean, error)

GreaterEq returns true if the left Int64 is greter than or equal to the right Int64.

func (Int64) Less

func (e Int64) Less(r Object) (Boolean, error)

Less returns true if the left Int64 is less than the right Int64.

func (Int64) LessEq

func (e Int64) LessEq(r Object) (Boolean, error)

LessEq returns true if the left Int64 is less than or equal to the right Int64.

func (Int64) Neq

func (e Int64) Neq(r Object) (Boolean, error)

Neq returns true if the left Int64 is not equal to the right Int64.

func (Int64) ToBoolean

func (t Int64) ToBoolean() Boolean

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

func (t Int64) ToBooleanChecked() (Boolean, Boolean)

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

func (t Int64) ToDate32() Date32

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

func (t Int64) ToDate32Checked() (Date32, Boolean)

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

func (t Int64) ToDate64() Date64

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

func (t Int64) ToDate64Checked() (Date64, Boolean)

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

func (t Int64) ToDuration() Duration

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

func (t Int64) ToDurationChecked() (Duration, Boolean)

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

func (t Int64) ToFloat32() Float32

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

func (t Int64) ToFloat32Checked() (Float32, Boolean)

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

func (t Int64) ToFloat64() Float64

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

func (t Int64) ToFloat64Checked() (Float64, Boolean)

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

func (t Int64) ToInt16() Int16

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

func (t Int64) ToInt16Checked() (Int16, Boolean)

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

func (t Int64) ToInt32() Int32

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

func (t Int64) ToInt32Checked() (Int32, Boolean)

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

func (t Int64) ToInt64() Int64

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

func (t Int64) ToInt64Checked() (Int64, Boolean)

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

func (t Int64) ToInt8() Int8

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

func (t Int64) ToInt8Checked() (Int8, Boolean)

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

func (t Int64) ToString() String

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

func (t Int64) ToStringChecked() (String, Boolean)

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

func (t Int64) ToTime32() Time32

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

func (t Int64) ToTime32Checked() (Time32, Boolean)

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

func (t Int64) ToTime64() Time64

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

func (t Int64) ToTime64Checked() (Time64, Boolean)

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

func (t Int64) ToTimestamp() Timestamp

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

func (t Int64) ToTimestampChecked() (Timestamp, Boolean)

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

func (t Int64) ToUint16() Uint16

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

func (t Int64) ToUint16Checked() (Uint16, Boolean)

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

func (t Int64) ToUint32() Uint32

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

func (t Int64) ToUint32Checked() (Uint32, Boolean)

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

func (t Int64) ToUint64() Uint64

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

func (t Int64) ToUint64Checked() (Uint64, Boolean)

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

func (t Int64) ToUint8() Uint8

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

func (t Int64) ToUint8Checked() (Uint8, Boolean)

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.

func (Int64) Value

func (e Int64) Value() int64

Value returns the underlying value in it's native type.

type Int8

type Int8 int8

Int8 has logic to apply to this type.

func CastToInt8

func CastToInt8(v interface{}) (Int8, bool)

CastToInt8 takes an interface{} type or any Object type and attempts to convert it to the Int8 Object type.

func NewInt8

func NewInt8(v int8) Int8

NewInt8 creates a new Int8 object from the given value provided as v.

func (Int8) Eq

func (e Int8) Eq(r Object) (Boolean, error)

Eq returns true if the left Int8 is equal to the right Int8.

func (Int8) Greater

func (e Int8) Greater(r Object) (Boolean, error)

Greater returns true if the left Int8 is greter than the right Int8.

func (Int8) GreaterEq

func (e Int8) GreaterEq(r Object) (Boolean, error)

GreaterEq returns true if the left Int8 is greter than or equal to the right Int8.

func (Int8) Less

func (e Int8) Less(r Object) (Boolean, error)

Less returns true if the left Int8 is less than the right Int8.

func (Int8) LessEq

func (e Int8) LessEq(r Object) (Boolean, error)

LessEq returns true if the left Int8 is less than or equal to the right Int8.

func (Int8) Neq

func (e Int8) Neq(r Object) (Boolean, error)

Neq returns true if the left Int8 is not equal to the right Int8.

func (Int8) ToBoolean

func (t Int8) ToBoolean() Boolean

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

func (t Int8) ToBooleanChecked() (Boolean, Boolean)

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

func (t Int8) ToDate32() Date32

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

func (t Int8) ToDate32Checked() (Date32, Boolean)

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

func (t Int8) ToDate64() Date64

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

func (t Int8) ToDate64Checked() (Date64, Boolean)

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

func (t Int8) ToFloat32() Float32

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

func (t Int8) ToFloat32Checked() (Float32, Boolean)

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

func (t Int8) ToFloat64() Float64

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

func (t Int8) ToFloat64Checked() (Float64, Boolean)

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

func (t Int8) ToInt16() Int16

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

func (t Int8) ToInt16Checked() (Int16, Boolean)

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

func (t Int8) ToInt32() Int32

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

func (t Int8) ToInt32Checked() (Int32, Boolean)

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

func (t Int8) ToInt64() Int64

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

func (t Int8) ToInt64Checked() (Int64, Boolean)

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

func (t Int8) ToInt8() Int8

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

func (t Int8) ToInt8Checked() (Int8, Boolean)

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

func (t Int8) ToString() String

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

func (t Int8) ToStringChecked() (String, Boolean)

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

func (t Int8) ToTime32() Time32

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

func (t Int8) ToTime32Checked() (Time32, Boolean)

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

func (t Int8) ToTime64() Time64

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

func (t Int8) ToTime64Checked() (Time64, Boolean)

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

func (t Int8) ToTimestamp() Timestamp

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

func (t Int8) ToTimestampChecked() (Timestamp, Boolean)

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

func (t Int8) ToUint16() Uint16

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

func (t Int8) ToUint16Checked() (Uint16, Boolean)

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

func (t Int8) ToUint32() Uint32

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

func (t Int8) ToUint32Checked() (Uint32, Boolean)

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

func (t Int8) ToUint64() Uint64

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

func (t Int8) ToUint64Checked() (Uint64, Boolean)

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

func (t Int8) ToUint8() Uint8

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

func (t Int8) ToUint8Checked() (Uint8, Boolean)

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.

func (Int8) Value

func (e Int8) Value() int8

Value returns the underlying value in it's native type.

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

func CastToNull(v interface{}) (Null, bool)

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

func (e Null) Eq(r Object) (Boolean, error)

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) Greater

func (e Null) Greater(r Object) (Boolean, error)

Greater returns true if the left Null is greter than the right Null.

func (Null) GreaterEq

func (e Null) GreaterEq(r Object) (Boolean, error)

GreaterEq returns true if the left Null is greter than or equal to the right Null.

func (Null) Less

func (e Null) Less(r Object) (Boolean, error)

Less returns true if the left Null is less than the right Null.

func (Null) LessEq

func (e Null) LessEq(r Object) (Boolean, error)

LessEq returns true if the left Null is less than or equal to the right Null.

func (Null) Neq

func (e Null) Neq(r Object) (Boolean, error)

Neq returns true if the left Null is not equal to the right Null.

func (Null) String

func (e Null) String() string

String prints the value of this element as a string.

func (Null) ToBoolean

func (e Null) ToBoolean() Boolean

ToBoolean always returns false for the Null type.

func (Null) Value

func (e Null) Value() interface{}

Value returns the underlying value in it's native type.

type Object

type Object interface {
	Comparable
}

type String

type String string

String has logic to apply to this type.

func CastToString

func CastToString(v interface{}) (String, bool)

CastToString takes an interface{} type or any Object type and attempts to convert it to the String Object type.

func NewString

func NewString(v string) String

NewString creates a new String object from the given value provided as v.

func (String) Eq

func (e String) Eq(r Object) (Boolean, error)

Eq returns true if the left String is equal to the right String.

func (String) Greater

func (e String) Greater(r Object) (Boolean, error)

Greater returns true if the left String is greter than the right String.

func (String) GreaterEq

func (e String) GreaterEq(r Object) (Boolean, error)

GreaterEq returns true if the left String is greter than or equal to the right String.

func (String) Less

func (e String) Less(r Object) (Boolean, error)

Less returns true if the left String is less than the right String.

func (String) LessEq

func (e String) LessEq(r Object) (Boolean, error)

LessEq returns true if the left String is less than or equal to the right String.

func (String) Neq

func (e String) Neq(r Object) (Boolean, error)

Neq returns true if the left String is not equal to the right String.

func (String) ToBoolean

func (t String) ToBoolean() Boolean

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

func (t String) ToBooleanChecked() (Boolean, Boolean)

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

func (t String) ToString() String

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

func (t String) ToStringChecked() (String, Boolean)

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.

func (String) Value

func (e String) Value() string

Value returns the underlying value in it's native type.

type Time32

type Time32 arrow.Time32

Time32 has logic to apply to this type.

func CastToTime32

func CastToTime32(v interface{}) (Time32, bool)

CastToTime32 takes an interface{} type or any Object type and attempts to convert it to the Time32 Object type.

func NewTime32

func NewTime32(v arrow.Time32) Time32

NewTime32 creates a new Time32 object from the given value provided as v.

func (Time32) Eq

func (e Time32) Eq(r Object) (Boolean, error)

Eq returns true if the left Time32 is equal to the right Time32.

func (Time32) Greater

func (e Time32) Greater(r Object) (Boolean, error)

Greater returns true if the left Time32 is greter than the right Time32.

func (Time32) GreaterEq

func (e Time32) GreaterEq(r Object) (Boolean, error)

GreaterEq returns true if the left Time32 is greter than or equal to the right Time32.

func (Time32) Less

func (e Time32) Less(r Object) (Boolean, error)

Less returns true if the left Time32 is less than the right Time32.

func (Time32) LessEq

func (e Time32) LessEq(r Object) (Boolean, error)

LessEq returns true if the left Time32 is less than or equal to the right Time32.

func (Time32) Neq

func (e Time32) Neq(r Object) (Boolean, error)

Neq returns true if the left Time32 is not equal to the right Time32.

func (Time32) ToBoolean

func (t Time32) ToBoolean() Boolean

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

func (t Time32) ToBooleanChecked() (Boolean, Boolean)

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

func (t Time32) ToDate32() Date32

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

func (t Time32) ToDate32Checked() (Date32, Boolean)

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

func (t Time32) ToDate64() Date64

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

func (t Time32) ToDate64Checked() (Date64, Boolean)

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

func (t Time32) ToFloat32() Float32

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

func (t Time32) ToFloat32Checked() (Float32, Boolean)

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

func (t Time32) ToFloat64() Float64

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

func (t Time32) ToFloat64Checked() (Float64, Boolean)

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

func (t Time32) ToInt16() Int16

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

func (t Time32) ToInt16Checked() (Int16, Boolean)

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

func (t Time32) ToInt32() Int32

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

func (t Time32) ToInt32Checked() (Int32, Boolean)

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

func (t Time32) ToInt64() Int64

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

func (t Time32) ToInt64Checked() (Int64, Boolean)

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

func (t Time32) ToInt8() Int8

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

func (t Time32) ToInt8Checked() (Int8, Boolean)

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

func (t Time32) ToString() String

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

func (t Time32) ToStringChecked() (String, Boolean)

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

func (t Time32) ToTime32() Time32

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

func (t Time32) ToTime32Checked() (Time32, Boolean)

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

func (t Time32) ToTime64() Time64

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

func (t Time32) ToTime64Checked() (Time64, Boolean)

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

func (t Time32) ToTimestamp() Timestamp

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

func (t Time32) ToTimestampChecked() (Timestamp, Boolean)

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

func (t Time32) ToUint16() Uint16

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

func (t Time32) ToUint16Checked() (Uint16, Boolean)

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

func (t Time32) ToUint32() Uint32

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

func (t Time32) ToUint32Checked() (Uint32, Boolean)

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

func (t Time32) ToUint64() Uint64

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

func (t Time32) ToUint64Checked() (Uint64, Boolean)

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

func (t Time32) ToUint8() Uint8

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

func (t Time32) ToUint8Checked() (Uint8, Boolean)

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.

func (Time32) Value

func (e Time32) Value() arrow.Time32

Value returns the underlying value in it's native type.

type Time64

type Time64 arrow.Time64

Time64 has logic to apply to this type.

func CastToTime64

func CastToTime64(v interface{}) (Time64, bool)

CastToTime64 takes an interface{} type or any Object type and attempts to convert it to the Time64 Object type.

func NewTime64

func NewTime64(v arrow.Time64) Time64

NewTime64 creates a new Time64 object from the given value provided as v.

func (Time64) Eq

func (e Time64) Eq(r Object) (Boolean, error)

Eq returns true if the left Time64 is equal to the right Time64.

func (Time64) Greater

func (e Time64) Greater(r Object) (Boolean, error)

Greater returns true if the left Time64 is greter than the right Time64.

func (Time64) GreaterEq

func (e Time64) GreaterEq(r Object) (Boolean, error)

GreaterEq returns true if the left Time64 is greter than or equal to the right Time64.

func (Time64) Less

func (e Time64) Less(r Object) (Boolean, error)

Less returns true if the left Time64 is less than the right Time64.

func (Time64) LessEq

func (e Time64) LessEq(r Object) (Boolean, error)

LessEq returns true if the left Time64 is less than or equal to the right Time64.

func (Time64) Neq

func (e Time64) Neq(r Object) (Boolean, error)

Neq returns true if the left Time64 is not equal to the right Time64.

func (Time64) ToBoolean

func (t Time64) ToBoolean() Boolean

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

func (t Time64) ToBooleanChecked() (Boolean, Boolean)

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

func (t Time64) ToDate32() Date32

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

func (t Time64) ToDate32Checked() (Date32, Boolean)

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

func (t Time64) ToDate64() Date64

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

func (t Time64) ToDate64Checked() (Date64, Boolean)

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

func (t Time64) ToFloat32() Float32

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

func (t Time64) ToFloat32Checked() (Float32, Boolean)

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

func (t Time64) ToFloat64() Float64

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

func (t Time64) ToFloat64Checked() (Float64, Boolean)

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

func (t Time64) ToInt16() Int16

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

func (t Time64) ToInt16Checked() (Int16, Boolean)

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

func (t Time64) ToInt32() Int32

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

func (t Time64) ToInt32Checked() (Int32, Boolean)

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

func (t Time64) ToInt64() Int64

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

func (t Time64) ToInt64Checked() (Int64, Boolean)

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

func (t Time64) ToInt8() Int8

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

func (t Time64) ToInt8Checked() (Int8, Boolean)

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

func (t Time64) ToString() String

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

func (t Time64) ToStringChecked() (String, Boolean)

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

func (t Time64) ToTime32() Time32

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

func (t Time64) ToTime32Checked() (Time32, Boolean)

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

func (t Time64) ToTime64() Time64

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

func (t Time64) ToTime64Checked() (Time64, Boolean)

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

func (t Time64) ToTimestamp() Timestamp

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

func (t Time64) ToTimestampChecked() (Timestamp, Boolean)

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

func (t Time64) ToUint16() Uint16

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

func (t Time64) ToUint16Checked() (Uint16, Boolean)

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

func (t Time64) ToUint32() Uint32

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

func (t Time64) ToUint32Checked() (Uint32, Boolean)

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

func (t Time64) ToUint64() Uint64

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

func (t Time64) ToUint64Checked() (Uint64, Boolean)

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

func (t Time64) ToUint8() Uint8

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

func (t Time64) ToUint8Checked() (Uint8, Boolean)

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.

func (Time64) Value

func (e Time64) Value() arrow.Time64

Value returns the underlying value in it's native type.

type Timestamp

type Timestamp arrow.Timestamp

Timestamp has logic to apply to this type.

func CastToTimestamp

func CastToTimestamp(v interface{}) (Timestamp, bool)

CastToTimestamp takes an interface{} type or any Object type and attempts to convert it to the Timestamp Object type.

func NewTimestamp

func NewTimestamp(v arrow.Timestamp) Timestamp

NewTimestamp creates a new Timestamp object from the given value provided as v.

func (Timestamp) Eq

func (e Timestamp) Eq(r Object) (Boolean, error)

Eq returns true if the left Timestamp is equal to the right Timestamp.

func (Timestamp) Greater

func (e Timestamp) Greater(r Object) (Boolean, error)

Greater returns true if the left Timestamp is greter than the right Timestamp.

func (Timestamp) GreaterEq

func (e Timestamp) GreaterEq(r Object) (Boolean, error)

GreaterEq returns true if the left Timestamp is greter than or equal to the right Timestamp.

func (Timestamp) Less

func (e Timestamp) Less(r Object) (Boolean, error)

Less returns true if the left Timestamp is less than the right Timestamp.

func (Timestamp) LessEq

func (e Timestamp) LessEq(r Object) (Boolean, error)

LessEq returns true if the left Timestamp is less than or equal to the right Timestamp.

func (Timestamp) Neq

func (e Timestamp) Neq(r Object) (Boolean, error)

Neq returns true if the left Timestamp is not equal to the right Timestamp.

func (Timestamp) ToBoolean

func (t Timestamp) ToBoolean() Boolean

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

func (t Timestamp) ToBooleanChecked() (Boolean, Boolean)

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

func (t Timestamp) ToDate32() Date32

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

func (t Timestamp) ToDate32Checked() (Date32, Boolean)

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

func (t Timestamp) ToDate64() Date64

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

func (t Timestamp) ToDate64Checked() (Date64, Boolean)

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

func (t Timestamp) ToFloat32() Float32

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

func (t Timestamp) ToFloat32Checked() (Float32, Boolean)

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

func (t Timestamp) ToFloat64() Float64

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

func (t Timestamp) ToFloat64Checked() (Float64, Boolean)

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

func (t Timestamp) ToInt16() Int16

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

func (t Timestamp) ToInt16Checked() (Int16, Boolean)

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

func (t Timestamp) ToInt32() Int32

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

func (t Timestamp) ToInt32Checked() (Int32, Boolean)

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

func (t Timestamp) ToInt64() Int64

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

func (t Timestamp) ToInt64Checked() (Int64, Boolean)

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

func (t Timestamp) ToInt8() Int8

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

func (t Timestamp) ToInt8Checked() (Int8, Boolean)

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

func (t Timestamp) ToString() String

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

func (t Timestamp) ToStringChecked() (String, Boolean)

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

func (t Timestamp) ToTime32() Time32

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

func (t Timestamp) ToTime32Checked() (Time32, Boolean)

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

func (t Timestamp) ToTime64() Time64

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

func (t Timestamp) ToTime64Checked() (Time64, Boolean)

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

func (t Timestamp) ToTimestamp() Timestamp

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

func (t Timestamp) ToTimestampChecked() (Timestamp, Boolean)

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

func (t Timestamp) ToUint16() Uint16

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

func (t Timestamp) ToUint16Checked() (Uint16, Boolean)

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

func (t Timestamp) ToUint32() Uint32

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

func (t Timestamp) ToUint32Checked() (Uint32, Boolean)

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

func (t Timestamp) ToUint64() Uint64

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

func (t Timestamp) ToUint64Checked() (Uint64, Boolean)

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

func (t Timestamp) ToUint8() Uint8

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

func (t Timestamp) ToUint8Checked() (Uint8, Boolean)

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.

func (Timestamp) Value

func (e Timestamp) Value() arrow.Timestamp

Value returns the underlying value in it's native type.

type Uint16

type Uint16 uint16

Uint16 has logic to apply to this type.

func CastToUint16

func CastToUint16(v interface{}) (Uint16, bool)

CastToUint16 takes an interface{} type or any Object type and attempts to convert it to the Uint16 Object type.

func NewUint16

func NewUint16(v uint16) Uint16

NewUint16 creates a new Uint16 object from the given value provided as v.

func (Uint16) Eq

func (e Uint16) Eq(r Object) (Boolean, error)

Eq returns true if the left Uint16 is equal to the right Uint16.

func (Uint16) Greater

func (e Uint16) Greater(r Object) (Boolean, error)

Greater returns true if the left Uint16 is greter than the right Uint16.

func (Uint16) GreaterEq

func (e Uint16) GreaterEq(r Object) (Boolean, error)

GreaterEq returns true if the left Uint16 is greter than or equal to the right Uint16.

func (Uint16) Less

func (e Uint16) Less(r Object) (Boolean, error)

Less returns true if the left Uint16 is less than the right Uint16.

func (Uint16) LessEq

func (e Uint16) LessEq(r Object) (Boolean, error)

LessEq returns true if the left Uint16 is less than or equal to the right Uint16.

func (Uint16) Neq

func (e Uint16) Neq(r Object) (Boolean, error)

Neq returns true if the left Uint16 is not equal to the right Uint16.

func (Uint16) ToBoolean

func (t Uint16) ToBoolean() Boolean

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

func (t Uint16) ToBooleanChecked() (Boolean, Boolean)

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

func (t Uint16) ToDate32() Date32

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

func (t Uint16) ToDate32Checked() (Date32, Boolean)

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

func (t Uint16) ToDate64() Date64

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

func (t Uint16) ToDate64Checked() (Date64, Boolean)

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

func (t Uint16) ToFloat32() Float32

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

func (t Uint16) ToFloat32Checked() (Float32, Boolean)

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

func (t Uint16) ToFloat64() Float64

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

func (t Uint16) ToFloat64Checked() (Float64, Boolean)

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

func (t Uint16) ToInt16() Int16

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

func (t Uint16) ToInt16Checked() (Int16, Boolean)

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

func (t Uint16) ToInt32() Int32

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

func (t Uint16) ToInt32Checked() (Int32, Boolean)

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

func (t Uint16) ToInt64() Int64

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

func (t Uint16) ToInt64Checked() (Int64, Boolean)

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

func (t Uint16) ToInt8() Int8

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

func (t Uint16) ToInt8Checked() (Int8, Boolean)

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

func (t Uint16) ToString() String

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

func (t Uint16) ToStringChecked() (String, Boolean)

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

func (t Uint16) ToTime32() Time32

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

func (t Uint16) ToTime32Checked() (Time32, Boolean)

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

func (t Uint16) ToTime64() Time64

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

func (t Uint16) ToTime64Checked() (Time64, Boolean)

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

func (t Uint16) ToTimestamp() Timestamp

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

func (t Uint16) ToTimestampChecked() (Timestamp, Boolean)

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

func (t Uint16) ToUint16() Uint16

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

func (t Uint16) ToUint16Checked() (Uint16, Boolean)

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

func (t Uint16) ToUint32() Uint32

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

func (t Uint16) ToUint32Checked() (Uint32, Boolean)

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

func (t Uint16) ToUint64() Uint64

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

func (t Uint16) ToUint64Checked() (Uint64, Boolean)

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

func (t Uint16) ToUint8() Uint8

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

func (t Uint16) ToUint8Checked() (Uint8, Boolean)

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.

func (Uint16) Value

func (e Uint16) Value() uint16

Value returns the underlying value in it's native type.

type Uint32

type Uint32 uint32

Uint32 has logic to apply to this type.

func CastToUint32

func CastToUint32(v interface{}) (Uint32, bool)

CastToUint32 takes an interface{} type or any Object type and attempts to convert it to the Uint32 Object type.

func NewUint32

func NewUint32(v uint32) Uint32

NewUint32 creates a new Uint32 object from the given value provided as v.

func (Uint32) Eq

func (e Uint32) Eq(r Object) (Boolean, error)

Eq returns true if the left Uint32 is equal to the right Uint32.

func (Uint32) Greater

func (e Uint32) Greater(r Object) (Boolean, error)

Greater returns true if the left Uint32 is greter than the right Uint32.

func (Uint32) GreaterEq

func (e Uint32) GreaterEq(r Object) (Boolean, error)

GreaterEq returns true if the left Uint32 is greter than or equal to the right Uint32.

func (Uint32) Less

func (e Uint32) Less(r Object) (Boolean, error)

Less returns true if the left Uint32 is less than the right Uint32.

func (Uint32) LessEq

func (e Uint32) LessEq(r Object) (Boolean, error)

LessEq returns true if the left Uint32 is less than or equal to the right Uint32.

func (Uint32) Neq

func (e Uint32) Neq(r Object) (Boolean, error)

Neq returns true if the left Uint32 is not equal to the right Uint32.

func (Uint32) ToBoolean

func (t Uint32) ToBoolean() Boolean

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

func (t Uint32) ToBooleanChecked() (Boolean, Boolean)

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

func (t Uint32) ToDate32() Date32

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

func (t Uint32) ToDate32Checked() (Date32, Boolean)

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

func (t Uint32) ToDate64() Date64

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

func (t Uint32) ToDate64Checked() (Date64, Boolean)

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

func (t Uint32) ToFloat32() Float32

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

func (t Uint32) ToFloat32Checked() (Float32, Boolean)

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

func (t Uint32) ToFloat64() Float64

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

func (t Uint32) ToFloat64Checked() (Float64, Boolean)

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

func (t Uint32) ToInt16() Int16

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

func (t Uint32) ToInt16Checked() (Int16, Boolean)

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

func (t Uint32) ToInt32() Int32

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

func (t Uint32) ToInt32Checked() (Int32, Boolean)

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

func (t Uint32) ToInt64() Int64

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

func (t Uint32) ToInt64Checked() (Int64, Boolean)

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

func (t Uint32) ToInt8() Int8

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

func (t Uint32) ToInt8Checked() (Int8, Boolean)

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

func (t Uint32) ToString() String

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

func (t Uint32) ToStringChecked() (String, Boolean)

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

func (t Uint32) ToTime32() Time32

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

func (t Uint32) ToTime32Checked() (Time32, Boolean)

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

func (t Uint32) ToTime64() Time64

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

func (t Uint32) ToTime64Checked() (Time64, Boolean)

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

func (t Uint32) ToTimestamp() Timestamp

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

func (t Uint32) ToTimestampChecked() (Timestamp, Boolean)

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

func (t Uint32) ToUint16() Uint16

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

func (t Uint32) ToUint16Checked() (Uint16, Boolean)

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

func (t Uint32) ToUint32() Uint32

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

func (t Uint32) ToUint32Checked() (Uint32, Boolean)

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

func (t Uint32) ToUint64() Uint64

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

func (t Uint32) ToUint64Checked() (Uint64, Boolean)

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

func (t Uint32) ToUint8() Uint8

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

func (t Uint32) ToUint8Checked() (Uint8, Boolean)

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.

func (Uint32) Value

func (e Uint32) Value() uint32

Value returns the underlying value in it's native type.

type Uint64

type Uint64 uint64

Uint64 has logic to apply to this type.

func CastToUint64

func CastToUint64(v interface{}) (Uint64, bool)

CastToUint64 takes an interface{} type or any Object type and attempts to convert it to the Uint64 Object type.

func NewUint64

func NewUint64(v uint64) Uint64

NewUint64 creates a new Uint64 object from the given value provided as v.

func (Uint64) Eq

func (e Uint64) Eq(r Object) (Boolean, error)

Eq returns true if the left Uint64 is equal to the right Uint64.

func (Uint64) Greater

func (e Uint64) Greater(r Object) (Boolean, error)

Greater returns true if the left Uint64 is greter than the right Uint64.

func (Uint64) GreaterEq

func (e Uint64) GreaterEq(r Object) (Boolean, error)

GreaterEq returns true if the left Uint64 is greter than or equal to the right Uint64.

func (Uint64) Less

func (e Uint64) Less(r Object) (Boolean, error)

Less returns true if the left Uint64 is less than the right Uint64.

func (Uint64) LessEq

func (e Uint64) LessEq(r Object) (Boolean, error)

LessEq returns true if the left Uint64 is less than or equal to the right Uint64.

func (Uint64) Neq

func (e Uint64) Neq(r Object) (Boolean, error)

Neq returns true if the left Uint64 is not equal to the right Uint64.

func (Uint64) ToBoolean

func (t Uint64) ToBoolean() Boolean

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

func (t Uint64) ToBooleanChecked() (Boolean, Boolean)

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

func (t Uint64) ToDate32() Date32

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

func (t Uint64) ToDate32Checked() (Date32, Boolean)

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

func (t Uint64) ToDate64() Date64

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

func (t Uint64) ToDate64Checked() (Date64, Boolean)

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

func (t Uint64) ToFloat32() Float32

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

func (t Uint64) ToFloat32Checked() (Float32, Boolean)

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

func (t Uint64) ToFloat64() Float64

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

func (t Uint64) ToFloat64Checked() (Float64, Boolean)

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

func (t Uint64) ToInt16() Int16

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

func (t Uint64) ToInt16Checked() (Int16, Boolean)

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

func (t Uint64) ToInt32() Int32

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

func (t Uint64) ToInt32Checked() (Int32, Boolean)

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

func (t Uint64) ToInt64() Int64

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

func (t Uint64) ToInt64Checked() (Int64, Boolean)

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

func (t Uint64) ToInt8() Int8

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

func (t Uint64) ToInt8Checked() (Int8, Boolean)

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

func (t Uint64) ToString() String

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

func (t Uint64) ToStringChecked() (String, Boolean)

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

func (t Uint64) ToTime32() Time32

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

func (t Uint64) ToTime32Checked() (Time32, Boolean)

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

func (t Uint64) ToTime64() Time64

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

func (t Uint64) ToTime64Checked() (Time64, Boolean)

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

func (t Uint64) ToTimestamp() Timestamp

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

func (t Uint64) ToTimestampChecked() (Timestamp, Boolean)

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

func (t Uint64) ToUint16() Uint16

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

func (t Uint64) ToUint16Checked() (Uint16, Boolean)

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

func (t Uint64) ToUint32() Uint32

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

func (t Uint64) ToUint32Checked() (Uint32, Boolean)

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

func (t Uint64) ToUint64() Uint64

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

func (t Uint64) ToUint64Checked() (Uint64, Boolean)

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

func (t Uint64) ToUint8() Uint8

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

func (t Uint64) ToUint8Checked() (Uint8, Boolean)

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.

func (Uint64) Value

func (e Uint64) Value() uint64

Value returns the underlying value in it's native type.

type Uint8

type Uint8 uint8

Uint8 has logic to apply to this type.

func CastToUint8

func CastToUint8(v interface{}) (Uint8, bool)

CastToUint8 takes an interface{} type or any Object type and attempts to convert it to the Uint8 Object type.

func NewUint8

func NewUint8(v uint8) Uint8

NewUint8 creates a new Uint8 object from the given value provided as v.

func (Uint8) Eq

func (e Uint8) Eq(r Object) (Boolean, error)

Eq returns true if the left Uint8 is equal to the right Uint8.

func (Uint8) Greater

func (e Uint8) Greater(r Object) (Boolean, error)

Greater returns true if the left Uint8 is greter than the right Uint8.

func (Uint8) GreaterEq

func (e Uint8) GreaterEq(r Object) (Boolean, error)

GreaterEq returns true if the left Uint8 is greter than or equal to the right Uint8.

func (Uint8) Less

func (e Uint8) Less(r Object) (Boolean, error)

Less returns true if the left Uint8 is less than the right Uint8.

func (Uint8) LessEq

func (e Uint8) LessEq(r Object) (Boolean, error)

LessEq returns true if the left Uint8 is less than or equal to the right Uint8.

func (Uint8) Neq

func (e Uint8) Neq(r Object) (Boolean, error)

Neq returns true if the left Uint8 is not equal to the right Uint8.

func (Uint8) ToBoolean

func (t Uint8) ToBoolean() Boolean

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

func (t Uint8) ToBooleanChecked() (Boolean, Boolean)

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

func (t Uint8) ToDate32() Date32

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

func (t Uint8) ToDate32Checked() (Date32, Boolean)

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

func (t Uint8) ToDate64() Date64

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

func (t Uint8) ToDate64Checked() (Date64, Boolean)

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

func (t Uint8) ToFloat32() Float32

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

func (t Uint8) ToFloat32Checked() (Float32, Boolean)

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

func (t Uint8) ToFloat64() Float64

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

func (t Uint8) ToFloat64Checked() (Float64, Boolean)

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

func (t Uint8) ToInt16() Int16

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

func (t Uint8) ToInt16Checked() (Int16, Boolean)

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

func (t Uint8) ToInt32() Int32

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

func (t Uint8) ToInt32Checked() (Int32, Boolean)

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

func (t Uint8) ToInt64() Int64

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

func (t Uint8) ToInt64Checked() (Int64, Boolean)

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

func (t Uint8) ToInt8() Int8

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

func (t Uint8) ToInt8Checked() (Int8, Boolean)

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

func (t Uint8) ToString() String

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

func (t Uint8) ToStringChecked() (String, Boolean)

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

func (t Uint8) ToTime32() Time32

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

func (t Uint8) ToTime32Checked() (Time32, Boolean)

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

func (t Uint8) ToTime64() Time64

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

func (t Uint8) ToTime64Checked() (Time64, Boolean)

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

func (t Uint8) ToTimestamp() Timestamp

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

func (t Uint8) ToTimestampChecked() (Timestamp, Boolean)

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

func (t Uint8) ToUint16() Uint16

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

func (t Uint8) ToUint16Checked() (Uint16, Boolean)

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

func (t Uint8) ToUint32() Uint32

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

func (t Uint8) ToUint32Checked() (Uint32, Boolean)

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

func (t Uint8) ToUint64() Uint64

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

func (t Uint8) ToUint64Checked() (Uint64, Boolean)

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

func (t Uint8) ToUint8() Uint8

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

func (t Uint8) ToUint8Checked() (Uint8, Boolean)

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.

func (Uint8) Value

func (e Uint8) Value() uint8

Value returns the underlying value in it's native type.

Jump to

Keyboard shortcuts

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