Class TinkerIndexHelper
- java.lang.Object
-
- org.apache.tinkerpop.gremlin.tinkergraph.structure.TinkerIndexHelper
-
public final class TinkerIndexHelper extends Object
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
autoUpdateIndex(TinkerEdge edge, String key, Object newValue, Object oldValue)
static void
autoUpdateIndex(TinkerVertex vertex, String key, Object newValue, Object oldValue)
static List<TinkerEdge>
queryEdgeIndex(AbstractTinkerGraph graph, String key, Object value)
static List<TinkerVertex>
queryVertexIndex(AbstractTinkerGraph graph, String key, Object value)
static void
removeElementIndex(TinkerEdge edge)
static void
removeElementIndex(TinkerVertex vertex)
static void
removeIndex(TinkerEdge edge, String key, Object value)
static void
removeIndex(TinkerVertex vertex, String key, Object value)
-
-
-
Method Detail
-
queryVertexIndex
public static List<TinkerVertex> queryVertexIndex(AbstractTinkerGraph graph, String key, Object value)
-
queryEdgeIndex
public static List<TinkerEdge> queryEdgeIndex(AbstractTinkerGraph graph, String key, Object value)
-
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)
-
-