Class TinkerHelper
- java.lang.Object
 - 
- org.apache.tinkerpop.gremlin.tinkergraph.structure.TinkerHelper
 
 
- 
public final class TinkerHelper extends Object
- Author:
 - Marko A. Rodriguez (http://markorodriguez.com)
 
 
- 
- 
Method Summary
 
 - 
 
- 
- 
Method Detail
- 
addEdge
protected static Edge addEdge(TinkerGraph graph, TinkerVertex outVertex, TinkerVertex inVertex, String label, Object... keyValues)
 
- 
addOutEdge
protected static void addOutEdge(TinkerVertex vertex, String label, Edge edge)
 
- 
addInEdge
protected static void addInEdge(TinkerVertex vertex, String label, Edge edge)
 
- 
queryVertexIndex
public static List<TinkerVertex> queryVertexIndex(TinkerGraph graph, String key, Object value)
 
- 
queryEdgeIndex
public static List<TinkerEdge> queryEdgeIndex(TinkerGraph graph, String key, Object value)
 
- 
inComputerMode
public static boolean inComputerMode(TinkerGraph graph)
 
- 
createGraphComputerView
public static TinkerGraphComputerView createGraphComputerView(TinkerGraph graph, GraphFilter graphFilter, Set<VertexComputeKey> computeKeys)
 
- 
getGraphComputerView
public static TinkerGraphComputerView getGraphComputerView(TinkerGraph graph)
 
- 
dropGraphComputerView
public static void dropGraphComputerView(TinkerGraph graph)
 
- 
getProperties
public static Map<String,List<VertexProperty>> getProperties(TinkerVertex vertex)
 
- 
autoUpdateIndex
public static void autoUpdateIndex(TinkerEdge edge, String key, Object newValue, Object oldValue)
 
- 
autoUpdateIndex
public static void autoUpdateIndex(TinkerVertex vertex, String key, Object newValue, Object oldValue)
 
- 
removeElementIndex
public static void removeElementIndex(TinkerVertex vertex)
 
- 
removeElementIndex
public static void removeElementIndex(TinkerEdge edge)
 
- 
removeIndex
public static void removeIndex(TinkerVertex vertex, String key, Object value)
 
- 
removeIndex
public static void removeIndex(TinkerEdge edge, String key, Object value)
 
- 
getEdges
public static Iterator<TinkerEdge> getEdges(TinkerVertex vertex, Direction direction, String... edgeLabels)
 
- 
getVertices
public static Iterator<TinkerVertex> getVertices(TinkerVertex vertex, Direction direction, String... edgeLabels)
 
- 
getVertices
public static Map<Object,Vertex> getVertices(TinkerGraph graph)
 
- 
getEdges
public static Map<Object,Edge> getEdges(TinkerGraph graph)
 
- 
search
public static <E extends Element> Iterator<Property> search(TinkerGraph graph, String regex, Optional<Class<E>> type)
 
- 
search
public static Iterator<Property> search(TinkerGraph graph, String regex)
 
 - 
 
 -