Package com.kuzudb
Class ValueRdfVariantUtil
java.lang.Object
com.kuzudb.ValueRdfVariantUtil
Utility functions for Value of RDF_VARIANT type.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic DataType
getDataType
(Value value) Get the data type of the RDF_VARIANT value.static <T> T
Get the value of the RDF_VARIANT value.
-
Constructor Details
-
ValueRdfVariantUtil
public ValueRdfVariantUtil()
-
-
Method Details
-
getDataType
Get the data type of the RDF_VARIANT value.- Parameters:
value
- : The RDF_VARIANT value.- Returns:
- The data type of the RDF_VARIANT value.
- Throws:
ObjectRefDestroyedException
- If the RDF_VARIANT value has been destroyed.
-
getValue
Get the value of the RDF_VARIANT value.- Parameters:
value
- : The RDF_VARIANT value.- Returns:
- The value of the RDF_VARIANT value.
- Throws:
ObjectRefDestroyedException
- If the RDF_VARIANT value has been destroyed.
-