Package org.n52.svalbard.encode
Interface ObservationEncoder<S,T>
- Type Parameters:
S- the input type, the "Source"T- the resulting type, the "Target"
- All Superinterfaces:
Component<EncoderKey>,ConformanceClass,Encoder<S,,T> Keyed<EncoderKey>
- All Known Implementing Classes:
UVFEncoder
- Since:
- 1.0.0
-
Method Summary
Modifier and TypeMethodDescriptiondefault StringIndicator whether the procedure is to be encodedgetSupportedResponseFormats(String service, String version) Get the supported response formats for this ObservationEncoder and the specified service and version.booleanIndicator whether the ObservationEncoder of type or subtype Observation & Measurement 2.0booleanIndicator whether the single observations with the same procedure, observableProperty and featureOfInterest should be merged to one observation.booleanMethods inherited from interface org.n52.svalbard.ConformanceClass
getConformanceClassesMethods inherited from interface org.n52.svalbard.encode.Encoder
encode, encode, getContentType, getSupportedTypes
-
Method Details
-
isObservationAndMeasurmentV20Type
boolean isObservationAndMeasurmentV20Type()Indicator whether the ObservationEncoder of type or subtype Observation & Measurement 2.0- Returns:
- Of type or not
-
shouldObservationsWithSameXBeMerged
boolean shouldObservationsWithSameXBeMerged()Indicator whether the single observations with the same procedure, observableProperty and featureOfInterest should be merged to one observation.- Returns:
- Merge or not
-
supportsResultStreamingForMergedValues
boolean supportsResultStreamingForMergedValues() -
getSupportedResponseFormats
Get the supported response formats for this ObservationEncoder and the specified service and version.- Parameters:
service- the serviceversion- the version- Returns:
- the response formats
-
getSupportedResponseFormats
-
getSupportedResponseFormatObservationTypes
Map<String,Set<SupportedType>> getSupportedResponseFormatObservationTypes() -
getProcedureEncodingNamspace
Indicator whether the procedure is to be encoded- Returns:
- Indicator
-