public class TableExistsWork extends Object implements ReturningWork<Boolean>
private final String catalog
private final String schema
private final String table
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 Boolean execute(Connection connection) throws SQLException
execute
in interface ReturningWork<Boolean>
SQLException