ID
- the vertex ID type.V
- the value type.public class VertexProperty<ID extends Comparable<ID>,V extends Comparable<V>> extends Property<ID,PgxVertex<ID>,V>
PgxGraph
.Modifier and Type | Field and Description |
---|---|
static Set<VertexProperty<?,?>> |
ALL |
static Set<VertexProperty<?,?>> |
NONE |
Modifier and Type | Method and Description |
---|---|
VertexProperty<ID,V> |
clone()
Blocking version of
cloneAsync() . |
VertexProperty<ID,V> |
clone(String newPropertyName)
Blocking version of
cloneAsync(String) . |
PgxFuture<VertexProperty<ID,V>> |
cloneAsync()
Create a copy of this property.
Convenience method for Property.cloneAsync(String) passing newPropertyName as null |
PgxFuture<VertexProperty<ID,V>> |
cloneAsync(String newPropertyName)
Create a copy of this property.
|
String |
toString() |
fill, fillAsync, get, get, getAsync, getAsync, getBottomKValues, getBottomKValuesAsync, getEntityType, getGraph, getName, getTopKValues, getTopKValuesAsync, getType, getValues, getValuesAsync, isTransient, set, setAsync, setValues, setValues, setValuesAsync, setValuesAsync, size, sizeAsync
equals, hashCode
close, destroy, destroyAsync
public static final Set<VertexProperty<?,?>> ALL
public static final Set<VertexProperty<?,?>> NONE
@Generated(value="src/python/synchronize.py") public VertexProperty<ID,V> clone()
cloneAsync()
. Calls cloneAsync()
and waits for the returned PgxFuture
to complete.clone
in class Property<ID extends Comparable<ID>,PgxVertex<ID extends Comparable<ID>>,V extends Comparable<V>>
InterruptedException
- if the caller thread gets interrupted while waiting for completion.ExecutionException
- if any exception occurred during asynchronous execution. The actual exception will be nested.@Generated(value="src/python/synchronize.py") public VertexProperty<ID,V> clone(String newPropertyName) throws ExecutionException, InterruptedException
cloneAsync(String)
. Calls cloneAsync(String)
and waits for the returned PgxFuture
to complete.clone
in class Property<ID extends Comparable<ID>,PgxVertex<ID extends Comparable<ID>>,V extends Comparable<V>>
InterruptedException
- if the caller thread gets interrupted while waiting for completion.ExecutionException
- if any exception occurred during asynchronous execution. The actual exception will be nested.public PgxFuture<VertexProperty<ID,V>> cloneAsync()
Property
Property.cloneAsync(String)
passing newPropertyName as null
cloneAsync
in class Property<ID extends Comparable<ID>,PgxVertex<ID extends Comparable<ID>>,V extends Comparable<V>>
public PgxFuture<VertexProperty<ID,V>> cloneAsync(String newPropertyName)
Property
cloneAsync
in class Property<ID extends Comparable<ID>,PgxVertex<ID extends Comparable<ID>>,V extends Comparable<V>>
newPropertyName
- name of copy to be created. If null
, guaranteed unique name will be generated.public String toString()
toString
in class Property<ID extends Comparable<ID>,PgxVertex<ID extends Comparable<ID>>,V extends Comparable<V>>
Copyright © 2015. All rights reserved.