Modifier and Type | Field and Description |
---|---|
private String |
catalog |
private boolean |
hasTable |
private String |
schema |
private String |
table |
Constructor and Description |
---|
TableExistsWork(String catalog,
String schema,
String table)
Create a new work item.
|
Modifier and Type | Method and Description |
---|---|
void |
execute(Connection connection)
From the Work interface
-----------------------
|
Boolean |
getResult()
Get the result of the work.
|
private final String catalog
private final String schema
private final String table
private boolean hasTable
public TableExistsWork(String catalog, String schema, String table)
catalog
- The catalog the table is located in or null
to ignore any catalog informationschema
- The schema the table is located in or null
to ignore any schema informationtable
- The table to checkpublic void execute(Connection connection) throws SQLException
execute
in interface Work
SQLException