public class BlazeProperty<V> extends Object implements org.apache.tinkerpop.gremlin.structure.Property<V>
BlazeEdge
s and BlazeVertexProperty
s
(meta-properties).Modifier and Type | Field and Description |
---|---|
protected BlazeElement |
element
The
BlazeElement this property belongs to. |
protected BlazeGraph |
graph
BlazeGraph instance this property belongs to. |
protected org.openrdf.model.URI |
key
RDF representation of the property key.
|
protected org.openrdf.model.Literal |
val
RDF representation of the property value.
|
protected BlazeValueFactory |
vf
The
BlazeValueFactory provided by the graph for round-tripping
values. |
Modifier | Constructor and Description |
---|---|
protected |
BlazeProperty()
Solely for
EmptyBlazeProperty . |
Modifier and Type | Method and Description |
---|---|
BlazeElement |
element()
The
BlazeElement this property belongs to. |
boolean |
equals(Object object)
Pass through to
ElementHelper.areEqual(Property, Object) |
BlazeGraph |
graph() |
int |
hashCode()
Pass through to
ElementHelper.hashCode(Property) |
boolean |
isPresent() |
String |
key() |
org.openrdf.model.URI |
rdfKey()
RDF representation of the property key.
|
org.openrdf.model.Literal |
rdfValue()
RDF representation of the property value.
|
void |
remove() |
String |
toString()
Pass through to
StringFactory.propertyString(Property) |
V |
value() |
protected final BlazeGraph graph
BlazeGraph
instance this property belongs to.protected final BlazeValueFactory vf
BlazeValueFactory
provided by the graph for round-tripping
values.protected final BlazeElement element
BlazeElement
this property belongs to.protected final org.openrdf.model.URI key
protected final org.openrdf.model.Literal val
protected BlazeProperty()
EmptyBlazeProperty
.public BlazeGraph graph()
public org.openrdf.model.URI rdfKey()
public org.openrdf.model.Literal rdfValue()
public BlazeElement element()
BlazeElement
this property belongs to.element
in interface org.apache.tinkerpop.gremlin.structure.Property<V>
public String key()
key
in interface org.apache.tinkerpop.gremlin.structure.Property<V>
Property.key()
public V value() throws NoSuchElementException
value
in interface org.apache.tinkerpop.gremlin.structure.Property<V>
NoSuchElementException
Property.value()
public boolean isPresent()
isPresent
in interface org.apache.tinkerpop.gremlin.structure.Property<V>
Property.isPresent()
public void remove()
remove
in interface org.apache.tinkerpop.gremlin.structure.Property<V>
Property.remove()
,
BlazeGraph.remove(BlazeProperty)
public boolean equals(Object object)
ElementHelper.areEqual(Property, Object)
public int hashCode()
ElementHelper.hashCode(Property)
Copyright © 2015–2016 SYSTAP, LLC DBA Blazegraph. All rights reserved.