Package org.n52.series.spi.geo
Class TransformingGeometryOutputService
- java.lang.Object
-
- org.n52.series.spi.srv.ParameterService<GeometryOutput>
-
- org.n52.series.spi.geo.TransformingGeometryOutputService
-
- All Implemented Interfaces:
RawDataInfo
public class TransformingGeometryOutputService extends ParameterService<GeometryOutput>
-
-
Constructor Summary
Constructors Constructor Description TransformingGeometryOutputService(ParameterService<GeometryOutput> toCompose)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanexists(String id, IoParameters parameters)If a resource exists or not.OutputCollection<GeometryOutput>getCondensedParameters(IoParameters query)OutputCollection<GeometryOutput>getExpandedParameters(IoParameters query)GeometryOutputgetParameter(String item, IoParameters query)Gets the requested item with respect to the given query parameters.OutputCollection<GeometryOutput>getParameters(String[] items, IoParameters query)Gets the requested items with respect to the given query parameters.-
Methods inherited from class org.n52.series.spi.srv.ParameterService
getRawDataService, setRawDataService
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.n52.series.spi.srv.RawDataInfo
supportsRawData
-
-
-
-
Constructor Detail
-
TransformingGeometryOutputService
public TransformingGeometryOutputService(ParameterService<GeometryOutput> toCompose)
-
-
Method Detail
-
getExpandedParameters
public OutputCollection<GeometryOutput> getExpandedParameters(IoParameters query)
- Specified by:
getExpandedParametersin classParameterService<GeometryOutput>- Parameters:
query- query parameters to control the output.- Returns:
- an output collection of expanded items.
-
getCondensedParameters
public OutputCollection<GeometryOutput> getCondensedParameters(IoParameters query)
- Specified by:
getCondensedParametersin classParameterService<GeometryOutput>- Parameters:
query- query parameters to control the output.- Returns:
- an output collection of compact items.
-
getParameters
public OutputCollection<GeometryOutput> getParameters(String[] items, IoParameters query)
Description copied from class:ParameterServiceGets the requested items with respect to the given query parameters. Note, that implementations may be aware of parameters not specified by the official timeseries API. However, at least all officially specified query parameters should be considered by all implementations.- Specified by:
getParametersin classParameterService<GeometryOutput>- Parameters:
items- a subset of item ids which are of interest.query- query parameters to control the output.- Returns:
- an output collection of expanded items which are of interest. Not known ids will be ignored.
-
getParameter
public GeometryOutput getParameter(String item, IoParameters query)
Description copied from class:ParameterServiceGets the requested item with respect to the given query parameters. Note, that implementations may be aware of parameters not specified by the official timeseries API. However, at least all officially specified query parameters should be considered by all implementations.- Specified by:
getParameterin classParameterService<GeometryOutput>- Parameters:
item- the item id of interest.query- query parameters to control the output.- Returns:
- an expanded items of interest.
-
exists
public boolean exists(String id, IoParameters parameters)
Description copied from class:ParameterServiceIf a resource exists or not.- Specified by:
existsin classParameterService<GeometryOutput>- Parameters:
id- the id of the resource.parameters- the query passed along.- Returns:
trueif the resource exists,falseotherwise.
-
-