public interface StorageProperty
isDefined()
. Undefined property instances can be used for
passing property key id and signaling that it doesn't exist.Modifier and Type | Method and Description |
---|---|
boolean |
isDefined() |
int |
propertyKeyId() |
Object |
value() |
Object |
value(Object defaultValue) |
String |
valueAsString() |
boolean |
valueEquals(Object other) |
int propertyKeyId()
boolean valueEquals(Object other)
other
- value to compare with for equality.value
.Object value() throws org.neo4j.kernel.api.exceptions.PropertyNotFoundException
org.neo4j.kernel.api.exceptions.PropertyNotFoundException
- if this property instance represented a non-existent property.Object value(Object defaultValue)
defaultValue
- value to return if this property has no value associated with it, instead
of throwing exception.String valueAsString() throws org.neo4j.kernel.api.exceptions.PropertyNotFoundException
String
representation of it.org.neo4j.kernel.api.exceptions.PropertyNotFoundException
- if this property instance represented a non-existent property.boolean isDefined()
Copyright © 2002–2016 The Neo4j Graph Database Project. All rights reserved.