MobilityDB 1.1

◆ STATISTIC_KIND_ND

#define STATISTIC_KIND_ND   102

Functions for gathering statistics from temporal point columns.

Various kind of statistics are collected for both the value and the time dimensions of temporal types. The kind of statistics depends on the subtype of the temporal type, which is defined in the table schema by the typmod attribute. Please refer to the PostgreSQL file pg_statistic_d.h and the PostGIS file gserialized_estimate.c for more information about the statistics collected.

For the spatial dimension, the statistics collected are the same for all subtypes. These statistics are obtained by calling the PostGIS function gserialized_analyze_nd.

  • Slot 1
    • stakind contains the type of statistics which is STATISTIC_SLOT_2D.
    • stanumbers stores the 2D histogram of occurrence of features.
  • Slot 2
    • stakind contains the type of statistics which is STATISTIC_SLOT_ND.
    • stanumbers stores the ND histogram of occurrence of features.

For the time dimension, the statistics collected in Slots 3 and 4 depend on the subtype. Please refer to file temporal_analyze.c for more information.

Assign a number to the n-dimensional statistics kind