| Modifier and Type | Method and Description |
|---|---|
Edge |
GraphRepository.addEdge(String edgeId,
Vertex outVertex,
Vertex inVertex,
String predicateLabel,
String justificationText,
ClientApiSourceInfo sourceInfo,
String visibilitySource,
String workspaceId,
User user,
Authorizations authorizations) |
Edge |
GraphRepository.addEdge(String edgeId,
Vertex outVertex,
Vertex inVertex,
String predicateLabel,
String justificationText,
ClientApiSourceInfo sourceInfo,
VisibilityJson visibilityJson,
User user,
Authorizations authorizations) |
| Modifier and Type | Method and Description |
|---|---|
GraphUpdateContext.UpdateFuture<Edge> |
GraphUpdateContext.getOrCreateEdgeAndUpdate(String edgeId,
String outVertexId,
String inVertexId,
String label,
Long timestamp,
Visibility visibility,
GraphUpdateContext.Update<Edge> updateFn)
Gets a edge by id from the graph.
|
GraphUpdateContext.UpdateFuture<Edge> |
GraphUpdateContext.getOrCreateEdgeAndUpdate(String edgeId,
String outVertexId,
String inVertexId,
String label,
Visibility visibility,
GraphUpdateContext.Update<Edge> updateFn)
Similar to
GraphUpdateContext.getOrCreateEdgeAndUpdate(String, String, String, String, Long, Visibility, Update)
using the current time as the timestamp. |
| Modifier and Type | Method and Description |
|---|---|
GraphUpdateContext.UpdateFuture<Edge> |
GraphUpdateContext.getOrCreateEdgeAndUpdate(String edgeId,
String outVertexId,
String inVertexId,
String label,
Long timestamp,
Visibility visibility,
GraphUpdateContext.Update<Edge> updateFn)
Gets a edge by id from the graph.
|
GraphUpdateContext.UpdateFuture<Edge> |
GraphUpdateContext.getOrCreateEdgeAndUpdate(String edgeId,
String outVertexId,
String inVertexId,
String label,
Visibility visibility,
GraphUpdateContext.Update<Edge> updateFn)
Similar to
GraphUpdateContext.getOrCreateEdgeAndUpdate(String, String, String, String, Long, Visibility, Update)
using the current time as the timestamp. |
| Modifier and Type | Method and Description |
|---|---|
void |
TermMentionRepository.addSourceInfoEdgeToEdge(Edge edge,
String forElementId,
TermMentionFor forType,
String propertyKey,
String propertyName,
Visibility propertyVisibility,
String snippet,
String textPropertyKey,
String textPropertyName,
long startOffset,
long endOffset,
Vertex originalVertex,
Visibility visibility,
Authorizations authorizations) |
Iterable<Vertex> |
TermMentionRepository.findByEdge(Edge edge,
Authorizations authorizations)
Find all term mentions connected to either side of the edge.
|
Iterable<Vertex> |
TermMentionRepository.findByEdgeForEdge(Edge edge,
Authorizations authorizations)
Finds term mention vertices that were created for the justification of a new edge.
|
Iterable<Vertex> |
TermMentionRepository.findByEdgeIdAndProperty(Edge edge,
String propertyKey,
String propertyName,
Visibility propertyVisibility,
Authorizations authorizations)
Finds all term mentions connected to either side of an edge that match propertyKey, propertyName, and propertyVisibility.
|
ClientApiSourceInfo |
TermMentionRepository.getSourceInfoForEdge(Edge edge,
Authorizations authorizations) |
ClientApiSourceInfo |
TermMentionRepository.getSourceInfoForEdgeProperty(Edge edge,
Property property,
Authorizations authorizations) |
void |
TermMentionRepository.removeSourceInfoEdgeFromEdge(Edge edge,
String propertyKey,
String propertyName,
BcVisibility bcVisibility,
Authorizations authorizations) |
TermMentionBuilder |
TermMentionBuilder.resolvedTo(Vertex resolvedToVertex,
Edge resolvedEdge)
If this is a resolved term mention.
|
| Modifier and Type | Method and Description |
|---|---|
void |
WebQueueRepository.broadcastEdgeDeletion(Edge edge) |
void |
WebQueueRepository.broadcastPublishEdge(Edge edge) |
void |
WebQueueRepository.broadcastPublishEdgeDelete(Edge edge) |
void |
WebQueueRepository.broadcastUndoEdge(Edge edge) |
void |
WebQueueRepository.broadcastUndoEdgeDelete(Edge edge) |
| Modifier and Type | Method and Description |
|---|---|
protected Map<String,Vertex> |
GeWorkspaceRepository.getWorkspaceVertices(Workspace workspace,
List<Edge> entityEdges,
Authorizations authorizations) |
| Modifier and Type | Method and Description |
|---|---|
static void |
ClientApiConverter.populateClientApiEdge(ClientApiEdge e,
Edge edge,
String workspaceId) |
static ClientApiEdge |
ClientApiConverter.toClientApiEdge(Edge edge,
String workspaceId) |
static ClientApiEdgeWithVertexData |
ClientApiConverter.toClientApiEdgeWithVertexData(Edge edge,
Vertex source,
Vertex target,
String workspaceId,
Authorizations authorizations) |
| Modifier and Type | Method and Description |
|---|---|
static Set<String> |
GeUtil.getAllVertexIdsOnEdges(List<Edge> edges) |
| Modifier and Type | Method and Description |
|---|---|
Edge |
EdgeEvent.getEdge() |
| Modifier and Type | Method and Description |
|---|---|
void |
EdgeEvent.setEdge(Edge edge) |
| Modifier and Type | Method and Description |
|---|---|
default Edge |
Graph.addEdge(String edgeId,
String outVertexId,
String inVertexId,
String label,
Visibility visibility,
Authorizations authorizations)
Adds an edge between two vertices.
|
default Edge |
Graph.addEdge(String outVertexId,
String inVertexId,
String label,
Visibility visibility,
Authorizations authorizations)
Adds an edge between two vertices.
|
default Edge |
Graph.addEdge(String edgeId,
Vertex outVertex,
Vertex inVertex,
String label,
Visibility visibility,
Authorizations authorizations)
Adds an edge between two vertices.
|
default Edge |
Graph.addEdge(Vertex outVertex,
Vertex inVertex,
String label,
Visibility visibility,
Authorizations authorizations)
Adds an edge between two vertices.
|
Edge |
EdgeVertexPair.getEdge() |
default Edge |
Graph.getEdge(String edgeId,
Authorizations authorizations)
Get an edge from the graph.
|
default Edge |
Graph.getEdge(String edgeId,
FetchHints fetchHints,
Authorizations authorizations)
Get an edge from the graph.
|
default Edge |
Graph.getEdge(String edgeId,
FetchHints fetchHints,
Long endTime,
Authorizations authorizations)
Get an edge from the graph.
|
abstract Edge |
EdgeBuilderBase.save(Authorizations authorizations)
Save the edge along with any properties that were set to the graph.
|
abstract Edge |
EdgeBuilder.save(Authorizations authorizations) |
| Modifier and Type | Method and Description |
|---|---|
default Iterable<Edge> |
Graph.getEdges(Authorizations authorizations)
Gets all edges on the graph.
|
default Iterable<Edge> |
Vertex.getEdges(Direction direction,
Authorizations authorizations)
Gets all edges attached to this vertex.
|
default Iterable<Edge> |
Vertex.getEdges(Direction direction,
FetchHints fetchHints,
Authorizations authorizations)
Gets all edges attached to this vertex.
|
Iterable<Edge> |
Vertex.getEdges(Direction direction,
FetchHints fetchHints,
Long endTime,
Authorizations authorizations)
Gets all edges attached to this vertex.
|
default Iterable<Edge> |
Vertex.getEdges(Direction direction,
String[] labels,
Authorizations authorizations)
Gets all edges with any of the given labels attached to this vertex.
|
default Iterable<Edge> |
Vertex.getEdges(Direction direction,
String[] labels,
FetchHints fetchHints,
Authorizations authorizations)
Gets all edges with any of the given labels attached to this vertex.
|
default Iterable<Edge> |
Vertex.getEdges(Direction direction,
String label,
Authorizations authorizations)
Gets all edges with the given label attached to this vertex.
|
default Iterable<Edge> |
Vertex.getEdges(Direction direction,
String label,
FetchHints fetchHints,
Authorizations authorizations)
Gets all edges with the given label attached to this vertex.
|
default Iterable<Edge> |
Graph.getEdges(FetchHints fetchHints,
Authorizations authorizations)
Gets all edges on the graph.
|
Iterable<Edge> |
Graph.getEdges(FetchHints fetchHints,
Long endTime,
Authorizations authorizations)
Gets all edges on the graph.
|
abstract Iterable<Edge> |
GraphBaseWithSearchIndex.getEdges(FetchHints fetchHints,
Long endTime,
Authorizations authorizations) |
default Iterable<Edge> |
Graph.getEdges(Iterable<String> ids,
Authorizations authorizations)
Gets all edges on the graph matching the given ids.
|
default Iterable<Edge> |
Graph.getEdges(Iterable<String> ids,
FetchHints fetchHints,
Authorizations authorizations)
Gets all edges on the graph matching the given ids.
|
default Iterable<Edge> |
Graph.getEdges(Iterable<String> ids,
FetchHints fetchHints,
Long endTime,
Authorizations authorizations)
Gets all edges on the graph matching the given ids.
|
default Iterable<Edge> |
Vertex.getEdges(Vertex otherVertex,
Direction direction,
Authorizations authorizations)
Gets all edges between this vertex and another vertex.
|
default Iterable<Edge> |
Vertex.getEdges(Vertex otherVertex,
Direction direction,
FetchHints fetchHints,
Authorizations authorizations)
Gets all edges between this vertex and another vertex.
|
default Iterable<Edge> |
Vertex.getEdges(Vertex otherVertex,
Direction direction,
String[] labels,
Authorizations authorizations)
Gets all edges between this vertex and another vertex matching any of the given labels.
|
default Iterable<Edge> |
Vertex.getEdges(Vertex otherVertex,
Direction direction,
String[] labels,
FetchHints fetchHints,
Authorizations authorizations)
Gets all edges between this vertex and another vertex matching any of the given labels.
|
default Iterable<Edge> |
Vertex.getEdges(Vertex otherVertex,
Direction direction,
String label,
Authorizations authorizations)
Gets all edges between this vertex and another vertex matching the given label.
|
default Iterable<Edge> |
Vertex.getEdges(Vertex otherVertex,
Direction direction,
String label,
FetchHints fetchHints,
Authorizations authorizations)
Gets all edges between this vertex and another vertex matching the given label.
|
default Iterable<Edge> |
Graph.getEdgesInRange(IdRange idRange,
Authorizations authorizations)
Gets edges from the graph in the given range.
|
default Iterable<Edge> |
Graph.getEdgesInRange(IdRange idRange,
FetchHints fetchHints,
Authorizations authorizations)
Gets edges from the graph in the given range.
|
default Iterable<Edge> |
Graph.getEdgesInRange(IdRange idRange,
FetchHints fetchHints,
Long endTime,
Authorizations authorizations)
Gets edges from the graph in the given range.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Graph.deleteEdge(Edge edge,
Authorizations authorizations)
Permanently deletes an edge from the graph.
|
abstract void |
GraphBaseWithSearchIndex.deleteEdge(Edge edge,
Authorizations authorizations) |
void |
Graph.markEdgeHidden(Edge edge,
Visibility visibility,
Authorizations authorizations)
Marks an edge as hidden for a given visibility.
|
abstract void |
GraphBaseWithSearchIndex.markEdgeHidden(Edge edge,
Visibility visibility,
Authorizations authorizations) |
void |
Graph.markEdgeVisible(Edge edge,
Visibility visibility,
Authorizations authorizations)
Marks an edge as visible for a given visibility, effectively undoing markEdgeHidden.
|
abstract void |
GraphBaseWithSearchIndex.markEdgeVisible(Edge edge,
Visibility visibility,
Authorizations authorizations) |
default void |
Graph.softDeleteEdge(Edge edge,
Authorizations authorizations)
Soft deletes an edge from the graph.
|
void |
Graph.softDeleteEdge(Edge edge,
Long timestamp,
Authorizations authorizations)
Soft deletes an edge from the graph.
|
abstract void |
GraphBaseWithSearchIndex.softDeleteEdge(Edge edge,
Long timestamp,
Authorizations authorizations) |
void |
GraphVisitor.visitEdge(Edge edge) |
void |
DefaultGraphVisitor.visitEdge(Edge edge) |
| Constructor and Description |
|---|
EdgeVertexPair(Edge edge,
Vertex vertex) |
| Modifier and Type | Method and Description |
|---|---|
Edge |
SoftDeleteEdgeEvent.getEdge() |
Edge |
MarkHiddenEdgeEvent.getEdge() |
Edge |
MarkVisibleEdgeEvent.getEdge() |
Edge |
AddEdgeEvent.getEdge() |
| Constructor and Description |
|---|
AddEdgeEvent(Graph graph,
Edge edge) |
MarkHiddenEdgeEvent(Graph graph,
Edge edge) |
MarkVisibleEdgeEvent(Graph graph,
Edge edge) |
SoftDeleteEdgeEvent(Graph graph,
Edge edge) |
| Modifier and Type | Class and Description |
|---|---|
class |
InMemoryEdge |
| Modifier and Type | Method and Description |
|---|---|
Edge |
InMemoryGraph.getEdge(String edgeId,
FetchHints fetchHints,
Long endTime,
Authorizations authorizations) |
| Modifier and Type | Method and Description |
|---|---|
Iterable<Edge> |
InMemoryVertex.getEdges(Direction direction,
FetchHints fetchHints,
Long endTime,
Authorizations authorizations) |
Iterable<Edge> |
InMemoryGraph.getEdges(FetchHints fetchHints,
Long endTime,
Authorizations authorizations) |
protected Iterable<Edge> |
InMemoryGraph.getEdgesFromVertex(String vertexId,
FetchHints fetchHints,
Long endTime,
Authorizations authorizations) |
| Modifier and Type | Method and Description |
|---|---|
void |
InMemoryGraph.deleteEdge(Edge edge,
Authorizations authorizations) |
void |
InMemoryGraph.markEdgeHidden(Edge edge,
Visibility visibility,
Authorizations authorizations) |
void |
InMemoryGraph.markEdgeVisible(Edge edge,
Visibility visibility,
Authorizations authorizations) |
void |
InMemoryGraph.softDeleteEdge(Edge edge,
Long timestamp,
Authorizations authorizations) |
| Modifier and Type | Method and Description |
|---|---|
protected String |
EdgeToEdgeIdIterable.convert(Edge edge) |
| Constructor and Description |
|---|
EdgeToEdgeIdIterable(Iterable<Edge> edges) |
| Constructor and Description |
|---|
ExistingEdgeMutation(Edge edge) |
| Modifier and Type | Method and Description |
|---|---|
QueryResultsIterable<Edge> |
QueryBase.edges() |
QueryResultsIterable<Edge> |
Query.edges() |
QueryResultsIterable<Edge> |
EmptyResultsGraphQuery.edges() |
QueryResultsIterable<Edge> |
QueryBase.edges(FetchHints fetchHints) |
QueryResultsIterable<Edge> |
DefaultMultiVertexQuery.edges(FetchHints fetchHints) |
QueryResultsIterable<Edge> |
DefaultGraphQuery.edges(FetchHints fetchHints) |
abstract QueryResultsIterable<Edge> |
VertexQueryBase.edges(FetchHints fetchHints) |
QueryResultsIterable<Edge> |
Query.edges(FetchHints fetchHints) |
QueryResultsIterable<Edge> |
DefaultVertexQuery.edges(FetchHints fetchHints) |
QueryResultsIterable<Edge> |
EmptyResultsGraphQuery.edges(FetchHints fetchHints) |
QueryResultsIterable<Edge> |
QueryBase.edges(String label)
Deprecated.
|
QueryResultsIterable<Edge> |
Query.edges(String label)
Deprecated.
|
QueryResultsIterable<Edge> |
EmptyResultsGraphQuery.edges(String label)
Deprecated.
|
QueryResultsIterable<Edge> |
QueryBase.edges(String label,
FetchHints fetchHints)
Deprecated.
|
QueryResultsIterable<Edge> |
Query.edges(String label,
FetchHints fetchHints)
Deprecated.
|
QueryResultsIterable<Edge> |
EmptyResultsGraphQuery.edges(String label,
FetchHints fetchHints)
Deprecated.
|
| Modifier and Type | Class and Description |
|---|---|
class |
StorableEdge |
| Modifier and Type | Method and Description |
|---|---|
Edge |
AbstractStorableGraph.getEdge(String edgeId,
FetchHints fetchHints,
Long endTime,
Authorizations authorizations) |
abstract Edge |
StorableEdgeBuilderByVertexId.save(Authorizations authorizations) |
| Modifier and Type | Method and Description |
|---|---|
Iterable<Edge> |
StorableVertex.getEdges(Direction direction,
FetchHints fetchHints,
Long endTime,
Authorizations authorizations) |
Iterable<Edge> |
StorableVertex.getEdges(Direction direction,
String[] labels,
FetchHints fetchHints,
Authorizations authorizations) |
Iterable<Edge> |
StorableVertex.getEdges(Direction direction,
String label,
FetchHints fetchHints,
Authorizations authorizations) |
Iterable<Edge> |
AbstractStorableGraph.getEdges(FetchHints fetchHints,
Long endTime,
Authorizations authorizations) |
Iterable<Edge> |
StorableVertex.getEdges(Vertex otherVertex,
Direction direction,
FetchHints fetchHints,
Authorizations authorizations) |
Iterable<Edge> |
StorableVertex.getEdges(Vertex otherVertex,
Direction direction,
String[] labels,
FetchHints fetchHints,
Authorizations authorizations) |
Iterable<Edge> |
StorableVertex.getEdges(Vertex otherVertex,
Direction direction,
String label,
FetchHints fetchHints,
Authorizations authorizations) |
abstract Iterable<Edge> |
AbstractStorableGraph.getEdgesInRange(IdRange range,
FetchHints fetchHints,
Long endTime,
Authorizations authorizations) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
StorableVertex.addInEdge(Edge edge) |
protected void |
StorableVertex.addOutEdge(Edge edge) |
void |
AbstractStorableGraph.deleteEdge(Edge edge,
Authorizations authorizations) |
void |
AbstractStorableGraph.markEdgeHidden(Edge edge,
Visibility visibility,
Authorizations authorizations) |
void |
AbstractStorableGraph.markEdgeVisible(Edge edge,
Visibility visibility,
Authorizations authorizations) |
protected void |
StorableVertex.removeInEdge(Edge edge) |
protected void |
StorableVertex.removeOutEdge(Edge edge) |
void |
AbstractStorableGraph.softDeleteEdge(Edge edge,
Long timestamp,
Authorizations authorizations) |
| Modifier and Type | Method and Description |
|---|---|
Iterable<Edge> |
KVStoreGraph.getEdgesInRange(IdRange idRange,
FetchHints fetchHints,
Long endTime,
Authorizations authorizations) |
| Modifier and Type | Method and Description |
|---|---|
void |
ElementMutationBuilder.alterEdgeLabel(Edge edge,
String newEdgeLabel) |
boolean |
ElementMutationBuilder.alterEdgeVertexInVertex(StoreMutation vertexInMutation,
Edge edge,
Visibility newVisibility) |
boolean |
ElementMutationBuilder.alterEdgeVertexOutVertex(StoreMutation vertexOutMutation,
Edge edge,
Visibility newVisibility) |
| Modifier and Type | Method and Description |
|---|---|
org.json.JSONObject |
GraphBackup.edgeToJson(Edge edge,
boolean encoded) |
void |
GraphBackup.saveEdge(Edge edge,
OutputStream out) |
| Modifier and Type | Method and Description |
|---|---|
OutputStream |
GraphBackup.save(Iterable<Vertex> vertices,
Iterable<Edge> edges,
OutputStream out) |
OutputStream |
GraphBackup.saveEdges(Iterable<Edge> edges,
OutputStream out) |
| Modifier and Type | Method and Description |
|---|---|
protected Iterator<Edge> |
GeTraverser.edgesOfVertex(String source,
Direction dir,
String label,
long limit) |
static Iterator<Edge> |
GeTraverser.skipSuperNodeIfNeeded(Iterator<Edge> edges,
long degree,
long skipDegree) |
| Modifier and Type | Method and Description |
|---|---|
static Iterator<Edge> |
GeTraverser.skipSuperNodeIfNeeded(Iterator<Edge> edges,
long degree,
long skipDegree) |
| Modifier and Type | Method and Description |
|---|---|
static void |
GeAssert.assertEdgeIds(Iterable<Edge> edges,
String... ids) |
static void |
GeAssert.assertEdgeIdsAnyOrder(Iterable<Edge> edges,
String... expectedIds) |
Copyright © 2016–2021 MWARE SOLUTIONS. All rights reserved.