public interface NodeItem extends EntityItem
Modifier and Type | Field and Description |
---|---|
static ToIntFunction<LabelItem> |
GET_LABEL
Convenience function for extracting a label id from a
LabelItem . |
static ToIntFunction<IntSupplier> |
GET_RELATIONSHIP_TYPE
Convenience function for extracting a relationship type id from a
IntSupplier . |
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() |
org.neo4j.collection.primitive.PrimitiveIntIterator |
getLabels() |
org.neo4j.kernel.impl.api.store.RelationshipIterator |
getRelationships(Direction direction) |
org.neo4j.kernel.impl.api.store.RelationshipIterator |
getRelationships(Direction direction,
int[] typeIds) |
org.neo4j.collection.primitive.PrimitiveIntIterator |
getRelationshipTypes() |
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<IntSupplier> |
relationshipTypes() |
getProperty, getPropertyKeys, hasProperty, id, properties, property
static final ToIntFunction<LabelItem> GET_LABEL
LabelItem
.static final ToIntFunction<IntSupplier> GET_RELATIONSHIP_TYPE
IntSupplier
.org.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<IntSupplier> relationshipTypes()
IntSupplier
instances for relationships attached to this node.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.org.neo4j.collection.primitive.PrimitiveIntIterator getLabels()
org.neo4j.kernel.impl.api.store.RelationshipIterator getRelationships(Direction direction, int[] typeIds)
direction
- Direction
to filter on.typeIds
- relationship type ids to filter on.org.neo4j.kernel.impl.api.store.RelationshipIterator getRelationships(Direction direction)
direction
- Direction
to filter on.org.neo4j.collection.primitive.PrimitiveIntIterator getRelationshipTypes()
Copyright © 2002–2016 The Neo4j Graph Database Project. All rights reserved.