Class OrientElement
java.lang.Object
org.apache.tinkerpop.gremlin.orientdb.OrientElement
- All Implemented Interfaces:
OIdentifiable,Comparable<OIdentifiable>,Comparator<OIdentifiable>,org.apache.tinkerpop.gremlin.structure.Element
- Direct Known Subclasses:
OrientEdge,OrientVertex
public abstract class OrientElement
extends Object
implements org.apache.tinkerpop.gremlin.structure.Element, OIdentifiable
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.apache.tinkerpop.gremlin.structure.Element
org.apache.tinkerpop.gremlin.structure.Element.Exceptions -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintcompare(OIdentifiable o1, OIdentifiable o2) intfinal booleangetGraph()Returns the record identity.abstract OElement<T extends ORecord>
TReturns the record instance.org.apache.tinkerpop.gremlin.structure.Graphgraph()final inthashCode()id()label()<V> Iterator<? extends org.apache.tinkerpop.gremlin.structure.Property<V>>properties(String... propertyKeys) void<V> org.apache.tinkerpop.gremlin.structure.Property<V><V> org.apache.tinkerpop.gremlin.structure.Property<V>voidremove()voidsave()Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.Comparator
reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLongMethods inherited from interface org.apache.tinkerpop.gremlin.structure.Element
keys, value, values
-
Field Details
-
rawElement
-
graph
-
-
Constructor Details
-
OrientElement
-
-
Method Details
-
id
- Specified by:
idin interfaceorg.apache.tinkerpop.gremlin.structure.Element
-
label
- Specified by:
labelin interfaceorg.apache.tinkerpop.gremlin.structure.Element
-
graph
public org.apache.tinkerpop.gremlin.structure.Graph graph()- Specified by:
graphin interfaceorg.apache.tinkerpop.gremlin.structure.Element
-
property
- Specified by:
propertyin interfaceorg.apache.tinkerpop.gremlin.structure.Element
-
property
- Specified by:
propertyin interfaceorg.apache.tinkerpop.gremlin.structure.Element
-
property
-
properties
public <V> Iterator<? extends org.apache.tinkerpop.gremlin.structure.Property<V>> properties(String... propertyKeys) - Specified by:
propertiesin interfaceorg.apache.tinkerpop.gremlin.structure.Element
-
remove
public void remove()- Specified by:
removein interfaceorg.apache.tinkerpop.gremlin.structure.Element
-
save
public void save() -
getGraph
-
getRawElement
-
hashCode
public final int hashCode() -
equals
- Specified by:
equalsin interfaceComparator<OIdentifiable>- Overrides:
equalsin classObject
-
getIdentity
Description copied from interface:OIdentifiableReturns the record identity.- Specified by:
getIdentityin interfaceOIdentifiable- Returns:
- ORID instance
-
getRecord
Description copied from interface:OIdentifiableReturns the record instance.- Specified by:
getRecordin interfaceOIdentifiable- Returns:
- ORecord instance
-
compareTo
- Specified by:
compareToin interfaceComparable<OIdentifiable>
-
compare
- Specified by:
comparein interfaceComparator<OIdentifiable>
-