S - Entity typepublic abstract class StreamingValue<S> extends AbstractStreaming
| Constructor and Description |
|---|
StreamingValue() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
checkForModifications(OmObservation observation)
Check and modify observation for Spatial Filtering Profile and requested
crs
|
protected GeometryTransformer |
getGeometryTransformer() |
OmObservation |
getObservationTemplate() |
Time |
getPhenomenonTime()
Get phenomenon or sampling time of the observation
|
TimeInstant |
getResultTime() |
String |
getUnit() |
Time |
getValidTime() |
Value<ObservationStream> |
getValue()
Get observation value
|
boolean |
isSetPhenomenonTime() |
boolean |
isSetResultTime() |
boolean |
isSetUnit() |
boolean |
isSetValidTime() |
abstract S |
nextEntity()
Get the next entity
|
abstract TimeValuePair |
nextValue()
Get next
TimeValuePair from entity |
protected abstract void |
queryTimes()
Query times
|
protected abstract void |
queryUnit()
query unit
|
void |
setGeometryTransformer(GeometryTransformer geometryTransformer) |
void |
setObservationTemplate(OmObservation observationTemplate)
Set the observation template which contains all metadata
|
void |
setPhenomenonTime(Time phenomenonTime)
Set phenomenon or sampling time of the observation
|
protected void |
setResultTime(TimeInstant resultTime) |
void |
setUnit(String unit) |
protected void |
setValidTime(Time validTime) |
void |
setValue(Value<ObservationStream> value)
Set observation value
|
add, checkMaxNumberOfReturnedValues, contains, getAdditionalRequestParams, getMaxNumberOfValues, getObservationMergeIndicator, getResponseFormat, hasNext, isSetAdditionalRequestParams, isSetValue, next, setMaxNumberOfValues, setObservationMergeIndicator, setResponseFormatgetDecimalSeparator, getDefaultPointMetadata, getMetadata, getObservableProperty, getObservationID, getObservationType, getTokenSeparator, getTupleSeparator, isSetDecimalSeparator, isSetDefaultPointMetadata, isSetMetadata, isSetObservablePropertyD, isSetObservationID, isSetObservationType, isSetTokenSeparator, isSetTupleSeparator, setDecimalSeparator, setDefaultPointMetadata, setMetadata, setObservationID, setValuesForResultEncodingclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitclose, collect, empty, filter, findAny, findFirst, flatMap, map, merge, merge, modify, of, of, of, toStreamforEachRemaining, removepublic abstract S nextEntity() throws OwsExceptionReport
OwsExceptionReport - If an error occursprotected abstract void queryTimes()
protected abstract void queryUnit()
public abstract TimeValuePair nextValue() throws OwsExceptionReport
TimeValuePair from entityTimeValuePairOwsExceptionReport - If an error occursprotected GeometryTransformer getGeometryTransformer()
public void setGeometryTransformer(GeometryTransformer geometryTransformer)
geometryTransformer - the geometryTransformer to setpublic void setObservationTemplate(OmObservation observationTemplate)
observationTemplate - Observation template to setpublic OmObservation getObservationTemplate()
public Time getPhenomenonTime()
ObservationValuepublic void setPhenomenonTime(Time phenomenonTime)
ObservationValuephenomenonTime - Phenomenon or sampling time of the observationpublic boolean isSetPhenomenonTime()
public Value<ObservationStream> getValue()
ObservationValuepublic void setValue(Value<ObservationStream> value)
ObservationValuevalue - Observation valuepublic String getUnit()
getUnit in class AbstractObservationValue<Value<ObservationStream>>public void setUnit(String unit)
setUnit in class AbstractObservationValue<Value<ObservationStream>>unit - the unit to setpublic boolean isSetUnit()
isSetUnit in class AbstractObservationValue<Value<ObservationStream>>public TimeInstant getResultTime()
protected void setResultTime(TimeInstant resultTime)
public boolean isSetResultTime()
public Time getValidTime()
protected void setValidTime(Time validTime)
public boolean isSetValidTime()
protected void checkForModifications(OmObservation observation) throws OwsExceptionReport
AbstractStreamingcheckForModifications in class AbstractStreamingobservation - OmObservation to checkOwsExceptionReport - If an error occurs when modifying the OmObservationCopyright © 2015–2021 52North Initiative for Geospatial Open Source Software GmbH. All rights reserved.