Difference between revisions of "Time Series Management"

From Gcube Wiki
Jump to: navigation, search
(Architecture)
(How To Access TimeSeries data)
Line 24: Line 24:
  
 
== How To Access TimeSeries data ==
 
== 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 <code>TimeSeriesFactoryCall</code> Object passing as argument a <code>GCUBEScope</code> and a <code>SecurityManager Array</code>.
 +
 +
<code>
 +
//running without security
 +
GCUBESecurityManager secMan= new GCUBESecurityManagerImpl(){
 +
 +
@Override
 +
public boolean isSecurityEnabled() {
 +
return false;
 +
}
 +
 +
};
 +
 +
TimeSeriesFactoryCall fc= new TimeSeriesFactoryCall(GCUBEScope.getScope("/gcube/devsec"), new GCUBESecurityManager[]{secMan});
 +
</code>

Revision as of 16:05, 26 June 2012

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.

//running without security GCUBESecurityManager secMan= new GCUBESecurityManagerImpl(){

@Override public boolean isSecurityEnabled() { return false; }

};

TimeSeriesFactoryCall fc= new TimeSeriesFactoryCall(GCUBEScope.getScope("/gcube/devsec"), new GCUBESecurityManager[]{secMan});