public class DbInfoExtractor extends Object
| Constructor and Description |
|---|
DbInfoExtractor() |
| Modifier and Type | Method and Description |
|---|---|
static void |
addUniqueConstraintToColumn(TableDto tableDto,
String columnName)
Adds a unique constraint to the corresponding ColumnDTO for the selected table.column pair.
|
static DbInfoDto |
extract(Connection connection) |
static boolean |
validate(DbInfoDto schema) |
public static final String GEOMETRY
public static boolean validate(DbInfoDto schema) throws IllegalArgumentException
IllegalArgumentExceptionpublic static DbInfoDto extract(Connection connection) throws Exception
Exceptionpublic static void addUniqueConstraintToColumn(TableDto tableDto, String columnName)
tableDto - the DTO of the tablecolumnName - the name of the column to add the unique constraint onCopyright © 2016–2025. All rights reserved.