/  Yamcs HTTP API  /  Table  /  Rebuild Histogram

Rebuild HistogramΒΆ

Rebuilds histograms. This is required after a table load.

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

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 {
}