OSID Logo
OSID Specifications
metering package
Version 3.0.0
Release Candidate Preview
Interfaceosid.metering.StatisticSearchOrder
Implementsosid.OsidCompendiumSearchOrder
Description

An interface for specifying the ordering of search results.

MethodorderByMeter
Description

Specified a preference for ordering results by the metered object.

Parametersosid.SearchOrderStylestylea search order style
ErrorsNULL_ARGUMENT style is null
CompliancemandatoryThis method must be implemented.
MethodsupportsMeterSearchOrder
Description

Tests if a MeterSearchOrder is available.

Returnboolean true if a meter search order is available, false otherwise
CompliancemandatoryThis method must be implemented.
MethodgetMeterSearchOrder
Description

Gets the search order for a meter.

Returnosid.metering.MeterSearchOrderthe meter search order
ErrorsUNIMPLEMENTED supportsMeterSearchOrder() is false
ComplianceoptionalThis method must be implemented if supportsMeterSearchOrder() is true.
MethodorderByMeteredObject
Description

Specified a preference for ordering results by the metered object.

Parametersosid.SearchOrderStylestylea search order style
ErrorsNULL_ARGUMENT style is null
CompliancemandatoryThis method must be implemented.
MethodorderBySum
Description

Specified a preference for ordering results by the sum.

Parametersosid.SearchOrderStylestylea search order style
ErrorsNULL_ARGUMENT style is null
CompliancemandatoryThis method must be implemented.
MethodorderByMean
Description

Specified a preference for ordering results by the mean.

Parametersosid.SearchOrderStylestylea search order style
ErrorsNULL_ARGUMENT style is null
CompliancemandatoryThis method must be implemented.
MethodorderByMedian
Description

Specified a preference for ordering results by the median.

Parametersosid.SearchOrderStylestylea search order style
ErrorsNULL_ARGUMENT style is null
CompliancemandatoryThis method must be implemented.
MethodorderByMode
Description

Specified a preference for ordering results by the mode.

Parametersosid.SearchOrderStylestylea search order style
ErrorsNULL_ARGUMENT style is null
CompliancemandatoryThis method must be implemented.
MethodorderByStandardDeviation
Description

Specified a preference for ordering results by the standard deviation.

Parametersosid.SearchOrderStylestylea search order style
ErrorsNULL_ARGUMENT style is null
CompliancemandatoryThis method must be implemented.
MethodorderByRMS
Description

Specified a preference for ordering results by the root mean square.

Parametersosid.SearchOrderStylestylea search order style
ErrorsNULL_ARGUMENT style is null
CompliancemandatoryThis method must be implemented.
MethodorderByDelta
Description

Specified a preference for ordering results by the delta.

Parametersosid.SearchOrderStylestylea search order style
ErrorsNULL_ARGUMENT style is null
CompliancemandatoryThis method must be implemented.
MethodorderByPercentChange
Description

Specified a preference for ordering results by the percent change.

Parametersosid.SearchOrderStylestylea search order style
ErrorsNULL_ARGUMENT style is null
CompliancemandatoryThis method must be implemented.
MethodorderByAverageRate
Description

Specified a preference for ordering results by the average rate.

Parametersosid.SearchOrderStylestylea search order style
ErrorsNULL_ARGUMENT style is null
CompliancemandatoryThis method must be implemented.
MethodgetStatisticSearchOrderRecord
Description

Gets the meter search order record corresponding to the given statistic record Type. Multiple retrievals return the same underlying object.

Parametersosid.type.TypestatisticRecordTypea statistic record type
Returnosid.metering.records.StatisticSearchOrderRecordthe statistic search order record
ErrorsNULL_ARGUMENT statisticRecordType is null
OPERATION_FAILEDunable to complete request
UNSUPPORTED hasRecordType(statisticRecordType) is false
CompliancemandatoryThis method must be implemented.