public interface NodeItem extends EntityItem
| Modifier and Type | Method and Description |
|---|---|
int |
degree(Direction direction)
Returns degree, e.g.
|
int |
degree(Direction direction,
int typeId)
Returns degree, e.g.
|
org.neo4j.cursor.Cursor<DegreeItem> |
degrees() |
boolean |
hasLabel(int labelId) |
boolean |
isDense() |
org.neo4j.cursor.Cursor<LabelItem> |
label(int labelId) |
org.neo4j.cursor.Cursor<LabelItem> |
labels() |
org.neo4j.cursor.Cursor<RelationshipItem> |
relationships(Direction direction) |
org.neo4j.cursor.Cursor<RelationshipItem> |
relationships(Direction direction,
int... typeIds) |
org.neo4j.cursor.Cursor<RelationshipTypeItem> |
relationshipTypes() |
getProperty, getPropertyKeys, hasProperty, id, properties, propertyorg.neo4j.cursor.Cursor<LabelItem> labels()
IllegalStateException - if no current node is selectedorg.neo4j.cursor.Cursor<LabelItem> label(int labelId)
labelId - for specific label to findIllegalStateException - if no current node is selectedorg.neo4j.cursor.Cursor<RelationshipItem> relationships(Direction direction, int... typeIds)
IllegalStateException - if no current node is selectedorg.neo4j.cursor.Cursor<RelationshipItem> relationships(Direction direction)
IllegalStateException - if no current node is selectedorg.neo4j.cursor.Cursor<RelationshipTypeItem> relationshipTypes()
IllegalStateException - if no current node is selectedint degree(Direction direction)
int degree(Direction direction, int typeId)
boolean isDense()
org.neo4j.cursor.Cursor<DegreeItem> degrees()
Cursor over all DegreeItem, i.e. all combinations of Direction and
relationship type ids for this node.boolean hasLabel(int labelId)
labelId - label token id to check.Copyright © 2002–2017 The Neo4j Graph Database Project. All rights reserved.