Skip to main content

Statistic Extraction Service

Abstract

Statistic Extraction Service

The methods available here allow you to get average runtimes of data processing units, clear statistical data and call the recorded runtimes of a specific unit.

Find the following pages in this section:

Web Service Method: Clear Statistical Data

Abstract

Web Service Method: Clear Statistical Data

Description

Clear statistical data.

URL: /extractor/api/statistics/clear

Content-Type

Content-Type: */*

Request

Supported Methods

POST

Response

This method returns execution results in plain text format.

Web Service Method: Request Index Runtimes

Abstract

Web Service Method: Request Index Runtimes

Description

Get average runtimes per unit class in milli seconds.

URL: /extractor/api/statistics

Content-Type

Content-Type: */*

Request

Supported Methods

GET

Response

This method returns execution results in JSON format.

StatisticsResponse

Extractor statistics

Attribute

Type

Comment

statisticsResults

Array of StatisticsProfile

List of units and their statistical data

StatisticsProfile

Statistics

Attribute

Type

Comment

avgTime

Double

Average processing time

unitClassName

String

Pipeline unit

Web Service Method: Request Index Unit Runtime

Abstract

Web Service Method: Request Index Unit Runtime

Description

Get the recorded runtimes of a specific unit (up to 1000 records).

URL: /extractor/api/statistics/forclass

Request

Supported Methods

GET

Content-Type

application/x-www-form-urlencoded

HTTP Parameters

Parameter

Description

Type

Required

className

Class name of unit (unitClassName)

String

true

Response

This method returns execution results in JSON format.

RuntimeResponse

Runtime profiles of an execution class.

Attribute

Type

Comment

className

String

Human readable name of the class that was measured.

executionTimes

Array of Long

List of runtime execution times in ms