Package com.kuzudb
Class ValueNodeUtil
java.lang.Object
com.kuzudb.ValueNodeUtil
Utility functions for Value of node type.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic InternalIDGet the internal ID of the node value.static StringgetLabelName(Value value) Get the label name of the node value.static StringgetPropertyNameAt(Value value, long index) Get the property name at the given index from the given node value.static longgetPropertySize(Value value) Get the property size of the node value.static ValuegetPropertyValueAt(Value value, long index) Get the property value at the given index from the given node value.static StringConvert the node value to string.
-
Constructor Details
-
ValueNodeUtil
public ValueNodeUtil()
-
-
Method Details
-
getID
Get the internal ID of the node value.- Parameters:
value- : The node value.- Returns:
- The internal ID of the node value.
- Throws:
RuntimeException- If the node value has been destroyed.
-
getLabelName
Get the label name of the node value.- Parameters:
value- : The node value.- Returns:
- The label name of the node value.
- Throws:
RuntimeException- If the node value has been destroyed.
-
getPropertySize
Get the property size of the node value.- Parameters:
value- : The node value.- Returns:
- The property size of the node value.
- Throws:
RuntimeException- If the node value has been destroyed.
-
getPropertyNameAt
Get the property name at the given index from the given node value.- Parameters:
value- : The node value.index- : The index of the property.- Returns:
- The property name at the given index from the given node value.
- Throws:
RuntimeException- If the node value has been destroyed.
-
getPropertyValueAt
Get the property value at the given index from the given node value.- Parameters:
value- : The node value.index- : The index of the property.- Returns:
- The property value at the given index from the given node value.
- Throws:
RuntimeException- If the node value has been destroyed.
-
toString
Convert the node value to string.- Parameters:
value- : The node value.- Returns:
- The node value in string format.
- Throws:
RuntimeException- If the node value has been destroyed.
-