Time Series Management

From Gcube Wiki
Revision as of 17:07, 26 June 2012 by Lucio.lelii (Talk | contribs) (How To Access TimeSeries data)

Jump to: navigation, search

Time Series Management and Analysis facilities.


Overview

The TimeSeriesManagerService is an application that offers facilities to import, curate and access time series data. The main goal of this service is to elaborate large amount of time series data in real time applying multiple operations: aggregation, union, grouping, filters etc.

Architecture

The interface of the TimeSeries Manager service is distributed across 6 port-types:

  • the ImportFactory port-type serves as the interface of a single WS-Resource, it allows clients to create new import resources (ImportManager instances).
  • the ImportManager port-type allows clients to import new time series offering operation like import, de-normalization etc.
  • the CurationFactory port-type serves as the interface of a single WS-Resource, it allows clients to create new curation resources (CurationManager instances).
  • the CurationManager port-type allows clients to curate time series offering operation like set column type, replace value etc.
  • the TimeSeriesFactory port-type serves as the interface of a single WS-Resource, it allows clients to create new time series resources (TimeSeriesManager instances).
  • the TimeSeriesManager port-type allows clients to operate on time series offering operation like union, grouping, aggregation etc.


How To Access TimeSeries data

TimeSeries offers an high-level library for interaction included in the TimeSeriesServiceStubs. This library offers facilities for service retrieving simply instantiating a TimeSeriesFactoryCall Object passing as argument a GCUBEScope and a SecurityManager Array.

GCUBEScope scope= ..some scope..
//running without security
GCUBESecurityManager secMan= new GCUBESecurityManagerImpl(){
 			@Override
			public boolean isSecurityEnabled() {
				return false;
			}
 
		};
 
TimeSeriesFactoryCall fc= new TimeSeriesFactoryCall(scope, new GCUBESecurityManager[]{secMan});