ID - the vertex ID type.V - the value type.public class VertexProperty<ID,V> extends Property<ID,PgxVertex<ID>,V>
PgxGraph.| Modifier and Type | Field and Description |
|---|---|
static java.util.Set<VertexProperty<?,?>> |
ALL |
static java.util.Set<VertexProperty<?,?>> |
NONE |
| Modifier and Type | Method and Description |
|---|---|
VertexProperty<ID,V> |
clone()
Blocking version of
cloneAsync(). |
VertexProperty<ID,V> |
clone(java.lang.String newPropertyName)
Blocking version of
cloneAsync(String). |
PgxFuture<VertexProperty<ID,V>> |
cloneAsync()
Create a copy of this property.
Convenience method for cloneAsync(String) passing newPropertyName as null |
PgxFuture<VertexProperty<ID,V>> |
cloneAsync(java.lang.String newPropertyName)
Creates a copy of this property.
|
<S> java.util.List<VertexProperty<ID,S>> |
expand()
Blocking version of
expandAsync(). |
<S> java.util.List<VertexProperty<ID,S>> |
expand(java.lang.String namePrefix)
Blocking version of
expandAsync(String). |
<S> PgxFuture<java.util.List<VertexProperty<ID,S>>> |
expandAsync()
If this is a vector property, expands this property into a list of scalar properties of same type.
|
<S> PgxFuture<java.util.List<VertexProperty<ID,S>>> |
expandAsync(java.lang.String namePrefix)
If this is a vector property, expands this property into a list of scalar properties of same type.
|
equals, fill, fillAsync, get, get, getAsync, getAsync, getBottomKValues, getBottomKValuesAsync, getDimension, getEntityType, getGraph, getName, getTopKValues, getTopKValuesAsync, getType, getValues, getValuesAsync, isPublished, isPublishedAsync, isTransient, isVectorProperty, publish, publishAsync, rename, renameAsync, set, setAsync, setValues, setValues, setValuesAsync, setValuesAsync, size, sizeAsync, toString, wraphashCodeclose, destroy, destroyAsyncpublic static final java.util.Set<VertexProperty<?,?>> ALL
public static final java.util.Set<VertexProperty<?,?>> NONE
public VertexProperty<ID,V> clone()
cloneAsync(). Calls cloneAsync() and waits for the returned PgxFuture
to complete.clone in class java.lang.Objectjava.lang.InterruptedException - if the caller thread gets interrupted while waiting for completion.java.util.concurrent.ExecutionException - if any exception occurred during asynchronous execution. The actual exception will
be nested.public VertexProperty<ID,V> clone(java.lang.String newPropertyName) throws java.util.concurrent.ExecutionException, java.lang.InterruptedException
cloneAsync(String). Calls cloneAsync(String) and waits for the returned
PgxFuture to complete.java.lang.InterruptedException - if the caller thread gets interrupted while waiting for completion.java.util.concurrent.ExecutionException - if any exception occurred during asynchronous execution. The actual exception will
be nested.public PgxFuture<VertexProperty<ID,V>> cloneAsync()
cloneAsync(String) passing newPropertyName as nullpublic PgxFuture<VertexProperty<ID,V>> cloneAsync(java.lang.String newPropertyName)
newPropertyName - name of copy to be created. If null, guaranteed unique name will be generated.public <S> java.util.List<VertexProperty<ID,S>> expand() throws java.util.concurrent.ExecutionException, java.lang.InterruptedException
expandAsync(). Calls expandAsync() and waits for the returned
PgxFuture to complete.java.lang.InterruptedException - if the caller thread gets interrupted while waiting for completion.java.util.concurrent.ExecutionException - if any exception occurred during asynchronous execution. The actual exception will
be nested.public <S> java.util.List<VertexProperty<ID,S>> expand(java.lang.String namePrefix) throws java.util.concurrent.ExecutionException, java.lang.InterruptedException
expandAsync(String). Calls expandAsync(String) and waits for the returned
PgxFuture to complete.java.lang.InterruptedException - if the caller thread gets interrupted while waiting for completion.java.util.concurrent.ExecutionException - if any exception occurred during asynchronous execution. The actual exception will
be nested.public <S> PgxFuture<java.util.List<VertexProperty<ID,S>>> expandAsync()
S - the element type (scalar type) of this property's value typeProperty.isVectorProperty() == false). If this vector property has the name 'my_vector',
then the result properties will be called 'my_vector_0', 'my_vector_1', etc..public <S> PgxFuture<java.util.List<VertexProperty<ID,S>>> expandAsync(java.lang.String namePrefix)
S - the element type (scalar type) of this property's value typenamePrefix - the name prefix of the scalar properties to be created. If not null, the resulting
properties will be named null, the name
of this vector property will be used as name prefix. If that results in a name conflict, the
returned future will complete exceptionally.Property.isVectorProperty() == false).Copyright © 2015 - 2020 Oracle and/or its affiliates. All Rights Reserved.