public final class TinkerHelper extends Object
protected static Edge addEdge(TinkerGraph graph, TinkerVertex outVertex, TinkerVertex inVertex, String label, Object... keyValues)
protected static void addOutEdge(TinkerVertex vertex, String label, Edge edge)
protected static void addInEdge(TinkerVertex vertex, String label, Edge edge)
public static List<TinkerVertex> queryVertexIndex(TinkerGraph graph, String key, Object value)
public static List<TinkerEdge> queryEdgeIndex(TinkerGraph graph, String key, Object value)
public static boolean inComputerMode(TinkerGraph graph)
public static TinkerGraphComputerView createGraphComputerView(TinkerGraph graph, GraphFilter graphFilter, Set<VertexComputeKey> computeKeys)
public static TinkerGraphComputerView getGraphComputerView(TinkerGraph graph)
public static void dropGraphComputerView(TinkerGraph graph)
public static Map<String,List<VertexProperty>> getProperties(TinkerVertex vertex)
public static void autoUpdateIndex(TinkerEdge edge, String key, Object newValue, Object oldValue)
public static void autoUpdateIndex(TinkerVertex vertex, String key, Object newValue, Object oldValue)
public static void removeElementIndex(TinkerVertex vertex)
public static void removeElementIndex(TinkerEdge edge)
public static void removeIndex(TinkerVertex vertex, String key, Object value)
public static void removeIndex(TinkerEdge edge, String key, Object value)
public static Iterator<TinkerEdge> getEdges(TinkerVertex vertex, Direction direction, String... edgeLabels)
public static Iterator<TinkerVertex> getVertices(TinkerVertex vertex, Direction direction, String... edgeLabels)
public static Map<Object,Vertex> getVertices(TinkerGraph graph)
public static Map<Object,Edge> getEdges(TinkerGraph graph)
Copyright © 2013–2020 Apache Software Foundation. All rights reserved.