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
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.apache.tinkerpop.gremlin.structure.util.Attachable
Attachable.Exceptions, Attachable.MethodNested classes/interfaces inherited from interface org.apache.tinkerpop.gremlin.structure.Edge
Edge.ExceptionsNested classes/interfaces inherited from interface org.apache.tinkerpop.gremlin.structure.Element
Element.Exceptions -
Field Summary
FieldsFields inherited from class org.apache.tinkerpop.gremlin.structure.util.star.StarGraph.StarElement
id, labelFields inherited from interface org.apache.tinkerpop.gremlin.structure.util.Attachable
loggerFields inherited from interface org.apache.tinkerpop.gremlin.structure.Edge
DEFAULT_LABEL -
Method Summary
Modifier and TypeMethodDescriptionlabel()Gets the label for the graphElementwhich helps categorize it.labels()Gets all labels for this element.properties(String... propertyKeys) Get anIteratorof properties where thepropertyKeysis meant to be a filter on the available keys.<V> Property<V>Add or set a property value for theElementgiven its key.voidremove()Removes theElementfrom the graph.voidSets the edge labels from a source set.toString()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, idMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.apache.tinkerpop.gremlin.structure.util.Attachable
attachMethods inherited from interface org.apache.tinkerpop.gremlin.structure.Edge
bothVertices, inVertex, outVertex
-
Field Details
-
otherId
-
-
Method Details
-
labels
Description copied from interface:ElementGets all labels for this element.For
Vertex: may return zero or more labels (multi-label support). ForEdge: returns a singleton set (single label only in TinkerGraph). ForVertexProperty: returns a singleton set containing the property key. -
label
Description copied from interface:ElementGets the label for the graphElementwhich helps categorize it.- Specified by:
labelin interfaceElement- Overrides:
labelin classStarGraph.StarElement<Edge>- Returns:
- The label of the element
-
setLabels
Sets the edge labels from a source set. Used when copying labels from a multi-label edge. -
property
Description copied from interface:ElementAdd or set a property value for theElementgiven its key. -
properties
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
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. -
toString
-