public class ElementHelper extends Object
| Constructor and Description |
|---|
ElementHelper() |
| Modifier and Type | Method and Description |
|---|---|
static void |
attachProperties(TitanRelation element,
Object... keyValues) |
static void |
attachProperties(TitanVertex vertex,
Object... propertyKeyValues)
This is essentially an adjusted copy&paste from TinkerPop's ElementHelper class.
|
static long |
getCompareId(org.apache.tinkerpop.gremlin.structure.Element element) |
static Set<String> |
getPropertyKeys(TitanVertex v) |
static Iterable<Object> |
getValues(TitanElement element,
PropertyKey key) |
public static Iterable<Object> getValues(TitanElement element, PropertyKey key)
public static long getCompareId(org.apache.tinkerpop.gremlin.structure.Element element)
public static void attachProperties(TitanRelation element, Object... keyValues)
public static void attachProperties(TitanVertex vertex, Object... propertyKeyValues)
vertex - propertyKeyValues - public static Set<String> getPropertyKeys(TitanVertex v)
Copyright © 2012–2015. All rights reserved.