Package io.hgraphdb
Class HBaseVertexProperty<V>
- java.lang.Object
-
- io.hgraphdb.HBaseVertexProperty<V>
-
- All Implemented Interfaces:
org.apache.tinkerpop.gremlin.structure.Element
,org.apache.tinkerpop.gremlin.structure.Property<V>
,org.apache.tinkerpop.gremlin.structure.VertexProperty<V>
public final class HBaseVertexProperty<V> extends Object implements org.apache.tinkerpop.gremlin.structure.VertexProperty<V>
-
-
Field Summary
Fields Modifier and Type Field Description protected HBaseGraph
graph
protected String
key
protected V
value
protected HBaseVertex
vertex
-
Constructor Summary
Constructors Constructor Description HBaseVertexProperty(HBaseGraph graph, HBaseVertex vertex, String key, V value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.apache.tinkerpop.gremlin.structure.Vertex
element()
boolean
equals(Object object)
int
hashCode()
Object
id()
boolean
isPresent()
String
key()
Set<String>
keys()
<U> Iterator<org.apache.tinkerpop.gremlin.structure.Property<U>>
properties(String... propertyKeys)
<U> org.apache.tinkerpop.gremlin.structure.Property<U>
property(String key, U value)
void
remove()
String
toString()
V
value()
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.apache.tinkerpop.gremlin.structure.Element
property, value, values
-
-
-
-
Field Detail
-
graph
protected final HBaseGraph graph
-
vertex
protected final HBaseVertex vertex
-
key
protected final String key
-
value
protected final V value
-
-
Constructor Detail
-
HBaseVertexProperty
public HBaseVertexProperty(HBaseGraph graph, HBaseVertex vertex, String key, V value)
-
-
Method Detail
-
element
public org.apache.tinkerpop.gremlin.structure.Vertex element()
-
id
public Object id()
- Specified by:
id
in interfaceorg.apache.tinkerpop.gremlin.structure.Element
-
key
public String key()
- Specified by:
key
in interfaceorg.apache.tinkerpop.gremlin.structure.Property<V>
-
value
public V value() throws NoSuchElementException
- Specified by:
value
in interfaceorg.apache.tinkerpop.gremlin.structure.Property<V>
- Throws:
NoSuchElementException
-
isPresent
public boolean isPresent()
- Specified by:
isPresent
in interfaceorg.apache.tinkerpop.gremlin.structure.Property<V>
-
properties
public <U> Iterator<org.apache.tinkerpop.gremlin.structure.Property<U>> properties(String... propertyKeys)
- Specified by:
properties
in interfaceorg.apache.tinkerpop.gremlin.structure.Element
- Specified by:
properties
in interfaceorg.apache.tinkerpop.gremlin.structure.VertexProperty<V>
-
property
public <U> org.apache.tinkerpop.gremlin.structure.Property<U> property(String key, U value)
- Specified by:
property
in interfaceorg.apache.tinkerpop.gremlin.structure.Element
-
remove
public void remove()
- Specified by:
remove
in interfaceorg.apache.tinkerpop.gremlin.structure.Element
- Specified by:
remove
in interfaceorg.apache.tinkerpop.gremlin.structure.Property<V>
-
keys
public Set<String> keys()
- Specified by:
keys
in interfaceorg.apache.tinkerpop.gremlin.structure.Element
-
-