| Package | Description |
|---|---|
| org.heigit.bigspatialdata.oshdb.api.mapreducer |
Central front-end of the API.
|
| Modifier and Type | Method and Description |
|---|---|
<U extends Comparable<U> & Serializable> |
MapReducer.aggregateBy(SerializableFunction<X,U> indexer)
Sets a custom aggregation function that is used to group output results into.
|
<U extends Comparable<U> & Serializable> |
MapReducer.aggregateBy(SerializableFunction<X,U> indexer,
Collection<U> zerofill)
Sets a custom aggregation function that is used to group output results into.
|
<V extends Comparable<V> & Serializable> |
MapAggregator.aggregateBy(SerializableFunction<X,V> indexer)
Sets up aggregation by another custom index.
|
<V extends Comparable<V> & Serializable> |
MapAggregator.aggregateBy(SerializableFunction<X,V> indexer,
Collection<V> zerofill)
Sets up aggregation by another custom index.
|
<U extends Comparable<U> & Serializable,P extends org.locationtech.jts.geom.Geometry & org.locationtech.jts.geom.Polygonal> |
MapReducer.aggregateByGeometry(Map<U,P> geometries)
Sets up automatic aggregation by geometries.
|
<V extends Comparable<V> & Serializable,P extends org.locationtech.jts.geom.Geometry & org.locationtech.jts.geom.Polygonal> |
MapAggregator.aggregateByGeometry(Map<V,P> geometries)
Aggregates the results by sub-regions as well, in addition to the timestamps.
|
MapAggregator<OSHDBTimestamp,X> |
MapReducer.aggregateByTimestamp()
Sets up automatic aggregation by timestamp.
|
MapAggregator<OSHDBCombinedIndex<U,OSHDBTimestamp>,X> |
MapAggregator.aggregateByTimestamp(SerializableFunction<X,OSHDBTimestamp> indexer)
Sets up aggregation by a custom time index.
|
MapAggregator<OSHDBTimestamp,X> |
MapReducer.aggregateByTimestamp(SerializableFunction<X,OSHDBTimestamp> indexer)
Sets up aggregation by a custom time index.
|
MapAggregator<U,X> |
MapAggregator.areaOfInterest(OSHDBBoundingBox bboxFilter)
Set the area of interest to the given bounding box.
|
<P extends org.locationtech.jts.geom.Geometry & org.locationtech.jts.geom.Polygonal> |
MapAggregator.areaOfInterest(P polygonFilter)
Set the area of interest to the given polygon.
|
MapAggregator<U,X> |
MapAggregator.filter(SerializablePredicate<X> f)
Adds a custom arbitrary filter that gets executed in the current transformation chain.
|
<R> MapAggregator<U,R> |
MapAggregator.flatMap(SerializableFunction<X,Iterable<R>> flatMapper)
Set an arbitrary `flatMap` transformation function, which returns list with an arbitrary number
of results per input data entry.
|
<R> MapAggregator<U,R> |
MapAggregator.map(SerializableFunction<X,R> mapper)
Set an arbitrary `map` transformation function.
|
MapAggregator<U,X> |
MapAggregator.osmEntityFilter(SerializablePredicate<OSMEntity> f)
Adds a custom arbitrary filter that gets executed for each osm entity and determines if it
should be considered for this analyis or not.
|
MapAggregator<U,X> |
MapAggregator.osmTag(Collection<? extends OSMTagInterface> tags)
Adds an osm tag filter: The analysis will be restricted to osm entities that have at least one
of the supplied tags (key=value pairs or key=*).
|
MapAggregator<U,X> |
MapAggregator.osmTag(OSMTagInterface tag)
Adds an osm tag filter: The analysis will be restricted to osm entities that have this tag key
(with an arbitrary value), or this tag key and value.
|
MapAggregator<U,X> |
MapAggregator.osmTag(String key)
Adds an osm tag filter: The analysis will be restricted to osm entities that have this tag key
(with an arbitrary value).
|
MapAggregator<U,X> |
MapAggregator.osmTag(String key,
Collection<String> values)
Adds an osm tag filter: The analysis will be restricted to osm entities that have this tag key
and one of the
given values.
|
MapAggregator<U,X> |
MapAggregator.osmTag(String key,
Pattern valuePattern)
Adds an osm tag filter: The analysis will be restricted to osm entities that have a tag with
the given key and whose value matches the given regular expression pattern.
|
MapAggregator<U,X> |
MapAggregator.osmTag(String key,
String value)
Adds an osm tag filter: The analysis will be restricted to osm entities that have this tag key
and value.
|
MapAggregator<U,X> |
MapAggregator.osmType(Set<OSMType> typeFilter)
Limits the analysis to the given osm entity types.
|
Copyright © 2016–2020 HeiGIT. All rights reserved.