| 限定符和类型 | 接口和说明 |
|---|---|
interface |
Aggregator<V extends Value<?>> |
| 限定符和类型 | 方法和说明 |
|---|---|
<V extends Value<?>> |
Aggregator4Master.aggregatedValue(String name)
Get the aggregated value.
|
<V extends Value<?>> |
Aggregator4Worker.aggregatedValue(String name)
Get the aggregated value in worker-computation, the value is aggregated
by master at previous superstep, it won't be changed in a superstep.
|
<V extends Value<?>> |
Aggregator4Master.aggregatedValue(String name,
V value)
Set the aggregated value by master-computation, generally users may not
need to explicitly set a aggregated value.
|
<V extends Value<?>> |
Aggregator4Worker.aggregateValue(String name,
V value)
Set aggregate value in worker.
|
<V extends Value<?>> |
Aggregator4Worker.createAggregator(String name)
Create aggregator by name in worker-computation, the aggregator is
registered by master-computation.
|
<V extends Value<?>,C extends Aggregator<V>> |
Aggregator4Master.registerAggregator(String name,
Class<C> aggregator)
Register the aggregator with specified name.
|
<V extends Value<?>,C extends Combiner<V>> |
Aggregator4Master.registerAggregator(String name,
ValueType type,
Class<C> combiner)
Register aggregator with specified value type and a combiner which can
combine values with specified value type.
|
<V extends Value<?>,C extends Combiner<V>> |
Aggregator4Master.registerAggregator(String name,
V defaultValue,
Class<C> combiner)
Register aggregator with specified default value(include type) and
a combiner which can combine values with specified value type.
|
| 限定符和类型 | 类和说明 |
|---|---|
class |
ValueMaxCombiner<T extends Value<?>> |
class |
ValueMinCombiner<T extends Value<T>> |
| 限定符和类型 | 方法和说明 |
|---|---|
<V extends Value<?>> |
GraphFactory.createVertex(Id id,
V value) |
| 限定符和类型 | 方法和说明 |
|---|---|
Value<?> |
GraphFactory.createValue(byte code) |
Value<?> |
GraphFactory.createValue(ValueType type) |
| 限定符和类型 | 方法和说明 |
|---|---|
<T extends Value<T>> |
Properties.get(String key) |
| 限定符和类型 | 方法和说明 |
|---|---|
Map<String,Value<?>> |
Properties.get() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
Properties.put(String key,
Value<?> value) |
void |
Properties.putIfAbsent(String key,
Value<?> value) |
| 限定符和类型 | 类和说明 |
|---|---|
class |
ListValue<T extends Value<?>> |
| 限定符和类型 | 类和说明 |
|---|---|
class |
BooleanValue |
class |
DoubleValue |
class |
FloatValue |
class |
IdValue |
class |
IdValueList |
class |
IdValueListList |
class |
IntValue |
class |
ListValue<T extends Value<?>> |
class |
LongValue |
class |
NullValue |
| 限定符和类型 | 方法和说明 |
|---|---|
Value<T> |
Value.copy() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
BooleanValue.assign(Value<BooleanValue> other) |
void |
DoubleValue.assign(Value<DoubleValue> other) |
void |
FloatValue.assign(Value<FloatValue> other) |
void |
IdValue.assign(Value<IdValue> other) |
void |
IntValue.assign(Value<IntValue> other) |
void |
ListValue.assign(Value<ListValue<T>> other) |
void |
LongValue.assign(Value<LongValue> other) |
void |
NullValue.assign(Value<NullValue> other) |
void |
Value.assign(Value<T> value)
Assign a new value to this object
|
default void |
Value.checkAssign(Value<T> other)
Check whether a value can be assigned to this object
|
| 限定符和类型 | 方法和说明 |
|---|---|
<V extends Value<?>> |
Vertex.value() |
<V extends Value<?>> |
Vertex.value(V value) |
| 限定符和类型 | 方法和说明 |
|---|---|
Value<?> |
GraphComputeInput.readValue(RandomAccessInput in) |
| 限定符和类型 | 方法和说明 |
|---|---|
org.apache.commons.lang3.tuple.Pair<Id,Value<?>> |
GraphComputeInput.readMessage() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
GraphComputeOutput.writeMessage(Id id,
Value<?> value) |
void |
GraphComputeOutput.writeValue(RandomAccessOutput out,
Value<?> value) |
| 限定符和类型 | 接口和说明 |
|---|---|
interface |
Computation<M extends Value<?>>
Computation is used to compute vertex.
|
interface |
FilterComputation<M extends Value<?>>
FilterComputation is computation that can't combine the messages.
|
interface |
ReduceComputation<M extends Value<?>>
For algorithm with combiner that combine all the messages, and the
algorithm can only receive a message for a vertex.
|
| 限定符和类型 | 方法和说明 |
|---|---|
<V extends Value<?>> |
ComputationContext.combiner() |
default <M extends Value<?>> |
ComputationContext.sendMessagesToAllEdges(Vertex vertex,
Iterator<M> values)
Send all values to all adjacent vertices of specified vertex.
|
default <M extends Value<?>> |
ComputationContext.sendMessagesToAllEdgesIf(Vertex vertex,
Iterator<M> values,
java.util.function.BiFunction<M,Id,Boolean> filter)
Send all values to filtered adjacent vertices of specified vertex.
|
default <M extends Value<?>> |
ComputationContext.sendMessageToAllEdgesIf(Vertex vertex,
M value,
java.util.function.BiFunction<M,Id,Boolean> filter)
Send all values to filtered adjacent vertices of specified vertex.
|
| 限定符和类型 | 方法和说明 |
|---|---|
void |
ComputationContext.sendMessage(Id target,
Value<?> value)
Send value to specified target vertex.
|
default void |
ComputationContext.sendMessageToAllEdges(Vertex vertex,
Value<?> value)
Send value to all adjacent vertices of specified vertex.
|
Copyright © 2020–2021. All rights reserved.