Package | Description |
---|---|
oracle.pgx.api |
This package contains the main Java APIs.
|
Modifier and Type | Field and Description |
---|---|
static Namespace |
Namespace.PRIVATE
Namespace for session-private objects
|
static Namespace |
Namespace.PUBLIC
Namespace for published objects
|
Modifier and Type | Method and Description |
---|---|
static Namespace |
Namespace.fromId(oracle.pgx.common.PgxId namespaceId)
Creates a namespace from the given
PgxId . |
Modifier and Type | Method and Description |
---|---|
<V> EdgeProperty<V> |
PgxGraph.getEdgeProperty(Namespace namespace,
java.lang.String name)
Blocking version of
PgxGraph.getEdgePropertyAsync(Namespace, String) . |
<V> PgxFuture<EdgeProperty<V>> |
PgxGraph.getEdgePropertyAsync(Namespace namespace,
java.lang.String name)
Gets an edge property of this graph in the given namespace.
|
PgxGraph |
PgxSession.getGraph(Namespace namespace,
java.lang.String name)
Blocking version of
PgxSession.getGraphAsync(String) . |
PgxFuture<PgxGraph> |
PgxSession.getGraphAsync(Namespace namespace,
java.lang.String name)
References a graph with name
name within the given namespace:
- if namespace is PRIVATE , than the search occurs on already referenced snapshots of the
graph with name name and the most recent snapshot is returned
- if namespace is PUBLIC , then the search occurs on published graphs and the most recent
snapshot of the published graph with name name is returned
- if namespace is null , then the PRIVATE namespace is searched first and, if no snapshot is found,
the PUBLIC namespace is then searched, according to the shadowing rules
Multiple calls of this method with the same parameters will return different PgxGraph objects referencing
the same graph, with the server keeping track of how many references a session has to each graph. |
java.util.List<java.lang.String> |
PgxSession.getGraphs(Namespace namespace)
Blocking version of
PgxSession.getGraphsAsync(Namespace) . |
PgxFuture<java.util.List<java.lang.String>> |
PgxSession.getGraphsAsync(Namespace namespace)
Returns a collection of graph names accessible under the given namespace.
|
<ID,V> VertexProperty<ID,V> |
PgxGraph.getVertexProperty(Namespace namespace,
java.lang.String name)
Blocking version of
PgxGraph.getVertexPropertyAsync(Namespace, String) . |
<ID,V> PgxFuture<VertexProperty<ID,V>> |
PgxGraph.getVertexPropertyAsync(Namespace namespace,
java.lang.String name)
Gets a vertex property of this graph in the given namespace.
|
Copyright © 2015 - 2020 Oracle and/or its affiliates. All Rights Reserved.