FETCH function interacts with the Warp 10 Storage Engine to retrieve data according to given criteria.
FETCH either accepts a list of 5 parameters or a map with the parameters. Those are defining the read access rights, the concerned Geo Time Series and the time window.
A valid read token is needed to read data with fetch. If you use a metaset and also specify a token, the token included in the metaset will be ignored.
Concerned Geo Time Series
FETCH selects Geo Time Series according to:
selectorsparameter, which is a list of selector.
selectorsis not found,
selectorparameter which is a single selector.
selectoris not found,
FETCH begins from the newest value and stop when the oldest value is collected. Thus,
end must be defined in your request and defines the newest included value in your time window. If
end is anterior to your oldest value, the result will be empty (no Geo Time Series). The span of the time window ending at
end is then defined according to:
timespanis not defined,
FETCHcollects a maximum of
countis not defined,
startis more recent than
startare permuted internally. Be careful, this means
endis included but
startis excluded from the time window.
If you want to read only Geo Time Series attributes or labels, using FIND is more efficient than fetching the last value.