public class ValueNode extends ValuePropertyContainer implements org.neo4j.graphdb.Node
| Constructor and Description |
|---|
ValueNode(long id,
Collection<org.neo4j.graphdb.Label> labels,
Map<String,Object> props) |
| Modifier and Type | Method and Description |
|---|---|
void |
addLabel(org.neo4j.graphdb.Label label) |
org.neo4j.graphdb.Relationship |
createRelationshipTo(org.neo4j.graphdb.Node node,
org.neo4j.graphdb.RelationshipType relationshipType) |
void |
delete() |
boolean |
equals(Object o) |
int |
getDegree() |
int |
getDegree(org.neo4j.graphdb.Direction direction) |
int |
getDegree(org.neo4j.graphdb.RelationshipType relationshipType) |
int |
getDegree(org.neo4j.graphdb.RelationshipType relationshipType,
org.neo4j.graphdb.Direction direction) |
org.neo4j.graphdb.GraphDatabaseService |
getGraphDatabase() |
long |
getId() |
Iterable<org.neo4j.graphdb.Label> |
getLabels() |
Object |
getProperty(String s,
Object o) |
Iterable<org.neo4j.graphdb.Relationship> |
getRelationships() |
Iterable<org.neo4j.graphdb.Relationship> |
getRelationships(org.neo4j.graphdb.Direction direction) |
Iterable<org.neo4j.graphdb.Relationship> |
getRelationships(org.neo4j.graphdb.Direction direction,
org.neo4j.graphdb.RelationshipType... relationshipTypes) |
Iterable<org.neo4j.graphdb.Relationship> |
getRelationships(org.neo4j.graphdb.RelationshipType... relationshipTypes) |
Iterable<org.neo4j.graphdb.Relationship> |
getRelationships(org.neo4j.graphdb.RelationshipType relationshipType,
org.neo4j.graphdb.Direction direction) |
Iterable<org.neo4j.graphdb.RelationshipType> |
getRelationshipTypes() |
org.neo4j.graphdb.Relationship |
getSingleRelationship(org.neo4j.graphdb.RelationshipType relationshipType,
org.neo4j.graphdb.Direction direction) |
int |
hashCode() |
boolean |
hasLabel(org.neo4j.graphdb.Label label) |
boolean |
hasProperty(String s) |
boolean |
hasRelationship() |
boolean |
hasRelationship(org.neo4j.graphdb.Direction direction) |
boolean |
hasRelationship(org.neo4j.graphdb.Direction direction,
org.neo4j.graphdb.RelationshipType... relationshipTypes) |
boolean |
hasRelationship(org.neo4j.graphdb.RelationshipType... relationshipTypes) |
boolean |
hasRelationship(org.neo4j.graphdb.RelationshipType relationshipType,
org.neo4j.graphdb.Direction direction) |
static void |
pack(Neo4jPack.Packer packer,
org.neo4j.graphdb.Node node) |
void |
removeLabel(org.neo4j.graphdb.Label label) |
Object |
removeProperty(String s) |
void |
setProperty(String s,
Object o) |
String |
toString() |
static ValueNode |
unpack(Neo4jPack.Unpacker unpacker) |
static ValueNode |
unpackFields(Neo4jPack.Unpacker unpacker) |
getAllProperties, getProperties, getProperty, getPropertyKeyspublic ValueNode(long id,
Collection<org.neo4j.graphdb.Label> labels,
Map<String,Object> props)
public static void pack(Neo4jPack.Packer packer, org.neo4j.graphdb.Node node) throws IOException
IOExceptionpublic static ValueNode unpack(Neo4jPack.Unpacker unpacker) throws IOException
IOExceptionpublic static ValueNode unpackFields(Neo4jPack.Unpacker unpacker) throws IOException
IOExceptionpublic long getId()
getId in interface org.neo4j.graphdb.EntitygetId in interface org.neo4j.graphdb.Nodepublic Iterable<org.neo4j.graphdb.Label> getLabels()
getLabels in interface org.neo4j.graphdb.Nodepublic void delete()
delete in interface org.neo4j.graphdb.Nodepublic Iterable<org.neo4j.graphdb.Relationship> getRelationships()
getRelationships in interface org.neo4j.graphdb.Nodepublic boolean hasRelationship()
hasRelationship in interface org.neo4j.graphdb.Nodepublic Iterable<org.neo4j.graphdb.Relationship> getRelationships(org.neo4j.graphdb.RelationshipType... relationshipTypes)
getRelationships in interface org.neo4j.graphdb.Nodepublic Iterable<org.neo4j.graphdb.Relationship> getRelationships(org.neo4j.graphdb.Direction direction, org.neo4j.graphdb.RelationshipType... relationshipTypes)
getRelationships in interface org.neo4j.graphdb.Nodepublic boolean hasRelationship(org.neo4j.graphdb.RelationshipType... relationshipTypes)
hasRelationship in interface org.neo4j.graphdb.Nodepublic boolean hasRelationship(org.neo4j.graphdb.Direction direction,
org.neo4j.graphdb.RelationshipType... relationshipTypes)
hasRelationship in interface org.neo4j.graphdb.Nodepublic Iterable<org.neo4j.graphdb.Relationship> getRelationships(org.neo4j.graphdb.Direction direction)
getRelationships in interface org.neo4j.graphdb.Nodepublic boolean hasRelationship(org.neo4j.graphdb.Direction direction)
hasRelationship in interface org.neo4j.graphdb.Nodepublic Iterable<org.neo4j.graphdb.Relationship> getRelationships(org.neo4j.graphdb.RelationshipType relationshipType, org.neo4j.graphdb.Direction direction)
getRelationships in interface org.neo4j.graphdb.Nodepublic boolean hasRelationship(org.neo4j.graphdb.RelationshipType relationshipType,
org.neo4j.graphdb.Direction direction)
hasRelationship in interface org.neo4j.graphdb.Nodepublic org.neo4j.graphdb.Relationship getSingleRelationship(org.neo4j.graphdb.RelationshipType relationshipType,
org.neo4j.graphdb.Direction direction)
getSingleRelationship in interface org.neo4j.graphdb.Nodepublic org.neo4j.graphdb.Relationship createRelationshipTo(org.neo4j.graphdb.Node node,
org.neo4j.graphdb.RelationshipType relationshipType)
createRelationshipTo in interface org.neo4j.graphdb.Nodepublic Iterable<org.neo4j.graphdb.RelationshipType> getRelationshipTypes()
getRelationshipTypes in interface org.neo4j.graphdb.Nodepublic int getDegree()
getDegree in interface org.neo4j.graphdb.Nodepublic int getDegree(org.neo4j.graphdb.RelationshipType relationshipType)
getDegree in interface org.neo4j.graphdb.Nodepublic int getDegree(org.neo4j.graphdb.Direction direction)
getDegree in interface org.neo4j.graphdb.Nodepublic int getDegree(org.neo4j.graphdb.RelationshipType relationshipType,
org.neo4j.graphdb.Direction direction)
getDegree in interface org.neo4j.graphdb.Nodepublic void addLabel(org.neo4j.graphdb.Label label)
addLabel in interface org.neo4j.graphdb.Nodepublic void removeLabel(org.neo4j.graphdb.Label label)
removeLabel in interface org.neo4j.graphdb.Nodepublic boolean hasLabel(org.neo4j.graphdb.Label label)
hasLabel in interface org.neo4j.graphdb.Nodepublic org.neo4j.graphdb.GraphDatabaseService getGraphDatabase()
getGraphDatabase in interface org.neo4j.graphdb.PropertyContainerpublic boolean hasProperty(String s)
hasProperty in interface org.neo4j.graphdb.PropertyContainerpublic Object getProperty(String s, Object o)
getProperty in interface org.neo4j.graphdb.PropertyContainerpublic void setProperty(String s, Object o)
setProperty in interface org.neo4j.graphdb.PropertyContainerpublic Object removeProperty(String s)
removeProperty in interface org.neo4j.graphdb.PropertyContainerCopyright © 2002–2017 The Neo4j Graph Database Project. All rights reserved.