public final class TinkerGraphComputerView extends Object
Modifier and Type | Field and Description |
---|---|
protected Map<String,VertexComputeKey> |
computeKeys |
Constructor and Description |
---|
TinkerGraphComputerView(TinkerGraph graph,
GraphFilter graphFilter,
Set<VertexComputeKey> computeKeys) |
Modifier and Type | Method and Description |
---|---|
<V> Property<V> |
addProperty(TinkerVertex vertex,
String key,
V value) |
protected void |
complete() |
List<Property> |
getProperties(TinkerVertex vertex) |
List<VertexProperty<?>> |
getProperty(TinkerVertex vertex,
String key) |
boolean |
legalEdge(Vertex vertex,
Edge edge) |
boolean |
legalVertex(Vertex vertex) |
Graph |
processResultGraphPersist(GraphComputer.ResultGraph resultGraph,
GraphComputer.Persist persist) |
void |
removeProperty(TinkerVertex vertex,
String key,
VertexProperty property) |
protected final Map<String,VertexComputeKey> computeKeys
public TinkerGraphComputerView(TinkerGraph graph, GraphFilter graphFilter, Set<VertexComputeKey> computeKeys)
public <V> Property<V> addProperty(TinkerVertex vertex, String key, V value)
public List<VertexProperty<?>> getProperty(TinkerVertex vertex, String key)
public List<Property> getProperties(TinkerVertex vertex)
public void removeProperty(TinkerVertex vertex, String key, VertexProperty property)
public boolean legalVertex(Vertex vertex)
protected void complete()
public Graph processResultGraphPersist(GraphComputer.ResultGraph resultGraph, GraphComputer.Persist persist)
Copyright © 2013–2020 Apache Software Foundation. All rights reserved.