Package dev.frostlake
Class ExecutionResult
java.lang.Object
dev.frostlake.ExecutionResult
Execution result container
-
Constructor Summary
ConstructorsConstructorDescriptionExecutionResult(boolean success, List<ResultSet> resultSets, String errorMessage) ExecutionResult(boolean success, List<ResultSet> resultSets, String errorMessage, String queryId) -
Method Summary
Modifier and TypeMethodDescriptionlongThe total affected-row count this execution's DML statements report — each count grid marked by the statement that built it, so a query whose columns merely carry the count names ("number of rows inserted") counts nothing.boolean
-
Constructor Details
-
ExecutionResult
-
ExecutionResult
-
-
Method Details
-
isSuccess
public boolean isSuccess() -
getResultSets
-
getErrorMessage
-
getQueryId
-
getRowsAffected
public long getRowsAffected()The total affected-row count this execution's DML statements report — each count grid marked by the statement that built it, so a query whose columns merely carry the count names ("number of rows inserted") counts nothing. Zero when no DML ran (DDL, SELECT, …).
-