Operations for Temporal Types: Analytics Operations

Simplification

Reduction

  • tsample: Sample a temporal value with respect to an interval

  • tprecision: Reduce the temporal precision of a temporal value with respect to an interval computing the time-weighted average/centroid in each time bin

Similarity

Splitting Operations

  • splitNSpans: Return an array of N time spans obtained by merging the instants or segments of a temporal value

  • splitEachNSpans: Return an array of time spans obtained by merging N consecutive instants or segments of a temporal value

  • splitNTboxes: Return an array of N temporal boxes obtained by merging the instants or segments of a temporal number

  • splitEachNTboxes: Return an array of temporal boxes obtained by merging N consecutive instants or segments of a temporal number

  • splitNStboxes: Return either an array of N spatial boxes obtained by merging the segments of a (multi)line or an array of N spatiotemporal boxes obtained by merging the instants or segments of a temporal point

  • splitEachNStboxes: Return either an array of spatial boxes obtained by merging N consecutive segments of a (multi)line or an array of spatiotemporal boxes obtained by merging N consecutive instants or segments of a temporal point

Multidimensional Tiling

Bin Operations

  • bins: Return a set of bins that cover a value or time span with bins of the same width or duration

  • getBin: Return the bin that contains a number or a timestamp

Tile Operations

Bounding Box Operations

  • valueBins, timeBins: Return an array of value or times spans obtained from the instants or segments of a temporal number with respect to a value or time grid

  • valueBoxes, timeBoxes, valueTimeBoxes: Return an array of temporal boxes obtained from the instants or segments of a temporal number with respect to a value and/or time grid

  • spaceBoxes, timeBoxes, spaceTimeBoxes: Return an array of spatiotemporal boxes obtained from the instants or segments of a temporal point with respect to a space and/or time grid

Splitting Operations

Aggregations