| Package | Description |
|---|---|
| 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 |
|---|---|
<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.
|
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.
|
<R extends Number> |
MapAggregator.average(SerializableFunction<X,R> mapper)
Calculates the average of the results provided by a given `mapper` function.
|
<R extends Number> |
MapReducer.average(SerializableFunction<X,R> mapper)
Calculates the average of the results provided by a given `mapper` function.
|
<R extends Number> |
MapAggregator.estimatedMedian(SerializableFunction<X,R> mapper)
Returns an estimate of the median of the results after applying the given map function.
|
<R extends Number> |
MapReducer.estimatedMedian(SerializableFunction<X,R> mapper)
Returns an estimate of the median of the results after applying the given map function.
|
<R extends Number> |
MapAggregator.estimatedQuantile(SerializableFunction<X,R> mapper,
double q)
Returns an estimate of a requested quantile of the results after applying the given map
function.
|
<R extends Number> |
MapReducer.estimatedQuantile(SerializableFunction<X,R> mapper,
double q)
Returns an estimate of a requested quantile of the results after applying the given map
function.
|
<R extends Number> |
MapAggregator.estimatedQuantiles(SerializableFunction<X,R> mapper)
Returns a function that computes estimates of arbitrary quantiles of the results after applying
the given map function.
|
<R extends Number> |
MapReducer.estimatedQuantiles(SerializableFunction<X,R> mapper)
Returns a function that computes estimates of arbitrary quantiles of the results after applying
the given map function.
|
<R extends Number> |
MapAggregator.estimatedQuantiles(SerializableFunction<X,R> mapper,
Iterable<Double> q)
Returns an estimate of the quantiles of the results after applying the given map function.
|
<R extends Number> |
MapReducer.estimatedQuantiles(SerializableFunction<X,R> mapper,
Iterable<Double> q)
Returns an estimate of the quantiles of the results after applying the given map function.
|
<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> 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.
|
<R> Mappable<R> |
Mappable.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.
|
protected <R,S> S |
MapReducer.flatMapReduceCellsOSMContributionGroupedById(SerializableFunction<List<OSMContribution>,Iterable<R>> mapper,
SerializableSupplier<S> identitySupplier,
SerializableBiFunction<S,R,S> accumulator,
SerializableBinaryOperator<S> combiner)
Generic "flat" version of the map-reduce used by the `OSMContributionView`, with by-osm-id
grouped input to the `mapper` function.
|
protected <R,S> S |
MapReducer.flatMapReduceCellsOSMEntitySnapshotGroupedById(SerializableFunction<List<OSMEntitySnapshot>,Iterable<R>> mapper,
SerializableSupplier<S> identitySupplier,
SerializableBiFunction<S,R,S> accumulator,
SerializableBinaryOperator<S> combiner)
Generic "flat" version of the map-reduce used by the `OSMEntitySnapshotView`, with by-osm-id
grouped input to the `mapper` function.
|
protected Stream<X> |
MapReducer.flatMapStreamCellsOSMContributionGroupedById(SerializableFunction<List<OSMContribution>,Iterable<X>> mapper) |
protected Stream<X> |
MapReducer.flatMapStreamCellsOSMEntitySnapshotGroupedById(SerializableFunction<List<OSMEntitySnapshot>,Iterable<X>> mapper) |
<R> MapAggregator<U,R> |
MapAggregator.map(SerializableFunction<X,R> mapper)
Set an arbitrary `map` transformation function.
|
<R> MapReducer<R> |
MapReducer.map(SerializableFunction<X,R> mapper)
Set an arbitrary `map` transformation function.
|
<R> Mappable<R> |
Mappable.map(SerializableFunction<X,R> mapper)
Set an arbitrary `map` transformation function.
|
protected <R,S> S |
MapReducer.mapReduceCellsOSMContribution(SerializableFunction<OSMContribution,R> mapper,
SerializableSupplier<S> identitySupplier,
SerializableBiFunction<S,R,S> accumulator,
SerializableBinaryOperator<S> combiner)
Generic map-reduce used by the `OSMContributionView`.
|
protected <R,S> S |
MapReducer.mapReduceCellsOSMEntitySnapshot(SerializableFunction<OSMEntitySnapshot,R> mapper,
SerializableSupplier<S> identitySupplier,
SerializableBiFunction<S,R,S> accumulator,
SerializableBinaryOperator<S> combiner)
Generic map-reduce used by the `OSMEntitySnapshotView`.
|
protected Stream<X> |
MapReducer.mapStreamCellsOSMContribution(SerializableFunction<OSMContribution,X> mapper) |
protected Stream<X> |
MapReducer.mapStreamCellsOSMEntitySnapshot(SerializableFunction<OSMEntitySnapshot,X> mapper) |
<R extends Number> |
MapAggregator.sum(SerializableFunction<X,R> mapper)
Sums up the results provided by a given `mapper` function.
|
<R extends Number> |
MapReducer.sum(SerializableFunction<X,R> mapper)
Sums up the results provided by a given `mapper` function.
|
<R> SortedMap<U,Set<R>> |
MapAggregator.uniq(SerializableFunction<X,R> mapper)
Gets all unique values of the results provided by a given mapper function.
|
<R> Set<R> |
MapReducer.uniq(SerializableFunction<X,R> mapper)
Gets all unique values of the results provided by a given mapper function.
|
SortedMap<U,Double> |
MapAggregator.weightedAverage(SerializableFunction<X,WeightedValue> mapper)
Calculates the weighted average of the results provided by the `mapper` function.
|
Double |
MapReducer.weightedAverage(SerializableFunction<X,WeightedValue> mapper)
Calculates the weighted average of the results provided by the `mapper` function.
|
Copyright © 2016–2020 HeiGIT. All rights reserved.