Class SqlExecutionsDto
java.lang.Object
org.evomaster.client.java.controller.api.dto.database.execution.SqlExecutionsDto
Each time a SQL command is executed, we keep track of which tables
and columns are involved.
All the following Maps are in the form:
from Table Name (key) to Column Name sets (value).
The value "*" means all columns in the table.
Note: we keep track of what the SUT tried to execute on the database, but
not the result, eg, a DELETE might have deleted nothing if its WHERE
clause was not satisfied.
-
Field Summary
FieldsModifier and TypeFieldDescriptionNames of tables on which DELETE was appliedEvery time there is a WHERE clause which "failed" (ie, resulted in false), we keep track of which tables/columns where involved in determining the result of the WHERE.What tables/columns were tried to be newly created with INSERTintThe total Number of SQL commands (e.g., SELECT and UPDATE) executedWhat was tried to be retrieved in a SELECT.log of a list of sql commands that were executedintThe number of SQL command that could not be parsedWhat tables/columns were tried to be updated in UPDATE -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
queriedData
What was tried to be retrieved in a SELECT. Something like "select x from Foo" would give info on "Foo->{x}". However, at times, what is returned is not directly the content of a column, but rather some computations on it. For example, in "select avg(x) from Foo", we would still be just interested in the info that the data in "Foo->{x}" was used to compute the result. Note: this does NOT include what was used in the WHERE clauses. For example, "select a,b from Foo where c>0" would give info just for "Foo->{a,b}" -
updatedData
What tables/columns were tried to be updated in UPDATE -
insertedData
What tables/columns were tried to be newly created with INSERT -
deletedData
Names of tables on which DELETE was applied -
failedWhere
Every time there is a WHERE clause which "failed" (ie, resulted in false), we keep track of which tables/columns where involved in determining the result of the WHERE. If there is no WHERE, but still no data was returned, we consider it as a failed WHERE The key is the table name and the value is the set of columns involved in the WHERE -
numberOfSqlCommands
public int numberOfSqlCommandsThe total Number of SQL commands (e.g., SELECT and UPDATE) executed -
sqlParseFailureCount
public int sqlParseFailureCountThe number of SQL command that could not be parsed -
sqlExecutionLogDtoList
log of a list of sql commands that were executed
-
-
Constructor Details
-
SqlExecutionsDto
public SqlExecutionsDto()
-