Class Tables


  • public class Tables
    extends Object
    • Constructor Detail

      • Tables

        public Tables()
    • Method Detail

      • getSQL

        public static String getSQL​(Object[] sqlData,
                                    Version currentVersion)
        Helper function for matching a SQL query with a version.
        Parameters:
        sqlData - An array of [Version, String] pairs to select from
        currentVersion - The requested version of SQL to retrieve
        Returns:
        SQL text for the requested version
        Throws:
        UnsupportedServerVersion - if no match can be found
        IllegalStateException - if the sqlData pairs are ill formed