org.gcube.datapublishing.sdmx.impl.datasource
Class GCubeSDMXDatasourceClientImpl
java.lang.Object
org.gcube.datapublishing.sdmx.impl.datasource.GCubeSDMXDatasourceClientImpl
- All Implemented Interfaces:
- GCubeSDMXDatasourceClient
public class GCubeSDMXDatasourceClientImpl
- extends Object
- implements GCubeSDMXDatasourceClient
|
Method Summary |
InputStream |
dataQuery(String flowRef,
String key,
String providerRef,
Integer firstNObservations,
GCubeSDMXDatasourceClient.DataDetail detail,
org.gcube.datapublishing.sdmx.impl.data.DataDocumentVersion documentVersion)
|
List<org.gcube.datapublishing.sdmx.impl.data.TimeseriesRegistration> |
getTimeseriesRegistrations()
|
void |
registerTimeseries(String flowAgencyId,
String flowId,
String flowVersion,
String providerAgencyId,
String providerId,
String timeseriesId,
String timeseriesServiceScope,
String registryScope)
|
void |
removeTimeseriesRegistration(String flowAgencyId,
String flowId,
String flowVersion,
String providerAgencyId,
String providerId)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GCubeSDMXDatasourceClientImpl
@Autowired
public GCubeSDMXDatasourceClientImpl(GCubeSDMXDatasourceDescriptor datasource)
registerTimeseries
public void registerTimeseries(String flowAgencyId,
String flowId,
String flowVersion,
String providerAgencyId,
String providerId,
String timeseriesId,
String timeseriesServiceScope,
String registryScope)
throws Exception
- Specified by:
registerTimeseries in interface GCubeSDMXDatasourceClient
- Throws:
Exception
getTimeseriesRegistrations
public List<org.gcube.datapublishing.sdmx.impl.data.TimeseriesRegistration> getTimeseriesRegistrations()
throws Exception
- Specified by:
getTimeseriesRegistrations in interface GCubeSDMXDatasourceClient
- Throws:
Exception
dataQuery
public InputStream dataQuery(String flowRef,
String key,
String providerRef,
Integer firstNObservations,
GCubeSDMXDatasourceClient.DataDetail detail,
org.gcube.datapublishing.sdmx.impl.data.DataDocumentVersion documentVersion)
throws org.sdmxsource.sdmx.api.exception.SdmxException
- Specified by:
dataQuery in interface GCubeSDMXDatasourceClient
- Throws:
org.sdmxsource.sdmx.api.exception.SdmxException
removeTimeseriesRegistration
public void removeTimeseriesRegistration(String flowAgencyId,
String flowId,
String flowVersion,
String providerAgencyId,
String providerId)
throws Exception
- Specified by:
removeTimeseriesRegistration in interface GCubeSDMXDatasourceClient
- Throws:
Exception
Copyright © 2013. All Rights Reserved.