Class SqlDtoUtils
java.lang.Object
org.evomaster.client.java.controller.api.dto.SqlDtoUtils
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ColumnDtoextractColumnInfo(TableDto dto, String columnName) extractColumnNames(InsertionDto dto, Set<String> filter) extractColumnPrintableValues(InsertionDto dto, Set<String> filter) static StringReturn a fully qualifying name for input table, which can be used as id.static TableDtostatic booleanmatchByName(TableDto dto, String name) Check if given table dto is matched by name.
-
Constructor Details
-
SqlDtoUtils
public SqlDtoUtils()
-
-
Method Details
-
getId
Return a fully qualifying name for input table, which can be used as id. -
getTable
- Returns:
- a table DTO for a particular table name
-
matchByName
Check if given table dto is matched by name. This can be a partial name, or a full qualifying name. -
extractColumnNames
- Parameters:
filter- specifies which column should be returned, null means all columns should be returned- Returns:
- name of columns based on specified filter
-
extractColumnPrintableValues
- Parameters:
filter- specifies which column should be returned, null means all columns should be returned- Returns:
- printable value of columns based on specified filter
-
extractColumnInfo
- Parameters:
columnName- specified which ColumnDto should be returned based on its name- Returns:
- ColumnDto based on specified columnName
-