Class TableExistsWork

  • All Implemented Interfaces:
    ReturningWork<Boolean>

    public class TableExistsWork
    extends Object
    implements ReturningWork<Boolean>
    A work implementation that checks if a given table exists in the database or not.
    Version:
    2.9
    Author:
    nicklas
    Last modified
    $Date: 2018-11-05 15:01:50 +0100 (må, 05 nov 2018) $
    • Field Detail

      • catalog

        private final String catalog
      • schema

        private final String schema
      • table

        private final String table
    • Constructor Detail

      • TableExistsWork

        public TableExistsWork​(String catalog,
                               String schema,
                               String table)
        Create a new work item.
        Parameters:
        catalog - The catalog the table is located in or null to ignore any catalog information
        schema - The schema the table is located in or null to ignore any schema information
        table - The table to check