public class DetachedVertexProperty<V> extends DetachedElement<Property<V>> implements VertexProperty<V>, VertexProperty.Iterators
VertexProperty.Exceptions, VertexProperty.Iterators| Modifier and Type | Field and Description |
|---|---|
protected V |
value |
protected DetachedVertex |
vertex |
id, label, propertiesDEFAULT_LABEL| Modifier | Constructor and Description |
|---|---|
|
DetachedVertexProperty(java.lang.Object id,
java.lang.String label,
V value,
java.util.Map<java.lang.String,java.lang.Object> properties,
Vertex vertex) |
protected |
DetachedVertexProperty(VertexProperty<V> vertexProperty,
boolean withProperties) |
| Modifier and Type | Method and Description |
|---|---|
VertexProperty<V> |
attach(Graph hostGraph) |
VertexProperty<V> |
attach(Vertex hostVertex) |
Vertex |
element()
Gets the
Vertex that owns this VertexProperty. |
boolean |
equals(java.lang.Object object) |
boolean |
isPresent()
Whether the property is empty or not.
|
VertexProperty.Iterators |
iterators()
Gets the iterators for the
Element. |
java.lang.String |
key()
The key of the property.
|
<U> java.util.Iterator<Property<U>> |
propertyIterator(java.lang.String... propertyKeys)
Get an
Iterator of properties. |
void |
remove()
Removes the
Element from the graph. |
java.lang.String |
toString() |
V |
value()
The value of the property.
|
graph, hashCode, id, label, property, propertyclone, finalize, getClass, notify, notifyAll, wait, wait, waitempty, graph, labelifPresent, orElse, orElseGet, orElseThrowid, keys, property, property, valueproperties, propertyMap, start, valueMap, valueMapaddBothE, addE, addInE, addOutE, aggregate, aggregate, as, back, between, both, bothE, bothV, branch, cap, cap, choose, choose, coin, count, cyclicPath, dedup, emit, emit, emit, except, except, except, filter, flatMap, fold, fold, group, group, groupCount, groupCount, has, has, has, has, has, has, has, hasNot, identity, in, inE, inject, inV, limit, local, map, match, order, otherV, out, outE, outV, path, profile, range, repeat, retain, retain, retain, sack, sack, sack, sample, select, select, shuffle, sideEffect, simplePath, store, store, subgraph, subgraph, subgraph, subgraph, submit, sum, timeLimit, times, to, toE, toV, tree, tree, unfold, union, until, until, values, where, where, where, withPath, withSack, withSack, withSideEffectvalueIteratorprotected V value
protected transient DetachedVertex vertex
protected DetachedVertexProperty(VertexProperty<V> vertexProperty, boolean withProperties)
public boolean isPresent()
Propertypublic java.lang.String key()
Propertypublic Vertex element()
VertexPropertyVertex that owns this VertexProperty.element in interface Property<V>element in interface VertexProperty<V>Vertex, Edge, or VertexProperty).public void remove()
ElementElement from the graph.public java.lang.String toString()
toString in class java.lang.Objectpublic boolean equals(java.lang.Object object)
equals in class DetachedElement<Property<V>>public VertexProperty<V> attach(Vertex hostVertex)
attach in interface Attachable<Property<V>>public VertexProperty<V> attach(Graph hostGraph)
attach in interface Attachable<Property<V>>public VertexProperty.Iterators iterators()
ElementElement. Iterators provide low-level access to the data associated with
an Element as they do not come with the overhead of Traversal
construction. Use iterators in places where performance is most crucial.iterators in interface Elementiterators in interface VertexProperty<V>iterators in class DetachedElement<Property<V>>public <U> java.util.Iterator<Property<U>> propertyIterator(java.lang.String... propertyKeys)
Element.IteratorsIterator of properties.propertyIterator in interface Element.IteratorspropertyIterator in interface VertexProperty.IteratorspropertyIterator in class DetachedElement<Property<V>>Copyright © 2013-2015 TinkerPop. All Rights Reserved.