public class EmptyBlazeVertexProperty<V> extends BlazeVertexProperty<V>
EmptyVertexProperty
, but it's final.Modifier and Type | Field and Description |
---|---|
static EmptyBlazeVertexProperty |
INSTANCE |
Modifier and Type | Method and Description |
---|---|
BlazeVertex |
element()
The vertex to which this property belongs.
|
boolean |
equals(Object object)
Pass through to
ElementHelper.areEqual(VertexProperty, Object) |
BlazeGraph |
graph()
The
BlazeGraph instance. |
int |
hashCode()
Pass through to
ElementHelper.hashCode(Element) |
String |
id()
The internally generated element id for this vertex property.
|
static <V> BlazeVertexProperty<V> |
instance() |
boolean |
isPresent() |
String |
key()
Property key.
|
String |
label()
The element label, which is the property key.
|
<U> CloseableIterator<org.apache.tinkerpop.gremlin.structure.Property<U>> |
properties(String... propertyKeys)
Strength return type to
CloseableIterator . |
<U> BlazeProperty<U> |
property(String key)
Safer default implementation that closes the iterator from properties().
|
<U> BlazeProperty<U> |
property(String key,
U value)
Strengthen return type to
BlazeProperty . |
com.bigdata.rdf.model.BigdataBNode |
rdfId()
The reified vertex property triple.
|
org.openrdf.model.URI |
rdfLabel()
The RDF representation of the element label (required by
BlazeElement ). |
void |
remove() |
String |
toString()
Pass through to
StringFactory.propertyString(Property) |
V |
value()
Property value.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
ifPresent, orElse, orElseGet, orElseThrow
keys, values
public static final EmptyBlazeVertexProperty INSTANCE
public static <V> BlazeVertexProperty<V> instance()
public com.bigdata.rdf.model.BigdataBNode rdfId()
BlazeVertexProperty
rdfId
in interface BlazeElement
rdfId
in interface BlazeReifiedElement
rdfId
in class BlazeVertexProperty<V>
BlazeElement.rdfId()
public org.openrdf.model.URI rdfLabel()
BlazeVertexProperty
BlazeElement
).rdfLabel
in interface BlazeElement
rdfLabel
in class BlazeVertexProperty<V>
public String label()
BlazeVertexProperty
label
in interface org.apache.tinkerpop.gremlin.structure.Element
label
in interface org.apache.tinkerpop.gremlin.structure.VertexProperty<V>
label
in class BlazeVertexProperty<V>
public int hashCode()
BlazeVertexProperty
ElementHelper.hashCode(Element)
hashCode
in class BlazeVertexProperty<V>
public boolean equals(Object object)
BlazeVertexProperty
ElementHelper.areEqual(VertexProperty, Object)
equals
in class BlazeVertexProperty<V>
public BlazeVertex element()
BlazeVertexProperty
element
in interface org.apache.tinkerpop.gremlin.structure.Property<V>
element
in interface org.apache.tinkerpop.gremlin.structure.VertexProperty<V>
element
in class BlazeVertexProperty<V>
public String id()
BlazeVertexProperty
id
in interface org.apache.tinkerpop.gremlin.structure.Element
id
in class BlazeVertexProperty<V>
public BlazeGraph graph()
BlazeVertexProperty
BlazeGraph
instance.graph
in interface BlazeElement
graph
in interface org.apache.tinkerpop.gremlin.structure.Element
graph
in interface org.apache.tinkerpop.gremlin.structure.VertexProperty<V>
graph
in class BlazeVertexProperty<V>
public <U> BlazeProperty<U> property(String key)
BlazeReifiedElement
public <U> BlazeProperty<U> property(String key, U value)
BlazeVertexProperty
BlazeProperty
.property
in interface BlazeReifiedElement
property
in interface org.apache.tinkerpop.gremlin.structure.Element
property
in class BlazeVertexProperty<V>
public String key()
BlazeVertexProperty
key
in interface org.apache.tinkerpop.gremlin.structure.Property<V>
key
in class BlazeVertexProperty<V>
public V value() throws NoSuchElementException
BlazeVertexProperty
value
in interface org.apache.tinkerpop.gremlin.structure.Property<V>
value
in class BlazeVertexProperty<V>
NoSuchElementException
public boolean isPresent()
isPresent
in interface org.apache.tinkerpop.gremlin.structure.Property<V>
isPresent
in class BlazeVertexProperty<V>
Property.isPresent()
public void remove()
remove
in interface org.apache.tinkerpop.gremlin.structure.Element
remove
in interface org.apache.tinkerpop.gremlin.structure.Property<V>
remove
in class BlazeVertexProperty<V>
Property.remove()
,
BlazeGraph.remove(BlazeReifiedElement)
public String toString()
BlazeVertexProperty
StringFactory.propertyString(Property)
toString
in class BlazeVertexProperty<V>
public <U> CloseableIterator<org.apache.tinkerpop.gremlin.structure.Property<U>> properties(String... propertyKeys)
BlazeVertexProperty
CloseableIterator
. You MUST close this
iterator when finished.properties
in interface BlazeElement
properties
in interface BlazeReifiedElement
properties
in interface org.apache.tinkerpop.gremlin.structure.Element
properties
in interface org.apache.tinkerpop.gremlin.structure.VertexProperty<V>
properties
in class BlazeVertexProperty<V>
Copyright © 2015–2016 SYSTAP, LLC DBA Blazegraph. All rights reserved.