| Package | Description |
|---|---|
| org.heigit.bigspatialdata.oshdb.api.db |
API-Implementations of the informative OSHDB-Base-Class.
|
| org.heigit.bigspatialdata.oshdb.api.mapreducer |
Central front-end of the API.
|
| org.heigit.bigspatialdata.oshdb.api.mapreducer.backend |
Specialised MapReducers.
|
| Modifier and Type | Method and Description |
|---|---|
<X extends OSHDBMapReducible> |
OSHDBIgnite.createMapReducer(Class<X> forClass) |
<X extends OSHDBMapReducible> |
OSHDBJdbc.createMapReducer(Class<X> forClass) |
abstract <X extends OSHDBMapReducible> |
OSHDBDatabase.createMapReducer(Class<X> forClass)
Factory function that creates a mapReducer object of the appropriate data type class for this
oshdb backend implemenation.
|
| Modifier and Type | Method and Description |
|---|---|
MapReducer<X> |
MapReducer.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> |
MapReducer.areaOfInterest(P polygonFilter)
Set the area of interest to the given polygon.
|
protected abstract MapReducer<X> |
MapReducer.copy() |
MapReducer<X> |
MapReducer.filter(SerializablePredicate<X> f)
Adds a custom arbitrary filter that gets executed in the current transformation chain.
|
<R> MapReducer<R> |
MapReducer.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.
|
MapReducer<List<X>> |
MapReducer.groupByEntity()
Groups the input data (osm entity snapshot or contributions) by their respective entity's ids
before feeding them into further transformation functions.
|
MapReducer<X> |
MapReducer.keytables(OSHDBJdbc keytables)
Sets the keytables database to use in the calculations to resolve strings (osm tags, roles)
into internally used identifiers.
|
<R> MapReducer<R> |
MapReducer.map(SerializableFunction<X,R> mapper)
Set an arbitrary `map` transformation function.
|
static MapReducer<OSMContribution> |
OSMContributionView.on(OSHDBDatabase oshdb) |
static MapReducer<OSMEntitySnapshot> |
OSMEntitySnapshotView.on(OSHDBDatabase oshdb) |
MapReducer<X> |
MapReducer.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.
|
MapReducer<X> |
MapReducer.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=*).
|
MapReducer<X> |
MapReducer.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.
|
MapReducer<X> |
MapReducer.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).
|
MapReducer<X> |
MapReducer.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.
|
MapReducer<X> |
MapReducer.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.
|
MapReducer<X> |
MapReducer.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.
|
MapReducer<X> |
MapReducer.osmType(Set<OSMType> typeFilter)
Limits the analysis to the given osm entity types.
|
MapReducer<X> |
MapReducer.tagInterpreter(TagInterpreter tagInterpreter)
Sets the tagInterpreter to use in the analysis.
|
MapReducer<X> |
MapReducer.timestamps(OSHDBTimestampList tstamps)
Set the timestamps for which to perform the analysis.
|
MapReducer<X> |
MapReducer.timestamps(String isoDate)
Sets a single timestamp for which to perform the analysis at.
|
MapReducer<X> |
MapReducer.timestamps(String isoDateStart,
String isoDateEnd)
Sets two timestamps (start and end date) for which to perform the analysis.
|
MapReducer<X> |
MapReducer.timestamps(String isoDateStart,
String isoDateEnd,
OSHDBTimestamps.Interval interval)
Set the timestamps for which to perform the analysis in a regular interval between a start and
end date.
|
MapReducer<X> |
MapReducer.timestamps(String isoDateFirst,
String isoDateSecond,
String... isoDateMore)
Sets multiple arbitrary timestamps for which to perform the analysis.
|
| Constructor and Description |
|---|
MapReducer(MapReducer<?> obj) |
| Modifier and Type | Class and Description |
|---|---|
class |
MapReducerIgniteAffinityCall<X>
Main class of oshdb's "functional programming" API.
|
class |
MapReducerIgniteLocalPeek<X>
Main class of oshdb's "functional programming" API.
|
class |
MapReducerIgniteScanQuery<X>
Main class of oshdb's "functional programming" API.
|
class |
MapReducerJdbcMultithread<X> |
class |
MapReducerJdbcSinglethread<X> |
| Modifier and Type | Method and Description |
|---|---|
protected MapReducer<X> |
MapReducerJdbcSinglethread.copy() |
protected MapReducer<X> |
MapReducerJdbcMultithread.copy() |
protected MapReducer<X> |
MapReducerIgniteAffinityCall.copy() |
protected MapReducer<X> |
MapReducerIgniteScanQuery.copy() |
protected MapReducer<X> |
MapReducerIgniteLocalPeek.copy() |
Copyright © 2016–2020 HeiGIT. All rights reserved.