Class StarGraph.StarEdge
- java.lang.Object
 - 
- org.apache.tinkerpop.gremlin.structure.util.star.StarGraph.StarElement<Edge>
 - 
- org.apache.tinkerpop.gremlin.structure.util.star.StarGraph.StarEdge
 
 
 
- 
- All Implemented Interfaces:
 Edge,Element,Attachable<Edge>
- Direct Known Subclasses:
 StarGraph.StarInEdge,StarGraph.StarOutEdge
- Enclosing class:
 - StarGraph
 
public abstract class StarGraph.StarEdge extends StarGraph.StarElement<Edge> implements Edge
 
- 
- 
Nested Class Summary
- 
Nested classes/interfaces inherited from interface org.apache.tinkerpop.gremlin.structure.util.Attachable
Attachable.Exceptions, Attachable.Method 
- 
Nested classes/interfaces inherited from interface org.apache.tinkerpop.gremlin.structure.Edge
Edge.Exceptions 
- 
Nested classes/interfaces inherited from interface org.apache.tinkerpop.gremlin.structure.Element
Element.Exceptions 
 - 
 
- 
Field Summary
Fields Modifier and Type Field Description protected ObjectotherId- 
Fields inherited from class org.apache.tinkerpop.gremlin.structure.util.star.StarGraph.StarElement
id, label 
- 
Fields inherited from interface org.apache.tinkerpop.gremlin.structure.Edge
DEFAULT_LABEL 
 - 
 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <V> Iterator<Property<V>>properties(String... propertyKeys)Get anIteratorof properties where thepropertyKeysis meant to be a filter on the available keys.<V> Property<V>property(String key, V value)Add or set a property value for theElementgiven its key.voidremove()Removes theElementfrom the graph.StringtoString()Iterator<Vertex>vertices(Direction direction)Retrieve the vertex (or vertices) associated with this edge as defined by the direction.- 
Methods inherited from class org.apache.tinkerpop.gremlin.structure.util.star.StarGraph.StarElement
equals, get, graph, hashCode, id, label 
- 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait 
- 
Methods inherited from interface org.apache.tinkerpop.gremlin.structure.util.Attachable
attach 
- 
Methods inherited from interface org.apache.tinkerpop.gremlin.structure.Edge
bothVertices, inVertex, outVertex 
 - 
 
 - 
 
- 
- 
Field Detail
- 
otherId
protected final Object otherId
 
 - 
 
- 
Method Detail
- 
property
public <V> Property<V> property(String key, V value)
Description copied from interface:ElementAdd or set a property value for theElementgiven its key. 
- 
properties
public <V> Iterator<Property<V>> properties(String... propertyKeys)
Description copied from interface:EdgeGet anIteratorof properties where thepropertyKeysis meant to be a filter on the available keys. If no keys are provide then return all the properties.- Specified by:
 propertiesin interfaceEdge- Specified by:
 propertiesin interfaceElement
 
- 
vertices
public Iterator<Vertex> vertices(Direction direction)
Description copied from interface:EdgeRetrieve the vertex (or vertices) associated with this edge as defined by the direction. If the direction isDirection.BOTHthen the iterator order is:Direction.OUTthenDirection.IN. 
- 
remove
public void remove()
Description copied from interface:ElementRemoves theElementfrom the graph. 
 - 
 
 -