T
-public interface EdgeProperty<T>
Modifier and Type | Method and Description |
---|---|
static <T> EdgeProperty<T> |
create()
Instantiate a new edge property.
|
static <T> EdgeProperty<T> |
create(T t)
Instantiate a new edge property.
|
void |
decrement(PgxEdge edge)
Decrement the property of the given edge.
|
T |
get(PgxEdge edge)
Get the property for the given edge.
|
void |
increment(PgxEdge edge)
Increment the property of the given edge.
|
void |
reduceAdd(PgxEdge edge, T value)
Atomically update the edge's property to the sum of the current value and the given value.
|
void |
reduceAnd(PgxEdge edge, T value)
Atomically update the edge's property to the conjunction of the current value and the given value.
|
void |
reduceMax(PgxEdge edge, T value)
Atomically update the given edge's property to the maximum of the current value and the given value.
|
void |
reduceMin(PgxEdge edge, T value)
Atomically update the given vertex's property to the minimum of the current value and the given value.
|
void |
reduceMul(PgxEdge edge, T value)
Atomically update the edge's property to the multiplication of the current value and the given value.
|
void |
reduceOr(PgxEdge edge, T value)
Atomically update the edge's property to the disjunction of the current value and the given value.
|
void |
set(PgxEdge edge, T value)
Set the value of the edge property for the given edge.
|
void |
setAll(java.util.function.Function<PgxEdge,T> transform)
Set the edge property for each edge to the value based on the transformation function.
|
void |
setAll(T value)
Set the edge property for every edge to the given value.
|
void |
setDeferred(PgxEdge edge, T value)
Set the edge property to the given value, but only after the current parallel region finishes.
|
static <T> EdgeProperty<T> create()
T
-static <T> EdgeProperty<T> create(T t)
T
-void decrement(PgxEdge edge)
edge
-void increment(PgxEdge edge)
edge
-void reduceAdd(PgxEdge edge, T value)
edge
-value
-void reduceAnd(PgxEdge edge, T value)
edge
-value
-void reduceMax(PgxEdge edge, T value)
edge
-value
-void reduceMin(PgxEdge edge, T value)
edge
-value
-void reduceMul(PgxEdge edge, T value)
edge
-value
-void reduceOr(PgxEdge edge, T value)
edge
-value
-void set(PgxEdge edge, T value)
edge
-value
-void setAll(java.util.function.Function<PgxEdge,T> transform)
transform
-void setAll(T value)
value
-