de.unibayreuth.bayceer.goatserver.handler.inf
Interface IAggregationTableHandler


public interface IAggregationTableHandler

Manage aggregated measurement values (secured)

Author:
oliver

Method Summary
 java.util.Vector getMatrix(java.util.Vector ids, java.util.Vector timeFilter, java.util.Vector aggregateFilter, java.lang.Boolean withCounts)
          Get Matrix of aggregated series values
 java.util.Vector getRows(java.lang.Integer primaryKey, java.util.Vector timeFilter, java.util.Vector aggregateFilter)
          Get aggregated measurement values
 

Method Detail

getRows

java.util.Vector getRows(java.lang.Integer primaryKey,
                         java.util.Vector timeFilter,
                         java.util.Vector aggregateFilter)
                         throws org.apache.xmlrpc.XmlRpcException
Get aggregated measurement values

Parameters:
primaryKey - series identifier
timeFilter - vector of values
  1. start as Date
  2. end as Date
aggregateFilter - vector of values
  1. aggregate function id as integer
  2. aggregate interval id as integer
Returns:
vector of rows
  1. aggregation time as date
  2. aggregation value as double
  3. count of input values in aggregation function as integer
Throws:
org.apache.xmlrpc.XmlRpcException
See Also:
ILookUpTableHandler.getAgrFunktionen(), ILookUpTableHandler.getAgrIntervalle()

getMatrix

java.util.Vector getMatrix(java.util.Vector ids,
                           java.util.Vector timeFilter,
                           java.util.Vector aggregateFilter,
                           java.lang.Boolean withCounts)
                           throws org.apache.xmlrpc.XmlRpcException
Get Matrix of aggregated series values

Parameters:
ids - vector of series identifiers as int
timeFilter - vector of values
  1. start as Date
  2. end as Date
aggregateFilter - vector of values:
  1. aggregation function id as int
  2. aggregation interval id as int
withCounts - flag to export number of aggregation function input values
Returns:
vector
Throws:
org.apache.xmlrpc.XmlRpcException
Since:
1.7