Modifier and Type | Method and Description |
---|---|
java.lang.Iterable<PgxEdge> |
getInEdges()
Returns all incoming edges of this node.
|
PgxFuture<java.lang.Iterable<PgxEdge>> |
getInEdgesAsync()
Returns all incoming edges of this node.
|
java.lang.Iterable<PgxVertex<ID>> |
getInNeighbors()
Returns all incoming neighbors of this node, i.e.
|
PgxFuture<java.lang.Iterable<PgxVertex<ID>>> |
getInNeighborsAsync()
Returns all incoming neighbors of this node, i.e.
|
java.util.Set<java.lang.String> |
getLabels()
Blocking version of
getLabelsAsync() . |
PgxFuture<java.util.Set<java.lang.String>> |
getLabelsAsync()
Gets the labels
|
java.lang.Iterable<PgxEdge> |
getOutEdges()
Returns all outgoing edges of this node.
|
PgxFuture<java.lang.Iterable<PgxEdge>> |
getOutEdgesAsync()
Returns all outgoing edges of this node.
|
java.lang.Iterable<PgxVertex<ID>> |
getOutNeighbors()
Returns all outgoing neighbors of this node, i.e.
|
PgxFuture<java.lang.Iterable<PgxVertex<ID>>> |
getOutNeighborsAsync()
Returns all outgoing neighbors of this node, i.e.
|
equals, getGraph, getId, getProperty, getPropertyAsync, getType, hashCode, setProperty, setPropertyAsync, toString
public java.lang.Iterable<PgxEdge> getInEdges() throws java.util.concurrent.ExecutionException, java.lang.InterruptedException
java.util.concurrent.ExecutionException
java.lang.InterruptedException
public PgxFuture<java.lang.Iterable<PgxEdge>> getInEdgesAsync()
public java.lang.Iterable<PgxVertex<ID>> getInNeighbors() throws java.util.concurrent.ExecutionException, java.lang.InterruptedException
java.util.concurrent.ExecutionException
java.lang.InterruptedException
public PgxFuture<java.lang.Iterable<PgxVertex<ID>>> getInNeighborsAsync()
@Generated(value="src/python/synchronize.py") public java.util.Set<java.lang.String> getLabels() throws java.util.concurrent.ExecutionException, java.lang.InterruptedException
getLabelsAsync()
. Calls getLabelsAsync()
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<java.util.Set<java.lang.String>> getLabelsAsync()
null
if not exists.public java.lang.Iterable<PgxEdge> getOutEdges() throws java.util.concurrent.ExecutionException, java.lang.InterruptedException
java.util.concurrent.ExecutionException
java.lang.InterruptedException
public PgxFuture<java.lang.Iterable<PgxEdge>> getOutEdgesAsync()
public java.lang.Iterable<PgxVertex<ID>> getOutNeighbors() throws java.util.concurrent.ExecutionException, java.lang.InterruptedException
java.util.concurrent.ExecutionException
java.lang.InterruptedException
public PgxFuture<java.lang.Iterable<PgxVertex<ID>>> getOutNeighborsAsync()
Copyright © 2016, 2017 Oracle Corp. All Rights Reserved.