Class ComputerGraph.ComputerVertexProperty<V>
java.lang.Object
org.apache.tinkerpop.gremlin.process.computer.util.ComputerGraph.ComputerElement
org.apache.tinkerpop.gremlin.process.computer.util.ComputerGraph.ComputerVertexProperty<V>
- All Implemented Interfaces:
Element,Property<V>,WrappedElement<Element>,WrappedVertexProperty<VertexProperty<V>>,VertexProperty<V>
- Enclosing class:
- ComputerGraph
public class ComputerGraph.ComputerVertexProperty<V>
extends ComputerGraph.ComputerElement
implements VertexProperty<V>, WrappedVertexProperty<VertexProperty<V>>
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.apache.tinkerpop.gremlin.structure.Element
Element.ExceptionsNested classes/interfaces inherited from interface org.apache.tinkerpop.gremlin.structure.VertexProperty
VertexProperty.Cardinality, VertexProperty.Exceptions -
Field Summary
Fields inherited from interface org.apache.tinkerpop.gremlin.structure.VertexProperty
DEFAULT_LABEL -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionelement()Gets theVertexthat owns thisVertexProperty.booleanWhether the property is empty or not.key()The key of the property.properties(String... propertyKeys) Get anIteratorof properties where thepropertyKeysis meant to be a filter on the available keys.value()The value of the property.Methods inherited from class org.apache.tinkerpop.gremlin.process.computer.util.ComputerGraph.ComputerElement
equals, getBaseElement, graph, hashCode, id, keys, label, labels, property, property, remove, toString, value, valuesMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.apache.tinkerpop.gremlin.structure.Element
addLabel, dropLabel, dropLabels, id, keys, property, property, remove, value, valuesMethods inherited from interface org.apache.tinkerpop.gremlin.structure.Property
ifPresent, orElse, orElseGet, orElseThrow, removeMethods inherited from interface org.apache.tinkerpop.gremlin.structure.VertexProperty
graph, label, labels
-
Constructor Details
-
ComputerVertexProperty
-
-
Method Details
-
key
Description copied from interface:PropertyThe key of the property. -
value
Description copied from interface:PropertyThe value of the property.- Specified by:
valuein interfaceProperty<V>- Returns:
- The property value
- Throws:
NoSuchElementException- thrown if the property is empty
-
isPresent
public boolean isPresent()Description copied from interface:PropertyWhether the property is empty or not. -
element
Description copied from interface:VertexPropertyGets theVertexthat owns thisVertexProperty.- Specified by:
elementin interfaceProperty<V>- Specified by:
elementin interfaceVertexProperty<V>- Returns:
- The element associated with this property (i.e.
Vertex,Edge, orVertexProperty).
-
properties
Description copied from interface:ElementGet 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 interfaceElement- Specified by:
propertiesin interfaceVertexProperty<V>- Overrides:
propertiesin classComputerGraph.ComputerElement
-
getBaseVertexProperty
- Specified by:
getBaseVertexPropertyin interfaceWrappedVertexProperty<V>
-