Documentation ¶
Index ¶
- Constants
- func DateADTToDate(d C.DateADT) time.Time
- func DateToDateADT(t time.Time) C.DateADT
- func DatetimeToTimestamptz(t time.Time) C.TimestampTz
- func GeoAsEWKT(g *Geom, precision int) string
- func GeoAsGeojson(g *Geom, option int, precision int) string
- func GeoAsHexEwkb(g *Geom, endian string) string
- func GeoAsText(g *Geom, precision int) string
- func GeoSame(g1 *Geom, g2 *Geom) bool
- func IntervalToTimeDelta(interval C.Interval) timeutil.Timedelta
- func MeosFinalize()
- func MeosInitialize(tz string)
- func STBoxOut(stbox *STBox, max_decimals int) string
- func SpansetUnionFinalfn[SS SpanSet](state SS, output SS) SS
- func SpansetUnionTransfn[SS SpanSet](state SS, ss SS, output SS) SS
- func TBoolEndValue[TB TBool](tb TB) bool
- func TBoolFromMFJSON[TB TBool](input string, output TB) TB
- func TBoolIn[TB TBool](input string, output TB) TB
- func TBoolOut[TB TBool](tb TB) string
- func TBoolStartValue[TB TBool](tb TB) bool
- func TBoolValueAtTimestamp[TB TBool](tb TB, ts time.Time) bool
- func TBoolValueSet[TB TBool](tb TB) ([]bool, error)
- func TBoxOut(tbox *TBox, max_decimals int) string
- func TFloatFromMFJSON[TF TFloat](input string, output TF) TF
- func TFloatIn[TF TFloat](input string, output TF) TF
- func TFloatOut[TF TFloat](tf TF, maxdd int) string
- func TGeogPointFromMFJSON[TG TGeogPoint](input string, output TG) TG
- func TGeogPointIn[TG TGeogPoint](input string, output TG) TG
- func TGeomPointFromMFJSON[TG TGeomPoint](input string, output TG) TG
- func TGeomPointIn[TG TGeomPoint](input string, output TG) TG
- func TIntFromMFJSON[TI TInt](input string, output TI) TI
- func TIntIn[TI TInt](input string, output TI) TI
- func TIntOut[TI TInt](ti TI) string
- func TNumberIntegral[TN TNumber](tn TN) float64
- func TPointAsEWKT[T TPoint](temp T, maxdd int) string
- func TPointAsText[TP TPoint](tp TP, maxdd int) string
- func TPointGeoAsEWKT[T TPoint](temp T, maxdd int) string
- func TPointLength[T Temporal](temp T) float64
- func TPointOut[TP TPoint](tp TP, maxdd int) string
- func TPointSpeed[T Temporal, F TFloat](temp T, new_temp F) F
- func TPointTransform[T TPoint](temp T, output T, srid_to int) T
- func TSequenceLowerInclude[TS TSequence](temp TS) bool
- func TSequenceMake[TI TInstant, TS TSequence](instants []TI, count int, lower_inc bool, upper_inc bool, interp Interpolation, ...) TS
- func TSequenceUpperInclude[TS TSequence](temp TS) bool
- func TTextFromMFJSON[TT TText](input string, output TT) TT
- func TTextIn[TT TText](input string, output TT) TT
- func TTextOut[TT TText](tt TT) string
- func TemporalAsMFJSON[T Temporal](temp T, with_bbox bool, flags int, precision int, srs string) string
- func TemporalDuration[T Temporal](temp T, ignore_gaps bool) timeutil.Timedelta
- func TemporalDyntimewarpDistance[T Temporal](temp1 T, temp2 T) float64
- func TemporalEndInstant[T Temporal, TI TInstant](temp T, inst TI) TI
- func TemporalEndTimestamptz[T Temporal](temp T) time.Time
- func TemporalFrechetDistance[T Temporal](temp1 T, temp2 T) float64
- func TemporalFromHexWKB[T Temporal](s string, output T) T
- func TemporalHash[T Temporal](temp T) int
- func TemporalHausdorffDistance[T Temporal](temp1 T, temp2 T) float64
- func TemporalInstantN[T Temporal, TI TInstant](temp T, inst TI, n int) TI
- func TemporalInstants[T Temporal, TI TInstant](temp T, insts []TI) []TI
- func TemporalInterpolation[T Temporal](temp T) string
- func TemporalMaxInstant[T Temporal, TI TInstant](temp T, inst TI) TI
- func TemporalMinInstant[T Temporal, TI TInstant](temp T, inst TI) TI
- func TemporalNumInstants[T Temporal](temp T) int
- func TemporalNumTimestamps[T Temporal](temp T) int
- func TemporalSimplifyDP[T Temporal](temp T, new_temp T, dist float64, syncdist bool) T
- func TemporalStartInstant[T Temporal, TI TInstant](temp T, inst TI) TI
- func TemporalStartTimestamptz[T Temporal](temp T) time.Time
- func TemporalTimestampN[T Temporal](temp T, n int) time.Time
- func TemporalTimestamps[T Temporal](temp T) []time.Time
- func TimeDeltaToInterval(td timeutil.Timedelta) C.Interval
- func TimestamptzIn(timeStr string) C.TimestampTz
- func TimestamptzOut(ts C.TimestampTz) string
- func TimestamptzToDatetime(tstz C.TimestampTz) time.Time
- func TnumberTwavg[TN TNumber](temp TN) float64
- func TpointAtGeomTime[T Temporal](temp T, new_temp T, geom *Geom) T
- func TpointMinusGeomTime[T Temporal](temp T, new_temp T, geom *Geom) T
- type DateSet
- func (g_ds *DateSet) Add(other interface{}) (Dates, error)
- func (g_ds *DateSet) Contains(other interface{}) (bool, error)
- func (g_ds *DateSet) DateSetOut() string
- func (g_ds *DateSet) Distance(other interface{}) (timeutil.Timedelta, error)
- func (g_ds *DateSet) Duration() timeutil.Timedelta
- func (g_ds *DateSet) ElementN(n int) time.Time
- func (g_ds *DateSet) Elements() []time.Time
- func (g_ds *DateSet) EndElement() time.Time
- func (g_ds *DateSet) Intersection(other interface{}) (interface{}, error)
- func (g_ds *DateSet) IsLeft(other interface{}) (bool, error)
- func (g_ds *DateSet) IsOverOrLeft(other interface{}) (bool, error)
- func (g_ds *DateSet) IsOverOrRight(other interface{}) (bool, error)
- func (g_ds *DateSet) IsRight(other interface{}) (bool, error)
- func (g_ds *DateSet) Minus(other interface{}) (Dates, error)
- func (g_ds *DateSet) NumElements() int
- func (ds DateSet) Output() string
- func (g_ds *DateSet) Overlaps(other interface{}) (bool, error)
- func (g_ds *DateSet) Scale(duration interface{}) (*DateSet, error)
- func (g_ds *DateSet) Shift(delta interface{}) (*DateSet, error)
- func (g_ds *DateSet) ShiftScale(shift interface{}, duration interface{}) (*DateSet, error)
- func (g_ds *DateSet) StartElement() time.Time
- func (g_ds *DateSet) Sub(other interface{}) (Dates, error)
- func (g_ds *DateSet) ToSpan() *DateSpan
- func (g_ds *DateSet) ToSpanSet() *DateSpanSet
- func (g_ds *DateSet) Union(other interface{}) (Dates, error)
- type DateSpan
- func (g_ds *DateSpan) Contains(other interface{}) (bool, error)
- func (g_ds *DateSpan) DateSpanOut() string
- func (g_ds *DateSpan) Distance(other interface{}) (timeutil.Timedelta, error)
- func (g_ds *DateSpan) Duration() timeutil.Timedelta
- func (g_ds *DateSpan) Intersection(other interface{}) (Dates, error)
- func (g_ds *DateSpan) IsAdjacent(other interface{}) (bool, error)
- func (g_ds *DateSpan) IsLeft(other interface{}) (bool, error)
- func (g_ds *DateSpan) IsOverOrLeft(other interface{}) (bool, error)
- func (g_ds *DateSpan) IsOverOrRight(other interface{}) (bool, error)
- func (g_ds *DateSpan) IsRight(other interface{}) (bool, error)
- func (g_ds *DateSpan) Lower() time.Time
- func (g_ds *DateSpan) Minus(other interface{}) (*DateSpanSet, error)
- func (ds DateSpan) Output() string
- func (g_ds *DateSpan) Overlaps(other interface{}) (bool, error)
- func (g_ds *DateSpan) Scale(duration interface{}) (*DateSpan, error)
- func (g_ds *DateSpan) Shift(delta interface{}) (*DateSpan, error)
- func (g_ds *DateSpan) ShiftScale(shift interface{}, duration interface{}) (*DateSpan, error)
- func (g_ds *DateSpan) ToSpanSet() *DateSpanSet
- func (g_ds *DateSpan) ToTstzspan() *TsTzSpan
- func (g_ds *DateSpan) Union(other interface{}) (*DateSpanSet, error)
- func (g_ds *DateSpan) Upper() time.Time
- type DateSpanSet
- func (g_dss *DateSpanSet) Add(other interface{}) (*DateSpanSet, error)
- func (g_dss *DateSpanSet) Contains(other interface{}) (bool, error)
- func (g_dss *DateSpanSet) DateN(n int) time.Time
- func (g_dss *DateSpanSet) DateSpanSetOut() string
- func (g_dss *DateSpanSet) Dates() []time.Time
- func (g_dss *DateSpanSet) Distance(other interface{}) (timeutil.Timedelta, error)
- func (g_dss *DateSpanSet) Duration(ignore_gap bool) timeutil.Timedelta
- func (g_dss *DateSpanSet) EndDate() time.Time
- func (g_dss *DateSpanSet) EndSpan() DateSpan
- func (g_dss *DateSpanSet) Intersection(other interface{}) (*DateSpanSet, error)
- func (g_dss *DateSpanSet) IsAdjacent(other interface{}) (bool, error)
- func (g_ds *DateSpanSet) IsLeft(other interface{}) (bool, error)
- func (g_ds *DateSpanSet) IsOverOrLeft(other interface{}) (bool, error)
- func (g_ds *DateSpanSet) IsOverOrRight(other interface{}) (bool, error)
- func (g_ds *DateSpanSet) IsRight(other interface{}) (bool, error)
- func (g_dss *DateSpanSet) Minus(other interface{}) (*DateSpanSet, error)
- func (g_dss *DateSpanSet) Mul(other interface{}) (*DateSpanSet, error)
- func (g_dss *DateSpanSet) NumDates() int
- func (g_dss *DateSpanSet) NumSpans() int
- func (ds DateSpanSet) Output() string
- func (g_dss *DateSpanSet) Overlaps(other interface{}) (bool, error)
- func (g_ds *DateSpanSet) Scale(duration interface{}) (*DateSpanSet, error)
- func (g_ds *DateSpanSet) Shift(delta interface{}) (*DateSpanSet, error)
- func (g_ds *DateSpanSet) ShiftScale(shift interface{}, duration interface{}) (*DateSpanSet, error)
- func (g_dss *DateSpanSet) SpanN(n int) DateSpan
- func (g_dss *DateSpanSet) Spans() []DateSpan
- func (g_dss *DateSpanSet) StartDate() time.Time
- func (g_dss *DateSpanSet) StartSpan() DateSpan
- func (g_dss *DateSpanSet) Sub(other interface{}) (*DateSpanSet, error)
- func (g_dss *DateSpanSet) ToSpan() *DateSpan
- func (g_dss *DateSpanSet) ToTsTzSpanSet() *TsTzSpanSet
- func (g_dss *DateSpanSet) Union(other interface{}) (*DateSpanSet, error)
- type Dates
- type FloatSet
- func (g_fs *FloatSet) Add(other interface{}) (*FloatSet, error)
- func (g_fs *FloatSet) Contains(other interface{}) (bool, error)
- func (g_fs *FloatSet) Distance(other interface{}) (float64, error)
- func (g_fs FloatSet) ElementN(n int) float64
- func (g_fs FloatSet) Elements() []float64
- func (g_fs FloatSet) EndElement() float64
- func (g_fs *FloatSet) FloatSetOut(max_decimal int) string
- func (g_fs *FloatSet) Intersection(other interface{}) (*FloatSet, error)
- func (g_fs *FloatSet) IsLeft(other interface{}) (bool, error)
- func (g_fs *FloatSet) IsOverOrLeft(other interface{}) (bool, error)
- func (g_fs *FloatSet) IsOverOrRight(other interface{}) (bool, error)
- func (g_fs *FloatSet) IsRight(other interface{}) (bool, error)
- func (g_fs *FloatSet) Minus(other interface{}) (*FloatSet, error)
- func (g_fs *FloatSet) Mul(other interface{}) (*FloatSet, error)
- func (g_fs FloatSet) NumElements() int
- func (g_fs FloatSet) Scale(width float64) FloatSet
- func (g_fs FloatSet) Shift(delta float64) FloatSet
- func (g_fs FloatSet) ShiftScale(d float64, w float64) FloatSet
- func (g_fs FloatSet) StartElement() float64
- func (g_fs *FloatSet) Sub(other interface{}) (*FloatSet, error)
- func (g_fs FloatSet) ToIntSet() IntSet
- func (g_fs FloatSet) ToSpanSet() FloatSpanSet
- func (g_fs *FloatSet) Union(other interface{}) (*FloatSet, error)
- type FloatSpan
- func (g_fs *FloatSpan) Add(other interface{}) (*FloatSpanSet, error)
- func (g_fs *FloatSpan) Contains(other interface{}) (bool, error)
- func (g_fs *FloatSpan) Distance(other interface{}) (float64, error)
- func (g_fs FloatSpan) FloatSpanOut(max_decimal int) string
- func (g_fs *FloatSpan) Intersection(other interface{}) (*FloatSpan, error)
- func (g_fs *FloatSpan) IsAdjacent(other interface{}) (bool, error)
- func (g_fs *FloatSpan) IsLeft(other interface{}) (bool, error)
- func (g_fs *FloatSpan) IsOverOrLeft(other interface{}) (bool, error)
- func (g_fs *FloatSpan) IsOverOrRight(other interface{}) (bool, error)
- func (g_fs *FloatSpan) IsRight(other interface{}) (bool, error)
- func (g_fs *FloatSpan) IsSame(other interface{}) (bool, error)
- func (g_fs FloatSpan) Lower() float64
- func (g_fs *FloatSpan) Minus(other interface{}) (*FloatSpanSet, error)
- func (g_fs *FloatSpan) Mul(other interface{}) (*FloatSpan, error)
- func (g_fs FloatSpan) Scale(width float64) FloatSpan
- func (g_fs FloatSpan) Shift(delta float64) FloatSpan
- func (g_fs FloatSpan) ShiftScale(d float64, w float64) FloatSpan
- func (g_fs *FloatSpan) Sub(other interface{}) (*FloatSpanSet, error)
- func (g_fs FloatSpan) ToIntSpan() IntSpan
- func (g_fs FloatSpan) ToSpanSet() FloatSpanSet
- func (g_fs *FloatSpan) Union(other interface{}) (*FloatSpanSet, error)
- func (g_fs FloatSpan) Upper() float64
- func (g_fs FloatSpan) Width() float32
- type FloatSpanSet
- func (g_fss *FloatSpanSet) Add(other interface{}) (*FloatSpanSet, error)
- func (g_fss *FloatSpanSet) Contains(other interface{}) (bool, error)
- func (g_fss *FloatSpanSet) Distance(other interface{}) (float32, error)
- func (g_fss FloatSpanSet) EndSpan() FloatSpan
- func (g_fss *FloatSpanSet) FloatSpanSetOut(max_decimal int) string
- func (fss *FloatSpanSet) Init(ss *C.SpanSet)
- func (fss *FloatSpanSet) Inner() *C.SpanSet
- func (g_fss *FloatSpanSet) Intersection(other interface{}) (*FloatSpanSet, error)
- func (g_fss *FloatSpanSet) IsAdjacent(other interface{}) (bool, error)
- func (g_fss *FloatSpanSet) IsLeft(other interface{}) (bool, error)
- func (g_fss *FloatSpanSet) IsOverOrLeft(other interface{}) (bool, error)
- func (g_fss *FloatSpanSet) IsOverOrRight(other interface{}) (bool, error)
- func (g_fss *FloatSpanSet) IsRight(other interface{}) (bool, error)
- func (g_fss *FloatSpanSet) IsSame(other interface{}) (bool, error)
- func (fss *FloatSpanSet) IsSpanSet() bool
- func (g_fss *FloatSpanSet) Minus(other interface{}) (*FloatSpanSet, error)
- func (g_fss *FloatSpanSet) Mul(other interface{}) (*FloatSpanSet, error)
- func (g_fss FloatSpanSet) NumSpans() int
- func (g_fss FloatSpanSet) Scale(width float64) FloatSpanSet
- func (g_fss FloatSpanSet) Shift(delta float64) FloatSpanSet
- func (g_fss FloatSpanSet) ShiftScale(d float64, w float64) FloatSpanSet
- func (g_fss FloatSpanSet) SpanN(n int) FloatSpan
- func (g_fss FloatSpanSet) Spans() []FloatSpan
- func (g_fss FloatSpanSet) StartSpan() FloatSpan
- func (g_fss *FloatSpanSet) Sub(other interface{}) (*FloatSpanSet, error)
- func (g_fss FloatSpanSet) ToIntSpanSet() IntSpanSet
- func (g_fss FloatSpanSet) ToSpan() FloatSpan
- func (g_fss *FloatSpanSet) Union(other interface{}) (*FloatSpanSet, error)
- func (g_fss FloatSpanSet) Width(ignore_gap bool) float64
- type Geo
- type Geom
- func GeoFromGeojson(input string) *Geom
- func GeographyFromHexEwkb(input string) *Geom
- func GeographyFromText(input string, srid int) *Geom
- func GeometryFromHexEwkb(input string) *Geom
- func GeometryFromText(input string, srid int) *Geom
- func NewGeom(geom_str string, typemod int) Geom
- func PgisGeographyIn(input string, typemod int) *Geom
- func PgisGeometryIn(input string, typemod int) *Geom
- func TPointTrajectory[TP TPoint](tp TP) *Geom
- type IntSet
- func (g_is *IntSet) Add(other interface{}) (*IntSet, error)
- func (g_is *IntSet) Contains(other interface{}) (bool, error)
- func (g_is *IntSet) Distance(other interface{}) (int, error)
- func (g_is IntSet) ElementN(n int) int
- func (g_is IntSet) Elements() []int
- func (g_is IntSet) EndElement() int
- func (g_is *IntSet) IntSetOut() string
- func (g_is *IntSet) Intersection(other interface{}) (*IntSet, error)
- func (g_is *IntSet) IsLeft(other interface{}) (bool, error)
- func (g_is *IntSet) IsOverOrLeft(other interface{}) (bool, error)
- func (g_is *IntSet) IsOverOrRight(other interface{}) (bool, error)
- func (g_is *IntSet) IsRight(other interface{}) (bool, error)
- func (g_is *IntSet) Minus(other interface{}) (*IntSet, error)
- func (g_is *IntSet) Mul(other interface{}) (*IntSet, error)
- func (g_is IntSet) NumElements() int
- func (g_is IntSet) Scale(width int) IntSet
- func (g_is IntSet) Shift(delta int) IntSet
- func (g_is IntSet) ShiftScale(d int, w int) IntSet
- func (g_is IntSet) StartElement() int
- func (g_is *IntSet) Sub(other interface{}) (*IntSet, error)
- func (g_is IntSet) ToFloatSet() FloatSet
- func (g_is IntSet) ToSpanSet() IntSpanSet
- func (g_is *IntSet) Union(other interface{}) (*IntSet, error)
- type IntSpan
- func (g_is *IntSpan) Add(other interface{}) (*IntSpanSet, error)
- func (g_is *IntSpan) Contains(other interface{}) (bool, error)
- func (g_is *IntSpan) Distance(other interface{}) (int, error)
- func (g_is IntSpan) IntSpanOut() string
- func (g_is *IntSpan) Intersection(other interface{}) (*IntSpan, error)
- func (g_is *IntSpan) IsAdjacent(other interface{}) (bool, error)
- func (g_is *IntSpan) IsLeft(other interface{}) (bool, error)
- func (g_is *IntSpan) IsOverOrLeft(other interface{}) (bool, error)
- func (g_is *IntSpan) IsOverOrRight(other interface{}) (bool, error)
- func (g_is *IntSpan) IsRight(other interface{}) (bool, error)
- func (g_is *IntSpan) IsSame(other interface{}) (bool, error)
- func (g_is IntSpan) Lower() int
- func (g_is *IntSpan) Minus(other interface{}) (*IntSpanSet, error)
- func (g_is *IntSpan) Mul(other interface{}) (*IntSpan, error)
- func (g_is IntSpan) Scale(width int) IntSpan
- func (g_is IntSpan) Shift(delta int) IntSpan
- func (g_is IntSpan) ShiftScale(d int, w int) IntSpan
- func (g_is *IntSpan) Sub(other interface{}) (*IntSpanSet, error)
- func (g_is IntSpan) ToFloatSpan() FloatSpan
- func (g_is IntSpan) ToSpanSet() IntSpanSet
- func (g_is *IntSpan) Union(other interface{}) (*IntSpanSet, error)
- func (g_is IntSpan) Upper() int
- func (g_is IntSpan) Width() float32
- type IntSpanSet
- func (g_iss *IntSpanSet) Add(other interface{}) (*IntSpanSet, error)
- func (g_iss *IntSpanSet) Contains(other interface{}) (bool, error)
- func (g_iss *IntSpanSet) Distance(other interface{}) (int, error)
- func (g_iss IntSpanSet) EndSpan() IntSpan
- func (g_iss *IntSpanSet) IntSpanSetOut() string
- func (g_iss *IntSpanSet) Intersection(other interface{}) (*IntSpanSet, error)
- func (g_iss *IntSpanSet) IsAdjacent(other interface{}) (bool, error)
- func (g_iss *IntSpanSet) IsLeft(other interface{}) (bool, error)
- func (g_iss *IntSpanSet) IsOverOrLeft(other interface{}) (bool, error)
- func (g_iss *IntSpanSet) IsOverOrRight(other interface{}) (bool, error)
- func (g_iss *IntSpanSet) IsRight(other interface{}) (bool, error)
- func (g_iss *IntSpanSet) IsSame(other interface{}) (bool, error)
- func (g_iss *IntSpanSet) Minus(other interface{}) (*IntSpanSet, error)
- func (g_iss *IntSpanSet) Mul(other interface{}) (*IntSpanSet, error)
- func (g_iss IntSpanSet) NumSpans() int
- func (g_iss IntSpanSet) Scale(width int) IntSpanSet
- func (g_iss IntSpanSet) Shift(delta int) IntSpanSet
- func (g_iss IntSpanSet) ShiftScale(d int, w int) IntSpanSet
- func (g_iss IntSpanSet) SpanN(n int) IntSpan
- func (g_iss IntSpanSet) Spans() []IntSpan
- func (g_iss IntSpanSet) StartSpan() IntSpan
- func (g_iss *IntSpanSet) Sub(other interface{}) (*IntSpanSet, error)
- func (g_iss IntSpanSet) ToFloatSpanSet() FloatSpanSet
- func (g_iss IntSpanSet) ToSpan() IntSpan
- func (g_iss *IntSpanSet) Union(other interface{}) (*IntSpanSet, error)
- func (g_iss IntSpanSet) Width(ignore_gap bool) int
- type Interpolation
- type STBox
- type Set
- type Span
- type SpanSet
- type TBool
- type TBoolInst
- type TBoolSeq
- type TBoolSeqSet
- type TBox
- type TFloat
- type TFloatInst
- func (tf *TFloatInst) Init(c_temp *C.Temporal)
- func (tf *TFloatInst) Inner() *C.Temporal
- func (tf *TFloatInst) IsTFloat() bool
- func (tf *TFloatInst) IsTInstant() bool
- func (tf *TFloatInst) IsTNumber() bool
- func (tf *TFloatInst) String() string
- func (tf *TFloatInst) TPointOut(maxdd int) string
- func (tf *TFloatInst) Type() string
- type TFloatSeq
- func (tf *TFloatSeq) Init(c_temp *C.Temporal)
- func (tf *TFloatSeq) Inner() *C.Temporal
- func (tf *TFloatSeq) IsTFloat() bool
- func (tf *TFloatSeq) IsTNumber() bool
- func (tf *TFloatSeq) IsTSequence() bool
- func (tf *TFloatSeq) String() string
- func (tf *TFloatSeq) TPointOut(maxdd int) string
- func (tf *TFloatSeq) Type() string
- type TFloatSeqSet
- func (tf *TFloatSeqSet) Init(c_temp *C.Temporal)
- func (tf *TFloatSeqSet) Inner() *C.Temporal
- func (tf *TFloatSeqSet) IsTFloat() bool
- func (tf *TFloatSeqSet) IsTNumber() bool
- func (tf *TFloatSeqSet) String() string
- func (tf *TFloatSeqSet) TPointOut(maxdd int) string
- func (tf *TFloatSeqSet) Type() string
- type TGeogPoint
- type TGeogPointInst
- func (tgmpi *TGeogPointInst) Init(c_temp *C.Temporal)
- func (tgmpi *TGeogPointInst) Inner() *C.Temporal
- func (tgmpi *TGeogPointInst) IsTGeogPoint() bool
- func (tgmpi *TGeogPointInst) IsTInstant() bool
- func (tgmpi *TGeogPointInst) IsTPoint() bool
- func (tgmpi *TGeogPointInst) String() string
- func (tgmpi *TGeogPointInst) TPointOut(maxdd int) string
- func (tgmpi *TGeogPointInst) Type() string
- type TGeogPointSeq
- func (tgmpi *TGeogPointSeq) Init(c_temp *C.Temporal)
- func (tgmpi *TGeogPointSeq) Inner() *C.Temporal
- func (tgmpi *TGeogPointSeq) IsTGeogPoint() bool
- func (tgmpi *TGeogPointSeq) IsTPoint() bool
- func (tgmpi *TGeogPointSeq) IsTSequence() bool
- func (tgmpi *TGeogPointSeq) String() string
- func (tgmpi *TGeogPointSeq) TPointOut(maxdd int) string
- func (tgmpi *TGeogPointSeq) Type() string
- type TGeogPointSeqSet
- func (tgmpi *TGeogPointSeqSet) Init(c_temp *C.Temporal)
- func (tgmpi *TGeogPointSeqSet) Inner() *C.Temporal
- func (tgmpi *TGeogPointSeqSet) IsTGeogPoint() bool
- func (tgmpi *TGeogPointSeqSet) IsTPoint() bool
- func (tgmpi *TGeogPointSeqSet) String() string
- func (tgmpi *TGeogPointSeqSet) TPointOut(maxdd int) string
- func (tgmpi *TGeogPointSeqSet) Type() string
- type TGeomPoint
- type TGeomPointInst
- func (tb *TGeomPointInst) Init(c_temp *C.Temporal)
- func (tb *TGeomPointInst) Inner() *C.Temporal
- func (tb *TGeomPointInst) IsTGeomPoint() bool
- func (tgmpi *TGeomPointInst) IsTInstant() bool
- func (tgmpi *TGeomPointInst) IsTPoint() bool
- func (tgmpi *TGeomPointInst) String() string
- func (tgmpi *TGeomPointInst) TInstantOut(maxdd int) string
- func (tgmpi *TGeomPointInst) TPointOut(maxdd int) string
- func (tgmpi *TGeomPointInst) TimestampOut() string
- func (tgmpi *TGeomPointInst) Timestamptz() time.Time
- func (tgmpi *TGeomPointInst) Type() string
- type TGeomPointSeq
- func (tgmpi *TGeomPointSeq) Init(c_temp *C.Temporal)
- func (tgmpi *TGeomPointSeq) Inner() *C.Temporal
- func (tgmpi *TGeomPointSeq) IsTGeomPoint() bool
- func (tgmpi *TGeomPointSeq) IsTPoint() bool
- func (tgmpi *TGeomPointSeq) IsTSequence() bool
- func (tgmpi *TGeomPointSeq) NewInit(c_temp *C.Temporal) *TGeomPointSeq
- func (tgmpi *TGeomPointSeq) String() string
- func (tgmpi *TGeomPointSeq) TPointOut(maxdd int) string
- func (tgmpi *TGeomPointSeq) Type() string
- type TGeomPointSeqSet
- func (tb *TGeomPointSeqSet) Init(c_temp *C.Temporal)
- func (tb *TGeomPointSeqSet) Inner() *C.Temporal
- func (tb *TGeomPointSeqSet) IsTGeomPoint() bool
- func (tgmpi *TGeomPointSeqSet) IsTPoint() bool
- func (tgmpi *TGeomPointSeqSet) String() string
- func (tgmpi *TGeomPointSeqSet) TPointOut(maxdd int) string
- func (tgmpi *TGeomPointSeqSet) Type() string
- type TInstant
- type TInt
- type TIntInst
- type TIntSeq
- type TIntSeqSet
- type TNumber
- type TPoint
- type TSequence
- type TSequenceSet
- type TText
- type TTextInst
- type TTextSeq
- type TTextSeqSet
- type Temporal
- func CreateTemporal(inner *C.Temporal) Temporal
- func TBoolAtValue[TB TBool](tb TB, value bool) Temporal
- func TBoolMinusValue[TB TBool](tb TB, value bool) Temporal
- func TFloatToTInt[TF TFloat](tf TF) (Temporal, error)
- func TemporalAtMax[T Temporal](temp T) Temporal
- func TemporalAtMin[T Temporal](temp T) Temporal
- func TemporalAtTimestamptz[T Temporal](temp T, ts time.Time) Temporal
- func TemporalAtTsTzSet[T Temporal](temp T, tstzset TsTzSet) Temporal
- func TemporalAtTsTzSpan[T Temporal](temp T, tstzspan TsTzSpan) Temporal
- func TemporalAtTsTzSpanSet[T Temporal](temp T, tstzspanset TsTzSpanSet) Temporal
- func TemporalAtValues[T Temporal, S Set](temp T, set S) Temporal
- func TemporalMinusMax[T Temporal](temp T) Temporal
- func TemporalMinusMin[T Temporal](temp T) Temporal
- func TemporalMinusTimestamptz[T Temporal](temp T, ts time.Time) Temporal
- func TemporalMinusTsTzSet[T Temporal](temp T, tstzset TsTzSet) Temporal
- func TemporalMinusTsTzSpan[T Temporal](temp T, tstzspan TsTzSpan) Temporal
- func TemporalMinusTsTzSpanSet[T Temporal](temp T, tstzspanset TsTzSpanSet) Temporal
- func TnumberAtSpan[TN TNumber, S Span](tn TN, span S) Temporal
- func TnumberAtSpanSet[TN TNumber, SS SpanSet](tn TN, spanset SS) Temporal
- func TnumberAtTBox[TN TNumber](tn TN, tbox *TBox) Temporal
- func TnumberMinusSpan[TN TNumber, S Span](tn TN, span S) Temporal
- func TnumberMinusSpanSet[TN TNumber, SS SpanSet](tn TN, spanset SS) Temporal
- func TnumberMinusTBox[TN TNumber](tn TN, tbox *TBox) Temporal
- type TsTzSet
- func (g_tts *TsTzSet) Duration() timeutil.Timedelta
- func (g_tss *TsTzSet) ElementN(n int) time.Time
- func (g_tss *TsTzSet) Elements() []time.Time
- func (g_tts *TsTzSet) EndElement() time.Time
- func (g_tss *TsTzSet) NumElements() int
- func (g_tss *TsTzSet) Scale(duration interface{}) (*TsTzSet, error)
- func (g_tss *TsTzSet) Shift(delta interface{}) (*TsTzSet, error)
- func (g_tss *TsTzSet) ShiftScale(shift interface{}, duration interface{}) (*TsTzSet, error)
- func (g_tts *TsTzSet) StartElement() time.Time
- func (g_tts *TsTzSet) TsTzSetOut() string
- type TsTzSpan
- func (g_tts *TsTzSpan) Duration() timeutil.Timedelta
- func (g_tts *TsTzSpan) Lower() time.Time
- func (g_tss *TsTzSpan) Scale(duration interface{}) (*TsTzSpan, error)
- func (g_tss *TsTzSpan) Shift(delta interface{}) (*TsTzSpan, error)
- func (g_tss *TsTzSpan) ShiftScale(shift interface{}, duration interface{}) (*TsTzSpan, error)
- func (g_tts *TsTzSpan) ToSpanSet() TsTzSpanSet
- func (g_tts *TsTzSpan) TsTzSpanOut() string
- func (g_tts *TsTzSpan) Upper() time.Time
- type TsTzSpanSet
- func (g_tts *TsTzSpanSet) Duration(ignore_gap bool) timeutil.Timedelta
- func (g_tts *TsTzSpanSet) EndSpan() TsTzSpan
- func (g_tts *TsTzSpanSet) EndTimestamp() time.Time
- func (g_tts *TsTzSpanSet) NumSpans() int
- func (g_tts *TsTzSpanSet) NumTimestamps() int
- func (g_tts *TsTzSpanSet) Scale(duration interface{}) (*TsTzSpanSet, error)
- func (g_tts *TsTzSpanSet) Shift(delta interface{}) (*TsTzSpanSet, error)
- func (g_tts *TsTzSpanSet) ShiftScale(shift interface{}, duration interface{}) (*TsTzSpanSet, error)
- func (g_tts *TsTzSpanSet) SpanN(n int) TsTzSpan
- func (g_tts *TsTzSpanSet) Spans() []TsTzSpan
- func (g_tts *TsTzSpanSet) StartSpan() TsTzSpan
- func (g_tts *TsTzSpanSet) StartTimestamp() time.Time
- func (g_tts *TsTzSpanSet) TimestampN(n int) time.Time
- func (g_tts *TsTzSpanSet) Timestamps() []time.Time
- func (g_tts *TsTzSpanSet) ToSpan() *TsTzSpan
- func (g_tts *TsTzSpanSet) ToTsTzSpan() *TsTzSpan
- func (g_tts *TsTzSpanSet) TsTzSpanSetOut() string
Examples ¶
Constants ¶
const ( INTERP_NONE Interpolation = C.INTERP_NONE DISCRETE Interpolation = C.DISCRETE STEP Interpolation = C.STEP LINEAR = C.LINEAR ANYTEMPSUBTYPE = C.ANYTEMPSUBTYPE /**< Any temporal subtype */ TINSTANT = C.TINSTANT /**< Temporal instant subtype */ TSEQUENCE = C.TSEQUENCE /**< Temporal sequence subtype */ TSEQUENCESET = C.TSEQUENCESET /**< Temporal sequence set subtype */ T_TBOOL = C.T_TBOOL /**< temporal boolean type */ T_TFLOAT = C.T_TFLOAT /**< temporal float type */ T_TINT = C.T_TINT /**< temporal integer type */ T_TTEXT = C.T_TTEXT /**< temporal text type */ T_TGEOMPOINT = C.T_TGEOMPOINT /**< temporal geometry point type */ T_TGEOGPOINT = C.T_TGEOGPOINT /**< temporal geography point type */ )
Variables ¶
This section is empty.
Functions ¶
func DateADTToDate ¶
Return a temporal integer restricted to the complement of an integer.
Parameters:
- temp: Temporal value
- i: Value
See also: Temporal_minus_value()
func DatetimeToTimestamptz ¶
func DatetimeToTimestamptz(t time.Time) C.TimestampTz
Transform time.Time to TimestampTz
func GeoAsHexEwkb ¶
func MeosFinalize ¶
func MeosFinalize()
func MeosInitialize ¶
func MeosInitialize(tz string)
func SpansetUnionFinalfn ¶
func SpansetUnionFinalfn[SS SpanSet](state SS, output SS) SS
func SpansetUnionTransfn ¶
func SpansetUnionTransfn[SS SpanSet](state SS, ss SS, output SS) SS
func TBoolEndValue ¶
func TBoolFromMFJSON ¶
func TBoolIn ¶
------------------------- TBool --------------------------- ------------------------- Constructors ----------------------------------
func TBoolOut ¶
------------------------- Output ----------------------------------------
Example ¶
MeosInitialize("UTC") g_is := NewTBoolInst("TRUE@2022-10-01") fmt.Println(TBoolOut(g_is))
Output: t@2022-10-01 00:00:00+00
func TBoolStartValue ¶
func TBoolValueSet ¶
------------------------- Accessors ------------------------------------- TBoolValues wraps the tbool_values C function to return a Go slice of bool.
func TFloatFromMFJSON ¶
func TGeogPointFromMFJSON ¶
func TGeogPointFromMFJSON[TG TGeogPoint](input string, output TG) TG
func TGeogPointIn ¶
func TGeogPointIn[TG TGeogPoint](input string, output TG) TG
------------------------- TGeogPoint ---------------------------
func TGeomPointFromMFJSON ¶
func TGeomPointFromMFJSON[TG TGeomPoint](input string, output TG) TG
func TGeomPointIn ¶
func TGeomPointIn[TG TGeomPoint](input string, output TG) TG
------------------------- TGeomPoint ---------------------------
func TIntFromMFJSON ¶
func TNumberIntegral ¶
func TPointAsEWKT ¶
func TPointAsText ¶
func TPointGeoAsEWKT ¶
func TPointLength ¶
func TPointSpeed ¶
func TPointTransform ¶
func TSequenceLowerInclude ¶
------------------------- Accessors ----------------------------------
func TSequenceMake ¶
func TSequenceMake[TI TInstant, TS TSequence](instants []TI, count int, lower_inc bool, upper_inc bool, interp Interpolation, normalize bool, output TS) TS
------------------------- Constructor ----------------------------------
func TSequenceUpperInclude ¶
func TTextFromMFJSON ¶
func TemporalAsMFJSON ¶
func TemporalAsMFJSON[T Temporal](temp T, with_bbox bool, flags int, precision int, srs string) string
------------------------- Output ---------------------------
func TemporalDuration ¶
func TemporalEndInstant ¶
func TemporalEndTimestamptz ¶
func TemporalFrechetDistance ¶
------------------------- TODO:Topological Operations ------------------------ ------------------------- TODO:Position Operations --------------------------- ------------------------- Similarity Operations -------------------------
func TemporalFromHexWKB ¶
------------------------- Input ----------------------------------
func TemporalHash ¶
func TemporalInstantN ¶
func TemporalInstants ¶
func TemporalInterpolation ¶
func TemporalMaxInstant ¶
func TemporalMinInstant ¶
func TemporalNumInstants ¶
func TemporalNumTimestamps ¶
func TemporalSimplifyDP ¶
func TemporalStartInstant ¶
func TemporalTimestamps ¶
func TimestamptzIn ¶
func TimestamptzIn(timeStr string) C.TimestampTz
func TimestamptzOut ¶
func TimestamptzOut(ts C.TimestampTz) string
func TimestamptzToDatetime ¶
func TimestamptzToDatetime(tstz C.TimestampTz) time.Time
Transform TimestampTz to time.Time
func TnumberTwavg ¶
func TpointAtGeomTime ¶
func TpointMinusGeomTime ¶
Types ¶
type DateSet ¶
type DateSet struct {
// contains filtered or unexported fields
}
func FalseDateSet ¶
func FalseDateSet() *DateSet
func NewDateSet ¶
------------------------- Input ----------------------------------------
func (*DateSet) Contains ¶
------------------------- Topological Operations ------------------------
func (*DateSet) DateSetOut ¶
------------------------- Output ----------------------------------------
func (*DateSet) Distance ¶
------------------------- Distance Operations ---------------------------
func (*DateSet) EndElement ¶
func (*DateSet) Intersection ¶
func (*DateSet) IsOverOrLeft ¶
func (*DateSet) IsOverOrRight ¶
func (*DateSet) NumElements ¶
func (*DateSet) ShiftScale ¶
------------------------- Transformations -------------------------------
func (*DateSet) StartElement ¶
func (*DateSet) ToSpan ¶
TODO: remove library duplicate(fix the warnings) ------------------------- Conversions -----------------------------------
func (*DateSet) ToSpanSet ¶
func (g_ds *DateSet) ToSpanSet() *DateSpanSet
type DateSpan ¶
type DateSpan struct {
// contains filtered or unexported fields
}
DateSpan wraps the C Span type
func NewDateSpan ¶
------------------------- Input ----------------------------------------
func (*DateSpan) DateSpanOut ¶
------------------------- Output ----------------------------------------
func (*DateSpan) Distance ¶
------------------------- Distance Operations ---------------------------
func (*DateSpan) Intersection ¶
------------------------- Set Operations --------------------------------
func (*DateSpan) IsAdjacent ¶
------------------------- Topological Operations ------------------------
func (*DateSpan) IsOverOrLeft ¶
func (*DateSpan) IsOverOrRight ¶
func (*DateSpan) Minus ¶
func (g_ds *DateSpan) Minus(other interface{}) (*DateSpanSet, error)
func (*DateSpan) ShiftScale ¶
------------------------- Transformations -------------------------------
func (*DateSpan) ToSpanSet ¶
func (g_ds *DateSpan) ToSpanSet() *DateSpanSet
func (*DateSpan) ToTstzspan ¶
func (*DateSpan) Union ¶
func (g_ds *DateSpan) Union(other interface{}) (*DateSpanSet, error)
type DateSpanSet ¶
type DateSpanSet struct {
// contains filtered or unexported fields
}
func NewDateSpanSet ¶
func NewDateSpanSet(g_dss_in string) *DateSpanSet
------------------------- Input ----------------------------------------
func (*DateSpanSet) Add ¶
func (g_dss *DateSpanSet) Add(other interface{}) (*DateSpanSet, error)
func (*DateSpanSet) Contains ¶
func (g_dss *DateSpanSet) Contains(other interface{}) (bool, error)
------------------------- Topological Operations ------------------------
func (*DateSpanSet) DateSpanSetOut ¶
func (g_dss *DateSpanSet) DateSpanSetOut() string
------------------------- Output ----------------------------------------
func (*DateSpanSet) Dates ¶
func (g_dss *DateSpanSet) Dates() []time.Time
func (*DateSpanSet) Distance ¶
func (g_dss *DateSpanSet) Distance(other interface{}) (timeutil.Timedelta, error)
------------------------- Distance Operations ---------------------------
func (*DateSpanSet) Duration ¶
func (g_dss *DateSpanSet) Duration(ignore_gap bool) timeutil.Timedelta
func (*DateSpanSet) EndDate ¶
func (g_dss *DateSpanSet) EndDate() time.Time
func (*DateSpanSet) EndSpan ¶
func (g_dss *DateSpanSet) EndSpan() DateSpan
func (*DateSpanSet) Intersection ¶
func (g_dss *DateSpanSet) Intersection(other interface{}) (*DateSpanSet, error)
------------------------- Set Operations --------------------------------
func (*DateSpanSet) IsAdjacent ¶
func (g_dss *DateSpanSet) IsAdjacent(other interface{}) (bool, error)
func (*DateSpanSet) IsLeft ¶
func (g_ds *DateSpanSet) IsLeft(other interface{}) (bool, error)
------------------------- Position Operations ---------------------------
func (*DateSpanSet) IsOverOrLeft ¶
func (g_ds *DateSpanSet) IsOverOrLeft(other interface{}) (bool, error)
func (*DateSpanSet) IsOverOrRight ¶
func (g_ds *DateSpanSet) IsOverOrRight(other interface{}) (bool, error)
func (*DateSpanSet) IsRight ¶
func (g_ds *DateSpanSet) IsRight(other interface{}) (bool, error)
func (*DateSpanSet) Minus ¶
func (g_dss *DateSpanSet) Minus(other interface{}) (*DateSpanSet, error)
func (*DateSpanSet) Mul ¶
func (g_dss *DateSpanSet) Mul(other interface{}) (*DateSpanSet, error)
func (*DateSpanSet) NumDates ¶
func (g_dss *DateSpanSet) NumDates() int
func (*DateSpanSet) NumSpans ¶
func (g_dss *DateSpanSet) NumSpans() int
func (DateSpanSet) Output ¶
func (ds DateSpanSet) Output() string
func (*DateSpanSet) Overlaps ¶
func (g_dss *DateSpanSet) Overlaps(other interface{}) (bool, error)
func (*DateSpanSet) Scale ¶
func (g_ds *DateSpanSet) Scale(duration interface{}) (*DateSpanSet, error)
func (*DateSpanSet) Shift ¶
func (g_ds *DateSpanSet) Shift(delta interface{}) (*DateSpanSet, error)
func (*DateSpanSet) ShiftScale ¶
func (g_ds *DateSpanSet) ShiftScale(shift interface{}, duration interface{}) (*DateSpanSet, error)
------------------------- Transformations -------------------------------
func (*DateSpanSet) SpanN ¶
func (g_dss *DateSpanSet) SpanN(n int) DateSpan
func (*DateSpanSet) Spans ¶
func (g_dss *DateSpanSet) Spans() []DateSpan
func (*DateSpanSet) StartDate ¶
func (g_dss *DateSpanSet) StartDate() time.Time
func (*DateSpanSet) StartSpan ¶
func (g_dss *DateSpanSet) StartSpan() DateSpan
func (*DateSpanSet) Sub ¶
func (g_dss *DateSpanSet) Sub(other interface{}) (*DateSpanSet, error)
func (*DateSpanSet) ToSpan ¶
func (g_dss *DateSpanSet) ToSpan() *DateSpan
------------------------- Conversions -----------------------------------
func (*DateSpanSet) ToTsTzSpanSet ¶
func (g_dss *DateSpanSet) ToTsTzSpanSet() *TsTzSpanSet
func (*DateSpanSet) Union ¶
func (g_dss *DateSpanSet) Union(other interface{}) (*DateSpanSet, error)
type FloatSet ¶
type FloatSet struct {
// contains filtered or unexported fields
}
func NewFloatSet ¶
------------------------- Input ----------------------------------------
func (*FloatSet) Distance ¶
------------------------- Distance Operations --------------------------------
func (FloatSet) EndElement ¶
func (*FloatSet) FloatSetOut ¶
------------------------- Output ----------------------------------------
func (*FloatSet) Intersection ¶
------------------------- Set Operations --------------------------------
func (*FloatSet) IsOverOrLeft ¶
func (*FloatSet) IsOverOrRight ¶
func (FloatSet) NumElements ¶
func (FloatSet) StartElement ¶
------------------------- Accessors -------------------------------------
func (FloatSet) ToIntSet ¶
------------------------- Conversions -----------------------------------
func (FloatSet) ToSpanSet ¶
func (g_fs FloatSet) ToSpanSet() FloatSpanSet
type FloatSpan ¶
type FloatSpan struct {
// contains filtered or unexported fields
}
func NewFloatSpan ¶
------------------------- Input ----------------------------------------
func (*FloatSpan) Add ¶
func (g_fs *FloatSpan) Add(other interface{}) (*FloatSpanSet, error)
func (FloatSpan) FloatSpanOut ¶
------------------------- Output ----------------------------------------
func (*FloatSpan) Intersection ¶
------------------------- Set Operations --------------------------------
func (*FloatSpan) IsAdjacent ¶
------------------------- Topological Operations --------------------------------
func (*FloatSpan) IsLeft ¶
------------------------- Position Operations ---------------------------
func (*FloatSpan) IsOverOrLeft ¶
func (*FloatSpan) IsOverOrRight ¶
func (*FloatSpan) Minus ¶
func (g_fs *FloatSpan) Minus(other interface{}) (*FloatSpanSet, error)
func (FloatSpan) ShiftScale ¶
------------------------- Transformations -------------------------------
func (*FloatSpan) Sub ¶
func (g_fs *FloatSpan) Sub(other interface{}) (*FloatSpanSet, error)
func (FloatSpan) ToSpanSet ¶
func (g_fs FloatSpan) ToSpanSet() FloatSpanSet
------------------------- Conversions -----------------------------------
func (*FloatSpan) Union ¶
func (g_fs *FloatSpan) Union(other interface{}) (*FloatSpanSet, error)
type FloatSpanSet ¶
type FloatSpanSet struct {
// contains filtered or unexported fields
}
func NewFloatSpanSet ¶
func NewFloatSpanSet(g_fss_in string) *FloatSpanSet
------------------------- Input ----------------------------------------
func (*FloatSpanSet) Add ¶
func (g_fss *FloatSpanSet) Add(other interface{}) (*FloatSpanSet, error)
func (*FloatSpanSet) Contains ¶
func (g_fss *FloatSpanSet) Contains(other interface{}) (bool, error)
func (*FloatSpanSet) Distance ¶
func (g_fss *FloatSpanSet) Distance(other interface{}) (float32, error)
———————–– Distance Operations —————————
func (FloatSpanSet) EndSpan ¶
func (g_fss FloatSpanSet) EndSpan() FloatSpan
Returns the last span in FloatSpanSet. Returns:
A FloatSpan instance
MEOS Functions:
spanset_end_span
func (*FloatSpanSet) FloatSpanSetOut ¶
func (g_fss *FloatSpanSet) FloatSpanSetOut(max_decimal int) string
------------------------- Output ----------------------------------------
Return the string representation of the content of FloatSpanSet.
Returns:
String
MEOS Functions:
floatspanset_out
func (*FloatSpanSet) Init ¶
func (fss *FloatSpanSet) Init(ss *C.SpanSet)
func (*FloatSpanSet) Inner ¶
func (fss *FloatSpanSet) Inner() *C.SpanSet
func (*FloatSpanSet) Intersection ¶
func (g_fss *FloatSpanSet) Intersection(other interface{}) (*FloatSpanSet, error)
———————–– Set Operations ––––––––––––––––
func (*FloatSpanSet) IsAdjacent ¶
func (g_fss *FloatSpanSet) IsAdjacent(other interface{}) (bool, error)
------------------------- Topological Operations --------------------------------
func (*FloatSpanSet) IsLeft ¶
func (g_fss *FloatSpanSet) IsLeft(other interface{}) (bool, error)
func (*FloatSpanSet) IsOverOrLeft ¶
func (g_fss *FloatSpanSet) IsOverOrLeft(other interface{}) (bool, error)
func (*FloatSpanSet) IsOverOrRight ¶
func (g_fss *FloatSpanSet) IsOverOrRight(other interface{}) (bool, error)
func (*FloatSpanSet) IsRight ¶
func (g_fss *FloatSpanSet) IsRight(other interface{}) (bool, error)
func (*FloatSpanSet) IsSame ¶
func (g_fss *FloatSpanSet) IsSame(other interface{}) (bool, error)
func (*FloatSpanSet) IsSpanSet ¶
func (fss *FloatSpanSet) IsSpanSet() bool
------------------------- Interface ----------------------------------------
func (*FloatSpanSet) Minus ¶
func (g_fss *FloatSpanSet) Minus(other interface{}) (*FloatSpanSet, error)
func (*FloatSpanSet) Mul ¶
func (g_fss *FloatSpanSet) Mul(other interface{}) (*FloatSpanSet, error)
func (FloatSpanSet) NumSpans ¶
func (g_fss FloatSpanSet) NumSpans() int
------------------------- Accessors -------------------------------------
Returns the number of spans in FloatSpanSet. Returns:
An int
MEOS Functions:
spanset_num_spans
func (FloatSpanSet) Scale ¶
func (g_fss FloatSpanSet) Scale(width float64) FloatSpanSet
Return a new “FloatSpanSet“ with the lower and upper bounds scaled so that the width is “width“.
Args:
width: The new width
Returns:
A new ``FloatSpanSet`` instance
MEOS Functions:
floatspanset_shift_scale
func (FloatSpanSet) Shift ¶
func (g_fss FloatSpanSet) Shift(delta float64) FloatSpanSet
Return a new “FloatSpanSet“ with the lower and upper bounds shifted by “delta“.
Args:
delta: The value to shift by
Returns:
A new ``FloatSpanSet`` instance
MEOS Functions:
floatspanset_shift_scale
func (FloatSpanSet) ShiftScale ¶
func (g_fss FloatSpanSet) ShiftScale(d float64, w float64) FloatSpanSet
Return a new “FloatSpanSet“ with the lower and upper bounds shifted by “delta“.
Args:
delta: The value to shift by
Returns:
A new ``FloatSpanSet`` instance
MEOS Functions:
floatspanset_shift_scale
func (FloatSpanSet) SpanN ¶
func (g_fss FloatSpanSet) SpanN(n int) FloatSpan
Returns the n-th span in FloatSpanSet. Returns:
A FloatSpan instance
MEOS Functions:
spanset_span_n
func (FloatSpanSet) Spans ¶
func (g_fss FloatSpanSet) Spans() []FloatSpan
Returns the list of spans in FloatSpanSet. Returns:
A FloatSpan instance
MEOS Functions:
spanset_spans
func (FloatSpanSet) StartSpan ¶
func (g_fss FloatSpanSet) StartSpan() FloatSpan
Returns the first span in spanset. Returns:
A FloatSpan instance
MEOS Functions:
spanset_start_span
func (*FloatSpanSet) Sub ¶
func (g_fss *FloatSpanSet) Sub(other interface{}) (*FloatSpanSet, error)
func (FloatSpanSet) ToIntSpanSet ¶
func (g_fss FloatSpanSet) ToIntSpanSet() IntSpanSet
Converts FloatSpanSet to an IntSpanSet instance.
Returns:
A new IntSpanSet instance
MEOS Functions:
floatspanset_to_intspanset
func (FloatSpanSet) ToSpan ¶
func (g_fss FloatSpanSet) ToSpan() FloatSpan
------------------------- Conversions -----------------------------------
Returns a span that encompasses _inner.
Returns:
A new struct `FloatSpan` instance
MEOS Functions:
spanset_span
func (*FloatSpanSet) Union ¶
func (g_fss *FloatSpanSet) Union(other interface{}) (*FloatSpanSet, error)
func (FloatSpanSet) Width ¶
func (g_fss FloatSpanSet) Width(ignore_gap bool) float64
Returns the width of the spanset. By default, i.e., when the second argument is False, the function takes into account the gaps within, i.e., returns the sum of the widths of the spans within. Otherwise, the function returns the width of the spanset ignoring any gap, i.e., the width from the lower bound of the first span to the upper bound of the last span.
Parameters:
ignore_gaps: Whether to take into account potential gaps in the spanset.
Returns:
A `float` representing the duration of the spanset
MEOS Functions:
floatspanset_width
type Geo ¶
type Geo interface { Inner() *C.GSERIALIZED IsGeo() bool }
type Geom ¶
type Geom struct {
// contains filtered or unexported fields
}
------------------------- Geom ---------------------------
func GeoFromGeojson ¶
func GeographyFromHexEwkb ¶
func GeographyFromText ¶
func GeometryFromHexEwkb ¶
func GeometryFromText ¶
func PgisGeographyIn ¶
func PgisGeometryIn ¶
func TPointTrajectory ¶
type IntSet ¶
type IntSet struct {
// contains filtered or unexported fields
}
func (*IntSet) Distance ¶
------------------------- Distance Operations --------------------------------
func (IntSet) EndElement ¶
func (*IntSet) IntSetOut ¶
------------------------- Output ----------------------------------------
func (*IntSet) Intersection ¶
------------------------- Set Operations --------------------------------
func (*IntSet) IsOverOrLeft ¶
func (*IntSet) IsOverOrRight ¶
func (IntSet) NumElements ¶
func (IntSet) StartElement ¶
------------------------- Accessors -------------------------------------
func (IntSet) ToFloatSet ¶
------------------------- Conversions -----------------------------------
func (IntSet) ToSpanSet ¶
func (g_is IntSet) ToSpanSet() IntSpanSet
type IntSpan ¶
type IntSpan struct {
// contains filtered or unexported fields
}
func NewIntSpan ¶
------------------------- Input ----------------------------------------
func (*IntSpan) Add ¶
func (g_is *IntSpan) Add(other interface{}) (*IntSpanSet, error)
func (IntSpan) IntSpanOut ¶
------------------------- Output ----------------------------------------
func (*IntSpan) Intersection ¶
------------------------- Set Operations --------------------------------
func (*IntSpan) IsAdjacent ¶
------------------------- Topological Operations --------------------------------
func (*IntSpan) IsOverOrLeft ¶
func (*IntSpan) IsOverOrRight ¶
func (*IntSpan) Minus ¶
func (g_is *IntSpan) Minus(other interface{}) (*IntSpanSet, error)
func (IntSpan) ShiftScale ¶
------------------------- Transformations -------------------------------
func (*IntSpan) Sub ¶
func (g_is *IntSpan) Sub(other interface{}) (*IntSpanSet, error)
func (IntSpan) ToFloatSpan ¶
func (IntSpan) ToSpanSet ¶
func (g_is IntSpan) ToSpanSet() IntSpanSet
------------------------- Conversions -----------------------------------
func (*IntSpan) Union ¶
func (g_is *IntSpan) Union(other interface{}) (*IntSpanSet, error)
type IntSpanSet ¶
type IntSpanSet struct {
// contains filtered or unexported fields
}
func NewIntSpanSet ¶
func NewIntSpanSet(g_iss_in string) *IntSpanSet
------------------------- Input ----------------------------------------
func (*IntSpanSet) Add ¶
func (g_iss *IntSpanSet) Add(other interface{}) (*IntSpanSet, error)
func (*IntSpanSet) Contains ¶
func (g_iss *IntSpanSet) Contains(other interface{}) (bool, error)
func (*IntSpanSet) Distance ¶
func (g_iss *IntSpanSet) Distance(other interface{}) (int, error)
------------------------- Distance Operations ---------------------------
func (IntSpanSet) EndSpan ¶
func (g_iss IntSpanSet) EndSpan() IntSpan
Returns the last span in IntSpanSet. Returns:
A IntSpan instance
MEOS Functions:
spanset_end_span
func (*IntSpanSet) IntSpanSetOut ¶
func (g_iss *IntSpanSet) IntSpanSetOut() string
------------------------- Output ----------------------------------------
Return the string representation of the content of IntSpanSet.
Returns:
String
MEOS Functions:
intspanset_out
func (*IntSpanSet) Intersection ¶
func (g_iss *IntSpanSet) Intersection(other interface{}) (*IntSpanSet, error)
------------------------- Set Operations --------------------------------
func (*IntSpanSet) IsAdjacent ¶
func (g_iss *IntSpanSet) IsAdjacent(other interface{}) (bool, error)
------------------------- Topological Operations --------------------------------
func (*IntSpanSet) IsLeft ¶
func (g_iss *IntSpanSet) IsLeft(other interface{}) (bool, error)
func (*IntSpanSet) IsOverOrLeft ¶
func (g_iss *IntSpanSet) IsOverOrLeft(other interface{}) (bool, error)
func (*IntSpanSet) IsOverOrRight ¶
func (g_iss *IntSpanSet) IsOverOrRight(other interface{}) (bool, error)
func (*IntSpanSet) IsRight ¶
func (g_iss *IntSpanSet) IsRight(other interface{}) (bool, error)
func (*IntSpanSet) IsSame ¶
func (g_iss *IntSpanSet) IsSame(other interface{}) (bool, error)
func (*IntSpanSet) Minus ¶
func (g_iss *IntSpanSet) Minus(other interface{}) (*IntSpanSet, error)
func (*IntSpanSet) Mul ¶
func (g_iss *IntSpanSet) Mul(other interface{}) (*IntSpanSet, error)
func (IntSpanSet) NumSpans ¶
func (g_iss IntSpanSet) NumSpans() int
------------------------- Accessors -------------------------------------
Returns the number of spans in IntSpanSet. Returns:
An int
MEOS Functions:
spanset_num_spans
func (IntSpanSet) Scale ¶
func (g_iss IntSpanSet) Scale(width int) IntSpanSet
Return a new “IntSpanSet“ with the lower and upper bounds scaled so that the width is “width“.
Args:
width: The new width
Returns:
A new ``IntSpanSet`` instance
MEOS Functions:
intspanset_shift_scale
func (IntSpanSet) Shift ¶
func (g_iss IntSpanSet) Shift(delta int) IntSpanSet
Return a new “IntSpanSet“ with the lower and upper bounds shifted by “delta“.
Args:
delta: The value to shift by
Returns:
A new ``IntSpanSet`` instance
MEOS Functions:
intspanset_shift_scale
func (IntSpanSet) ShiftScale ¶
func (g_iss IntSpanSet) ShiftScale(d int, w int) IntSpanSet
Return a new “IntSpanSet“ with the lower and upper bounds shifted by “delta“.
Args:
delta: The value to shift by
Returns:
A new ``IntSpanSet`` instance
MEOS Functions:
intspanset_shift_scale
func (IntSpanSet) SpanN ¶
func (g_iss IntSpanSet) SpanN(n int) IntSpan
Returns the n-th span in IntSpanSet. Returns:
A IntSpan instance
MEOS Functions:
spanset_span_n
func (IntSpanSet) Spans ¶
func (g_iss IntSpanSet) Spans() []IntSpan
Returns the list of spans in IntSpanSet. Returns:
A IntSpan instance
MEOS Functions:
spanset_spans
func (IntSpanSet) StartSpan ¶
func (g_iss IntSpanSet) StartSpan() IntSpan
Returns the first span in spanset. Returns:
A IntSpan instance
MEOS Functions:
spanset_start_span
func (*IntSpanSet) Sub ¶
func (g_iss *IntSpanSet) Sub(other interface{}) (*IntSpanSet, error)
func (IntSpanSet) ToFloatSpanSet ¶
func (g_iss IntSpanSet) ToFloatSpanSet() FloatSpanSet
Converts IntSpanSet to a FloatSpanSet instance.
Returns:
A new FloatSpanSet instance
MEOS Functions:
intspanset_to_floatspanset
func (IntSpanSet) ToSpan ¶
func (g_iss IntSpanSet) ToSpan() IntSpan
------------------------- Conversions -----------------------------------
Returns a span that encompasses _inner.
Returns:
A new struct `IntSpan` instance
MEOS Functions:
spanset_span
func (*IntSpanSet) Union ¶
func (g_iss *IntSpanSet) Union(other interface{}) (*IntSpanSet, error)
func (IntSpanSet) Width ¶
func (g_iss IntSpanSet) Width(ignore_gap bool) int
Returns the width of the spanset. By default, i.e., when the second argument is False, the function takes into account the gaps within, i.e., returns the sum of the widths of the spans within. Otherwise, the function returns the width of the spanset ignoring any gap, i.e., the width from the lower bound of the first span to the upper bound of the last span.
Parameters:
ignore_gaps: Whether to take into account potential gaps in the spanset.
Returns:
A `float` representing the duration of the spanset
MEOS Functions:
intspanset_width
type TBoolInst ¶
type TBoolInst struct {
// contains filtered or unexported fields
}
------------------------- TBoolInst ---------------------------
func NewTBoolInst ¶
func TemporalToTBoolInst ¶
type TBoolSeq ¶
type TBoolSeq struct {
// contains filtered or unexported fields
}
------------------------- TBoolSeq ---------------------------
func NewTBoolSeq ¶
func TemporalToTBoolSeq ¶
func (*TBoolSeq) IsTSequence ¶
type TBoolSeqSet ¶
type TBoolSeqSet struct {
// contains filtered or unexported fields
}
------------------------- TBoolSeqSet ---------------------------
func NewTBoolSeqSet ¶
func NewTBoolSeqSet(tgmpi_in string) *TBoolSeqSet
func TemporalToTBoolSeqSet ¶
func TemporalToTBoolSeqSet[T Temporal](temp T) (*TBoolSeqSet, error)
func (*TBoolSeqSet) Init ¶
func (tb *TBoolSeqSet) Init(c_temp *C.Temporal)
func (*TBoolSeqSet) Inner ¶
func (tb *TBoolSeqSet) Inner() *C.Temporal
func (*TBoolSeqSet) IsTBool ¶
func (tb *TBoolSeqSet) IsTBool() bool
func (*TBoolSeqSet) String ¶
func (tb *TBoolSeqSet) String() string
func (*TBoolSeqSet) TBoolOut ¶
func (tgmpi *TBoolSeqSet) TBoolOut() string
func (*TBoolSeqSet) Type ¶
func (tb *TBoolSeqSet) Type() string
type TBox ¶
type TBox struct {
// contains filtered or unexported fields
}
func TNumberToTBox ¶
------------------------- Accessors -------------------------------------
type TFloatInst ¶
type TFloatInst struct {
// contains filtered or unexported fields
}
------------------------- TFloatInst ---------------------------
func NewTFloatInst ¶
func NewTFloatInst(tf_in string) *TFloatInst
func TemporalToTFloatInst ¶
func TemporalToTFloatInst[T Temporal](temp T) (*TFloatInst, error)
func (*TFloatInst) Init ¶
func (tf *TFloatInst) Init(c_temp *C.Temporal)
func (*TFloatInst) Inner ¶
func (tf *TFloatInst) Inner() *C.Temporal
func (*TFloatInst) IsTFloat ¶
func (tf *TFloatInst) IsTFloat() bool
func (*TFloatInst) IsTInstant ¶
func (tf *TFloatInst) IsTInstant() bool
func (*TFloatInst) IsTNumber ¶
func (tf *TFloatInst) IsTNumber() bool
func (*TFloatInst) String ¶
func (tf *TFloatInst) String() string
func (*TFloatInst) TPointOut ¶
func (tf *TFloatInst) TPointOut(maxdd int) string
func (*TFloatInst) Type ¶
func (tf *TFloatInst) Type() string
type TFloatSeq ¶
type TFloatSeq struct {
// contains filtered or unexported fields
}
------------------------- TFloatSeq ---------------------------
func NewTFloatSeq ¶
func TemporalToTFloatSeq ¶
func (*TFloatSeq) IsTSequence ¶
type TFloatSeqSet ¶
type TFloatSeqSet struct {
// contains filtered or unexported fields
}
------------------------- TFloatSeqSet ---------------------------
func NewTFloatSeqSet ¶
func NewTFloatSeqSet(tf_in string) *TFloatSeqSet
func TemporalToTFloatSeqSet ¶
func TemporalToTFloatSeqSet[T Temporal](temp T) (*TFloatSeqSet, error)
func (*TFloatSeqSet) Init ¶
func (tf *TFloatSeqSet) Init(c_temp *C.Temporal)
func (*TFloatSeqSet) Inner ¶
func (tf *TFloatSeqSet) Inner() *C.Temporal
func (*TFloatSeqSet) IsTFloat ¶
func (tf *TFloatSeqSet) IsTFloat() bool
func (*TFloatSeqSet) IsTNumber ¶
func (tf *TFloatSeqSet) IsTNumber() bool
func (*TFloatSeqSet) String ¶
func (tf *TFloatSeqSet) String() string
func (*TFloatSeqSet) TPointOut ¶
func (tf *TFloatSeqSet) TPointOut(maxdd int) string
func (*TFloatSeqSet) Type ¶
func (tf *TFloatSeqSet) Type() string
type TGeogPoint ¶
type TGeogPointInst ¶
type TGeogPointInst struct {
// contains filtered or unexported fields
}
------------------------- TGeogPointInst ---------------------------
func NewTGeogPointInst ¶
func NewTGeogPointInst(tgmpi_in string) *TGeogPointInst
func TemporalToTGeogPointInst ¶
func TemporalToTGeogPointInst[T Temporal](temp T) (*TGeogPointInst, error)
func (*TGeogPointInst) Init ¶
func (tgmpi *TGeogPointInst) Init(c_temp *C.Temporal)
func (*TGeogPointInst) Inner ¶
func (tgmpi *TGeogPointInst) Inner() *C.Temporal
func (*TGeogPointInst) IsTGeogPoint ¶
func (tgmpi *TGeogPointInst) IsTGeogPoint() bool
func (*TGeogPointInst) IsTInstant ¶
func (tgmpi *TGeogPointInst) IsTInstant() bool
func (*TGeogPointInst) IsTPoint ¶
func (tgmpi *TGeogPointInst) IsTPoint() bool
func (*TGeogPointInst) String ¶
func (tgmpi *TGeogPointInst) String() string
func (*TGeogPointInst) TPointOut ¶
func (tgmpi *TGeogPointInst) TPointOut(maxdd int) string
func (*TGeogPointInst) Type ¶
func (tgmpi *TGeogPointInst) Type() string
type TGeogPointSeq ¶
type TGeogPointSeq struct {
// contains filtered or unexported fields
}
------------------------- TGeogPointSeq ---------------------------
func NewTGeogPointSeq ¶
func NewTGeogPointSeq(tgmpi_in string) TGeogPointSeq
func TemporalToTGeogPointSeq ¶
func TemporalToTGeogPointSeq[T Temporal](temp T) (*TGeogPointSeq, error)
func (*TGeogPointSeq) Init ¶
func (tgmpi *TGeogPointSeq) Init(c_temp *C.Temporal)
func (*TGeogPointSeq) Inner ¶
func (tgmpi *TGeogPointSeq) Inner() *C.Temporal
func (*TGeogPointSeq) IsTGeogPoint ¶
func (tgmpi *TGeogPointSeq) IsTGeogPoint() bool
func (*TGeogPointSeq) IsTPoint ¶
func (tgmpi *TGeogPointSeq) IsTPoint() bool
func (*TGeogPointSeq) IsTSequence ¶
func (tgmpi *TGeogPointSeq) IsTSequence() bool
func (*TGeogPointSeq) String ¶
func (tgmpi *TGeogPointSeq) String() string
func (*TGeogPointSeq) TPointOut ¶
func (tgmpi *TGeogPointSeq) TPointOut(maxdd int) string
func (*TGeogPointSeq) Type ¶
func (tgmpi *TGeogPointSeq) Type() string
type TGeogPointSeqSet ¶
type TGeogPointSeqSet struct {
// contains filtered or unexported fields
}
------------------------- TGeogPointSeqSet ---------------------------
func NewTGeogPointSeqSet ¶
func NewTGeogPointSeqSet(tgmpi_in string) *TGeogPointSeqSet
func (*TGeogPointSeqSet) Init ¶
func (tgmpi *TGeogPointSeqSet) Init(c_temp *C.Temporal)
func (*TGeogPointSeqSet) Inner ¶
func (tgmpi *TGeogPointSeqSet) Inner() *C.Temporal
func (*TGeogPointSeqSet) IsTGeogPoint ¶
func (tgmpi *TGeogPointSeqSet) IsTGeogPoint() bool
func (*TGeogPointSeqSet) IsTPoint ¶
func (tgmpi *TGeogPointSeqSet) IsTPoint() bool
func (*TGeogPointSeqSet) String ¶
func (tgmpi *TGeogPointSeqSet) String() string
func (*TGeogPointSeqSet) TPointOut ¶
func (tgmpi *TGeogPointSeqSet) TPointOut(maxdd int) string
func (*TGeogPointSeqSet) Type ¶
func (tgmpi *TGeogPointSeqSet) Type() string
type TGeomPoint ¶
type TGeomPointInst ¶
type TGeomPointInst struct {
// contains filtered or unexported fields
}
------------------------- TGeomPointInst ---------------------------
func NewEmptyTGeomPointInst ¶
func NewEmptyTGeomPointInst() TGeomPointInst
func NewTGeomPointInst ¶
func NewTGeomPointInst(tgmpi_in string) TGeomPointInst
func NewTGeomPointInstInner ¶
func NewTGeomPointInstInner(inner *C.Temporal) *TGeomPointInst
func TemporalToGeomPointInst ¶
func TemporalToGeomPointInst[T Temporal](temp T) (*TGeomPointInst, error)
func (*TGeomPointInst) Init ¶
func (tb *TGeomPointInst) Init(c_temp *C.Temporal)
func (*TGeomPointInst) Inner ¶
func (tb *TGeomPointInst) Inner() *C.Temporal
func (*TGeomPointInst) IsTGeomPoint ¶
func (tb *TGeomPointInst) IsTGeomPoint() bool
func (*TGeomPointInst) IsTInstant ¶
func (tgmpi *TGeomPointInst) IsTInstant() bool
func (*TGeomPointInst) IsTPoint ¶
func (tgmpi *TGeomPointInst) IsTPoint() bool
func (*TGeomPointInst) String ¶
func (tgmpi *TGeomPointInst) String() string
func (*TGeomPointInst) TInstantOut ¶
func (tgmpi *TGeomPointInst) TInstantOut(maxdd int) string
func (*TGeomPointInst) TPointOut ¶
func (tgmpi *TGeomPointInst) TPointOut(maxdd int) string
func (*TGeomPointInst) TimestampOut ¶
func (tgmpi *TGeomPointInst) TimestampOut() string
func (*TGeomPointInst) Timestamptz ¶
func (tgmpi *TGeomPointInst) Timestamptz() time.Time
func (*TGeomPointInst) Type ¶
func (tgmpi *TGeomPointInst) Type() string
type TGeomPointSeq ¶
type TGeomPointSeq struct {
// contains filtered or unexported fields
}
------------------------- TGeomPointSeq ---------------------------
func NewTGeomPointSeq ¶
func NewTGeomPointSeq(tgmpi_in string) *TGeomPointSeq
func NewTGeomPointSeqFromWKB ¶
func NewTGeomPointSeqFromWKB(tgmpi_in string) *TGeomPointSeq
func TemporalToTGeomPointSeq ¶
func TemporalToTGeomPointSeq[T Temporal](temp T) (*TGeomPointSeq, error)
func (*TGeomPointSeq) Init ¶
func (tgmpi *TGeomPointSeq) Init(c_temp *C.Temporal)
func (*TGeomPointSeq) Inner ¶
func (tgmpi *TGeomPointSeq) Inner() *C.Temporal
func (*TGeomPointSeq) IsTGeomPoint ¶
func (tgmpi *TGeomPointSeq) IsTGeomPoint() bool
func (*TGeomPointSeq) IsTPoint ¶
func (tgmpi *TGeomPointSeq) IsTPoint() bool
func (*TGeomPointSeq) IsTSequence ¶
func (tgmpi *TGeomPointSeq) IsTSequence() bool
func (*TGeomPointSeq) NewInit ¶
func (tgmpi *TGeomPointSeq) NewInit(c_temp *C.Temporal) *TGeomPointSeq
func (*TGeomPointSeq) String ¶
func (tgmpi *TGeomPointSeq) String() string
func (*TGeomPointSeq) TPointOut ¶
func (tgmpi *TGeomPointSeq) TPointOut(maxdd int) string
func (*TGeomPointSeq) Type ¶
func (tgmpi *TGeomPointSeq) Type() string
type TGeomPointSeqSet ¶
type TGeomPointSeqSet struct {
// contains filtered or unexported fields
}
------------------------- TGeomPointSeqSet ---------------------------
func NewTGeomPointSeqSet ¶
func NewTGeomPointSeqSet(tgmpi_in string) *TGeomPointSeqSet
func TemporalToTGeomPointSeqSet ¶
func TemporalToTGeomPointSeqSet[T Temporal](temp T) (*TGeomPointSeqSet, error)
func (*TGeomPointSeqSet) Init ¶
func (tb *TGeomPointSeqSet) Init(c_temp *C.Temporal)
func (*TGeomPointSeqSet) Inner ¶
func (tb *TGeomPointSeqSet) Inner() *C.Temporal
func (*TGeomPointSeqSet) IsTGeomPoint ¶
func (tb *TGeomPointSeqSet) IsTGeomPoint() bool
func (*TGeomPointSeqSet) IsTPoint ¶
func (tgmpi *TGeomPointSeqSet) IsTPoint() bool
func (*TGeomPointSeqSet) String ¶
func (tgmpi *TGeomPointSeqSet) String() string
func (*TGeomPointSeqSet) TPointOut ¶
func (tgmpi *TGeomPointSeqSet) TPointOut(maxdd int) string
func (*TGeomPointSeqSet) Type ¶
func (tgmpi *TGeomPointSeqSet) Type() string
type TIntInst ¶
type TIntInst struct {
// contains filtered or unexported fields
}
------------------------- TIntInst ---------------------------
func NewTIntInst ¶
func TemporalToTIntInst ¶
type TIntSeq ¶
type TIntSeq struct {
// contains filtered or unexported fields
}
------------------------- TIntSeq ---------------------------
func NewTIntSeq ¶
func TemporalToTIntSeq ¶
func (*TIntSeq) IsTSequence ¶
type TIntSeqSet ¶
type TIntSeqSet struct {
// contains filtered or unexported fields
}
------------------------- TIntSeqSet ---------------------------
func NewTIntSeqSet ¶
func NewTIntSeqSet(tf_in string) *TIntSeqSet
func TemporalToTIntSeqSet ¶
func TemporalToTIntSeqSet[T Temporal](temp T) (*TIntSeqSet, error)
func (*TIntSeqSet) Init ¶
func (tb *TIntSeqSet) Init(c_temp *C.Temporal)
func (*TIntSeqSet) Inner ¶
func (tb *TIntSeqSet) Inner() *C.Temporal
func (*TIntSeqSet) IsTInt ¶
func (tb *TIntSeqSet) IsTInt() bool
func (*TIntSeqSet) IsTNumber ¶
func (tb *TIntSeqSet) IsTNumber() bool
func (*TIntSeqSet) String ¶
func (tb *TIntSeqSet) String() string
func (*TIntSeqSet) TIntOut ¶
func (tf *TIntSeqSet) TIntOut() string
func (*TIntSeqSet) Type ¶
func (tb *TIntSeqSet) Type() string
type TSequenceSet ¶
type TTextInst ¶
type TTextInst struct {
// contains filtered or unexported fields
}
------------------------- TTextInst ---------------------------
func TemporalToTTextInst ¶
type TTextSeq ¶
type TTextSeq struct {
// contains filtered or unexported fields
}
------------------------- TTextSeq ---------------------------
func TemporalToTTextSeq ¶
func (*TTextSeq) IsTSequence ¶
type TTextSeqSet ¶
type TTextSeqSet struct {
// contains filtered or unexported fields
}
------------------------- TTextSeqSet ---------------------------
func TemporalToTTextSeqSet ¶
func TemporalToTTextSeqSet[T Temporal](temp T) (*TTextSeqSet, error)
func (*TTextSeqSet) Init ¶
func (tb *TTextSeqSet) Init(c_temp *C.Temporal)
func (*TTextSeqSet) Inner ¶
func (tb *TTextSeqSet) Inner() *C.Temporal
func (*TTextSeqSet) IsTText ¶
func (tb *TTextSeqSet) IsTText() bool
func (*TTextSeqSet) String ¶
func (tb *TTextSeqSet) String() string
func (*TTextSeqSet) TTextOut ¶
func (tb *TTextSeqSet) TTextOut() string
func (*TTextSeqSet) Type ¶
func (tb *TTextSeqSet) Type() string
type Temporal ¶
func CreateTemporal ¶
------------------------- Factory ----------------------------------
func TBoolAtValue ¶
------------------------- TODO:Ever and Always Comparisons ------------------- ------------------------- TODO:Temporal Comparisons -------------------------- ------------------------- Restrictions ----------------------------------
func TBoolMinusValue ¶
func TFloatToTInt ¶
------------------------- Conversions ----------------------------------
func TemporalAtMax ¶
func TemporalAtMin ¶
func TemporalAtTimestamptz ¶
------------------------- TODO:Transformations ------------------------------- ------------------------- TODO:Modifications --------------------------------- ------------------------- Restrictions ----------------------------------
func TemporalAtTsTzSet ¶
func TemporalAtTsTzSpan ¶
func TemporalAtTsTzSpanSet ¶
func TemporalAtTsTzSpanSet[T Temporal](temp T, tstzspanset TsTzSpanSet) Temporal
func TemporalAtValues ¶
func TemporalMinusMax ¶
func TemporalMinusMin ¶
func TemporalMinusTsTzSet ¶
func TemporalMinusTsTzSpan ¶
func TemporalMinusTsTzSpanSet ¶
func TemporalMinusTsTzSpanSet[T Temporal](temp T, tstzspanset TsTzSpanSet) Temporal
func TnumberAtSpan ¶
func TnumberAtSpanSet ¶
func TnumberAtTBox ¶
func TnumberMinusSpan ¶
func TnumberMinusSpanSet ¶
func TnumberMinusTBox ¶
type TsTzSet ¶
type TsTzSet struct {
// contains filtered or unexported fields
}
func NewTsTzSet ¶
------------------------- Input ----------------------------------------
func (*TsTzSet) EndElement ¶
func (*TsTzSet) NumElements ¶
func (*TsTzSet) ShiftScale ¶
func (*TsTzSet) StartElement ¶
func (*TsTzSet) TsTzSetOut ¶
------------------------- Output ----------------------------------------
type TsTzSpan ¶
type TsTzSpan struct {
// contains filtered or unexported fields
}
func NewTsTzSpan ¶
------------------------- Input ----------------------------------------
func TemporalToTsTzSpan ¶
------------------------- Accessors -------------------------------------
func (*TsTzSpan) Duration ¶
------------------------- Accessors -------------------------------------
func (*TsTzSpan) ShiftScale ¶
------------------------- Transformations -------------------------------
func (*TsTzSpan) ToSpanSet ¶
func (g_tts *TsTzSpan) ToSpanSet() TsTzSpanSet
------------------------- Conversions -----------------------------------
func (*TsTzSpan) TsTzSpanOut ¶
------------------------- Output ----------------------------------------
type TsTzSpanSet ¶
type TsTzSpanSet struct {
// contains filtered or unexported fields
}
func NewTsTzSpanSet ¶
func NewTsTzSpanSet(g_tts_in string) *TsTzSpanSet
------------------------- Input ----------------------------------------
func TemporalTime ¶
func TemporalTime[T Temporal](temp T) *TsTzSpanSet
func (*TsTzSpanSet) Duration ¶
func (g_tts *TsTzSpanSet) Duration(ignore_gap bool) timeutil.Timedelta
------------------------- Accessors -------------------------------------
func (*TsTzSpanSet) EndSpan ¶
func (g_tts *TsTzSpanSet) EndSpan() TsTzSpan
func (*TsTzSpanSet) EndTimestamp ¶
func (g_tts *TsTzSpanSet) EndTimestamp() time.Time
func (*TsTzSpanSet) NumSpans ¶
func (g_tts *TsTzSpanSet) NumSpans() int
func (*TsTzSpanSet) NumTimestamps ¶
func (g_tts *TsTzSpanSet) NumTimestamps() int
func (*TsTzSpanSet) Scale ¶
func (g_tts *TsTzSpanSet) Scale(duration interface{}) (*TsTzSpanSet, error)
func (*TsTzSpanSet) Shift ¶
func (g_tts *TsTzSpanSet) Shift(delta interface{}) (*TsTzSpanSet, error)
func (*TsTzSpanSet) ShiftScale ¶
func (g_tts *TsTzSpanSet) ShiftScale(shift interface{}, duration interface{}) (*TsTzSpanSet, error)
------------------------- Transformations -------------------------------
func (*TsTzSpanSet) SpanN ¶
func (g_tts *TsTzSpanSet) SpanN(n int) TsTzSpan
func (*TsTzSpanSet) Spans ¶
func (g_tts *TsTzSpanSet) Spans() []TsTzSpan
func (*TsTzSpanSet) StartSpan ¶
func (g_tts *TsTzSpanSet) StartSpan() TsTzSpan
func (*TsTzSpanSet) StartTimestamp ¶
func (g_tts *TsTzSpanSet) StartTimestamp() time.Time
func (*TsTzSpanSet) TimestampN ¶
func (g_tts *TsTzSpanSet) TimestampN(n int) time.Time
func (*TsTzSpanSet) Timestamps ¶
func (g_tts *TsTzSpanSet) Timestamps() []time.Time
func (*TsTzSpanSet) ToSpan ¶
func (g_tts *TsTzSpanSet) ToSpan() *TsTzSpan
------------------------- Conversions -----------------------------------
func (*TsTzSpanSet) ToTsTzSpan ¶
func (g_tts *TsTzSpanSet) ToTsTzSpan() *TsTzSpan
func (*TsTzSpanSet) TsTzSpanSetOut ¶
func (g_tts *TsTzSpanSet) TsTzSpanSetOut() string
------------------------- Output ----------------------------------------
Source Files ¶
- box_stbox.go
- box_tbox.go
- datetime_dateset.go
- datetime_datespan.go
- datetime_datespanset.go
- datetime_interface.go
- datetime_tstzset.go
- datetime_tstzspan.go
- datetime_tstzspanset.go
- datetime_utils.go
- geo.go
- gomeos.go
- interfaces.go
- main_tbool.go
- main_tfloat.go
- main_tgeogpoint.go
- main_tgeompoint.go
- main_tint.go
- main_tnumber.go
- main_tpoint.go
- main_ttext.go
- meos_init.go
- number_floatset.go
- number_floatspan.go
- number_floatspanset.go
- number_intset.go
- number_intspan.go
- number_intspanset.go
- sss_spanset.go
- temp_temporal.go
- temp_tinstant.go
- temp_tsequence.go
- temp_tsequenceset.go