Package com.kuzudb
Class ValueListUtil
java.lang.Object
com.kuzudb.ValueListUtil
Utility functions for Value of list type.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic Value
getListElement
(Value value, long index) Get the element at the given index from the given list value.static long
getListSize
(Value value) Get the size of the list value.
-
Constructor Details
-
ValueListUtil
public ValueListUtil()
-
-
Method Details
-
getListSize
Get the size of the list value.- Parameters:
value
- : The list value.- Returns:
- The size of the list value.
- Throws:
ObjectRefDestroyedException
- If the list value has been destroyed.
-
getListElement
Get the element at the given index from the given list value.- Parameters:
value
- : The list value.index
- : The index of the element.- Returns:
- The element at the given index from the given list value.
- Throws:
ObjectRefDestroyedException
- If the list value has been destroyed.
-