| Package | Description |
|---|---|
| com.tinkerpop.gremlin.structure |
| Modifier and Type | Method and Description |
|---|---|
default Vertex |
Graph.addVertex(java.lang.String label)
Add a
Vertex to the graph with provided vertex label. |
default java.util.Map<java.lang.String,java.lang.Object> |
Graph.Variables.asMap()
Gets the variables of the
Graph as a Map. |
default Graph |
VertexProperty.graph()
Get the graph that this element is within.
|
default void |
Property.ifPresent(java.util.function.Consumer<? super V> consumer)
If the property is present, the consume the value as specified by the
Consumer. |
default java.lang.String |
VertexProperty.label()
Gets the label for the graph
Element which helps categorize it. |
default V |
Property.orElse(V otherValue)
If the value is present, return the value, else return the provided value.
|
default V |
Property.orElseGet(java.util.function.Supplier<? extends V> valueSupplier)
If the value is present, return the value, else generate a value given the
Supplier. |
default <E extends java.lang.Throwable> |
Property.orElseThrow(java.util.function.Supplier<? extends E> exceptionSupplier)
If the value is present, return the value, else throw the exception generated by the
Supplier. |
default StrategyGraph |
Graph.strategy(GraphStrategy... strategies)
Constructs a
StrategyGraph from one or more GraphStrategy objects. |
default <V> V |
Element.value(java.lang.String key)
Get the value of a
Property given it's key. |
default <V> java.util.Iterator<V> |
Element.Iterators.valueIterator(java.lang.String... propertyKeys)
Get the values of properties as an
Iterator. |
Copyright © 2013-2015 TinkerPop. All Rights Reserved.