Class ExasolMetadata


  • public class ExasolMetadata
    extends Object
    This class simplifies verifying the content of Exasol's metadata tables, e.g. scripts or virtual schemas.
    • Method Detail

      • assertScript

        public void assertScript​(org.hamcrest.Matcher<ResultSet> matcher)
        Verify the content of the SYS.EXA_ALL_SCRIPTS table.
        Parameters:
        matcher - matcher for verifying the table content
      • assertNoScripts

        public void assertNoScripts()
        Verify that the SYS.EXA_ALL_SCRIPTS table is empty.
      • assertConnection

        public void assertConnection​(org.hamcrest.Matcher<ResultSet> matcher)
        Verify the content of the SYS.EXA_ALL_CONNECTIONS table.
        Parameters:
        matcher - matcher for verifying the table content
      • assertNoConnections

        public void assertNoConnections()
        Verify that the SYS.EXA_ALL_CONNECTIONS table is empty.
      • assertVirtualSchema

        public void assertVirtualSchema​(org.hamcrest.Matcher<ResultSet> matcher)
        Verify the content of the SYS.EXA_ALL_VIRTUAL_SCHEMAS table.
        Parameters:
        matcher - matcher for verifying the table content
      • assertNoVirtualSchema

        public void assertNoVirtualSchema()
        Verify that the SYS.EXA_ALL_VIRTUAL_SCHEMAS table is empty.