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