/  Yamcs HTTP API  /  Table  /  Rebuild Histogram

Rebuild HistogramΒΆ

Rebuilds histograms - this is required after a table load.

Currently the time interval passed in the request will be used to select the partitions which will be rebuild - any partition overlapping with the interval will be rebuilt. If the table is not partitioned by time, the histogram for the entire table will be rebuild.

URI Template

POST /api/archive/{instance}/tables/{table}:rebuildHistogram
{instance}

Yamcs instance name.

{table}

Table name.

Request Body

interface RebuildHistogramRequest {

  // Specify a date string in ISO 8601 format. The histogram data for all
  // partitions overlapping with the [start, stop] interval will be
  // recreated.
  // If not specified, it is assumed as the start of the archive.
  start: string;  // RFC 3339 timestamp

  // Specify a date string in ISO 8601 format. The histogram data for all
  // partitions overlapping with the [start, stop] interval will be
  // recreated.
  // If not specified, it is assumed as the end of of the archive.
  stop: string;  // RFC 3339 timestamp
}

Response Type

interface RebuildHistogramResponse {
}