public abstract class AbstractStreaming extends AbstractObservationValue<Value<ObservationStream>> implements ObservationStream
| Constructor and Description |
|---|
AbstractStreaming() |
| Modifier and Type | Method and Description |
|---|---|
void |
add(OWSConstants.AdditionalRequestParams parameter,
Object object) |
protected abstract void |
checkForModifications(OmObservation observation)
Check and modify observation for Spatial Filtering Profile and requested
crs
|
protected void |
checkMaxNumberOfReturnedValues(int size)
Check if the max number of returned values is exceeded
|
boolean |
contains(OWSConstants.AdditionalRequestParams parameter) |
protected Object |
getAdditionalRequestParams(OWSConstants.AdditionalRequestParams parameter) |
int |
getMaxNumberOfValues() |
ObservationMergeIndicator |
getObservationMergeIndicator() |
String |
getResponseFormat() |
abstract boolean |
hasNext() |
boolean |
isSetAdditionalRequestParams() |
boolean |
isSetValue() |
abstract OmObservation |
next() |
void |
setMaxNumberOfValues(int maxNumberOfValues) |
void |
setObservationMergeIndicator(ObservationMergeIndicator mergeIndicator) |
void |
setResponseFormat(String responseFormat) |
getDecimalSeparator, getDefaultPointMetadata, getMetadata, getObservableProperty, getObservationID, getObservationType, getTokenSeparator, getTupleSeparator, getUnit, isSetDecimalSeparator, isSetDefaultPointMetadata, isSetMetadata, isSetObservablePropertyD, isSetObservationID, isSetObservationType, isSetTokenSeparator, isSetTupleSeparator, isSetUnit, setDecimalSeparator, setDefaultPointMetadata, setMetadata, setObservationID, setUnit, 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, removegetPhenomenonTime, getValue, setPhenomenonTime, setValuepublic abstract OmObservation next() throws NoSuchElementException, OwsExceptionReport
next in interface ThrowingIterator<OmObservation,OwsExceptionReport>NoSuchElementExceptionOwsExceptionReportpublic abstract boolean hasNext()
throws OwsExceptionReport
hasNext in interface ThrowingIterator<OmObservation,OwsExceptionReport>OwsExceptionReportprotected abstract void checkForModifications(OmObservation observation) throws OwsExceptionReport
observation - OmObservation to checkOwsExceptionReport - If an error occurs when modifying the OmObservationpublic void add(OWSConstants.AdditionalRequestParams parameter, Object object)
public boolean contains(OWSConstants.AdditionalRequestParams parameter)
public boolean isSetAdditionalRequestParams()
protected Object getAdditionalRequestParams(OWSConstants.AdditionalRequestParams parameter)
public boolean isSetValue()
isSetValue in interface ObservationValue<Value<ObservationStream>>public void setResponseFormat(String responseFormat)
public String getResponseFormat()
public int getMaxNumberOfValues()
public void setMaxNumberOfValues(int maxNumberOfValues)
maxNumberOfValues - the maxNumberOfValues to setprotected void checkMaxNumberOfReturnedValues(int size)
throws OwsExceptionReport
size - Max number countCodedException - If the size limit is exceededOwsExceptionReportpublic void setObservationMergeIndicator(ObservationMergeIndicator mergeIndicator)
public ObservationMergeIndicator getObservationMergeIndicator()
Copyright © 2015–2021 52North Initiative for Geospatial Open Source Software GmbH. All rights reserved.