K
- the vertex ID typeEV
- the edge value typepublic class Spanner<K extends Comparable<K>,EV> extends SummaryBulkAggregation<K,EV,AdjacencyListGraph<K>,AdjacencyListGraph<K>>
This is a single-pass implementation, which uses a SummaryBulkAggregation
to periodically merge
the partitioned state.
Modifier and Type | Class and Description |
---|---|
static class |
Spanner.CombineSpanners<K extends Comparable<K>>
Merge the local spanners of each partition into the global spanner.
|
static class |
Spanner.UpdateLocal<K extends Comparable<K>,EV>
Decide to add or remove an edge to the local spanner in the current window.
|
Constructor and Description |
---|
Spanner(long mergeWindowTime,
int k)
Creates a Spanner instance.
|
run
aggregator, combineFun, initialValue, isTransientState, transform, updateFun
Copyright © 2020. All rights reserved.