Package com.kuzudb
Class PreparedStatement
java.lang.Object
com.kuzudb.PreparedStatement
PreparedStatement is a parameterized query which can avoid planning the same query for repeated execution.
-
Constructor Details
-
PreparedStatement
public PreparedStatement()
-
-
Method Details
-
finalize
Finalize.- Overrides:
finalize
in classObject
- Throws:
ObjectRefDestroyedException
- If the prepared statement has been destroyed.
-
destroy
Destroy the prepared statement.- Throws:
ObjectRefDestroyedException
- If the prepared statement has been destroyed.
-
isSuccess
Check if the query is prepared successfully or not.- Returns:
- The query is prepared successfully or not.
- Throws:
ObjectRefDestroyedException
- If the prepared statement has been destroyed.
-
getErrorMessage
Get the error message if the query is not prepared successfully.- Returns:
- The error message if the query is not prepared successfully.
- Throws:
ObjectRefDestroyedException
- If the prepared statement has been destroyed.
-