public interface Reduction
Modifier and Type | Method and Description |
---|---|
<T> Reduction |
andUpdate(PgxVertex vertex,
VertexProperty<T> property,
T value)
If the reduction in the Reduction applies, also update the property the property specified here.
|
<T1,T2> Reduction |
andUpdate(T1 lhs,
T2 rhs)
If the reduction in the Reduction applies, also update the variable specified here.
|
static <T> Reduction |
updateMaxValue(PgxVertex vertex,
VertexProperty<T> property,
T value)
Create an atomic reduction of a vertex property.
|
static <T1,T2> Reduction |
updateMaxValue(T1 lhs,
T2 rhs)
Create an atomic reduction of a variable.
|
static <T> Reduction |
updateMinValue(PgxVertex vertex,
VertexProperty<T> property,
T value)
Create an atomic reduction of a vertex property.
|
static <T1,T2> Reduction |
updateMinValue(T1 lhs,
T2 rhs)
Create an atomic reduction of a variable.
|
<T> Reduction andUpdate(PgxVertex vertex, VertexProperty<T> property, T value)
T
- vertex
- property
- value
- <T1,T2> Reduction andUpdate(T1 lhs, T2 rhs)
T1
- T2
- lhs
- rhs
- static <T> Reduction updateMaxValue(PgxVertex vertex, VertexProperty<T> property, T value)
T
- vertex
- property
- value
- static <T1,T2> Reduction updateMaxValue(T1 lhs, T2 rhs)
T1
- T2
- lhs
- rhs
- static <T> Reduction updateMinValue(PgxVertex vertex, VertexProperty<T> property, T value)
T
- vertex
- property
- value
- static <T1,T2> Reduction updateMinValue(T1 lhs, T2 rhs)
T1
- T2
- lhs
- rhs
-