public interface Node extends PropertyContainer
| Modifier and Type | Method and Description |
|---|---|
String[] |
getLabels() |
Set<String> |
getPreviousDynamicLabels() |
String |
getPrimaryIndex() |
List<Property<String,Object>> |
getPropertyList() |
Property<String,Long> |
getVersion()
Return current version of the node, null if the node is new
|
boolean |
hasVersionProperty()
Returns if the node has version property
|
String |
labelSignature()
Returns "label signature" for this node - added and removed labels, sorted alphabetically
|
default Map<String,Object> |
toRow(String nodeIdTarget)
Turns this node object into a row.
|
addCurrentDynamicCompositeProperties, createPropertyRemovalFragment, getId, setPreviousDynamicCompositePropertiesString[] getLabels()
String getPrimaryIndex()
String labelSignature()
boolean hasVersionProperty()
Property<String,Long> getVersion()
getVersion in interface PropertyContainerdefault Map<String,Object> toRow(String nodeIdTarget)
nodeIdTarget - The name under which to store this nodes id. The value is used as a backreference.Copyright © 2015–2023 Neo Technology, Inc.. All rights reserved.