OSID Logo
OSID Specifications
metering package
Version 3.1.0
Interfaceosid.metering.StatisticSearchOrder
Implementsosid.OsidCompendiumSearchOrder
Used Byosid.metering.StatisticSearchSession
osid.metering.StatisticSmartUtilitySession
Description

An interface for specifying the ordering of search results.

MethodorderByMeter
Description

Specified a preference for ordering results by the metered object.

Parametersosid.SearchOrderStylestyle a search order style
ErrorsNULL_ARGUMENT style is null
Compliancemandatory This method must be implemented.
MethodsupportsMeterSearchOrder
Description

Tests if a MeterSearchOrder is available.

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

Gets the search order for a meter.

Returnosid.metering.MeterSearchOrder the meter search order
ErrorsUNIMPLEMENTED supportsMeterSearchOrder() is false
Complianceoptional This method must be implemented if supportsMeterSearchOrder() is true.
MethodorderByMeteredObject
Description

Specified a preference for ordering results by the metered object.

Parametersosid.SearchOrderStylestyle a search order style
ErrorsNULL_ARGUMENT style is null
Compliancemandatory This method must be implemented.
MethodorderBySum
Description

Specified a preference for ordering results by the sum.

Parametersosid.SearchOrderStylestyle a search order style
ErrorsNULL_ARGUMENT style is null
Compliancemandatory This method must be implemented.
MethodorderByMean
Description

Specified a preference for ordering results by the mean.

Parametersosid.SearchOrderStylestyle a search order style
ErrorsNULL_ARGUMENT style is null
Compliancemandatory This method must be implemented.
MethodorderByMedian
Description

Specified a preference for ordering results by the median.

Parametersosid.SearchOrderStylestyle a search order style
ErrorsNULL_ARGUMENT style is null
Compliancemandatory This method must be implemented.
MethodorderByMode
Description

Specified a preference for ordering results by the mode.

Parametersosid.SearchOrderStylestyle a search order style
ErrorsNULL_ARGUMENT style is null
Compliancemandatory This method must be implemented.
MethodorderByStandardDeviation
Description

Specified a preference for ordering results by the standard deviation.

Parametersosid.SearchOrderStylestyle a search order style
ErrorsNULL_ARGUMENT style is null
Compliancemandatory This method must be implemented.
MethodorderByRMS
Description

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

Parametersosid.SearchOrderStylestyle a search order style
ErrorsNULL_ARGUMENT style is null
Compliancemandatory This method must be implemented.
MethodorderByDelta
Description

Specified a preference for ordering results by the delta.

Parametersosid.SearchOrderStylestyle a search order style
ErrorsNULL_ARGUMENT style is null
Compliancemandatory This method must be implemented.
MethodorderByPercentChange
Description

Specified a preference for ordering results by the percent change.

Parametersosid.SearchOrderStylestyle a search order style
ErrorsNULL_ARGUMENT style is null
Compliancemandatory This method must be implemented.
MethodorderByAverageRate
Description

Specified a preference for ordering results by the average rate.

Parametersosid.SearchOrderStylestyle a search order style
ErrorsNULL_ARGUMENT style is null
Compliancemandatory This 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.TypestatisticRecordType a statistic record type
Returnosid.metering.records.StatisticSearchOrderRecord the statistic search order record
ErrorsNULL_ARGUMENT statisticRecordType is null
OPERATION_FAILED unable to complete request
UNSUPPORTED hasRecordType(statisticRecordType) is false
Compliancemandatory This method must be implemented.