Class JdbcUtils

java.lang.Object
io.deephaven.importers.jdbc.JdbcUtils

public class JdbcUtils extends Object
Utility methods for JDBC imports.
  • Constructor Details

    • JdbcUtils

      public JdbcUtils()
  • Method Details

    • setUnitTestMode

      public static void setUnitTestMode(boolean newUnitTestMode)
    • getExpectedSize

      public static int getExpectedSize(ResultSet resultSet)
      Gets the expected size of the ResultSet, or 0 if we can not figure it out.
      Parameters:
      resultSet - the result to determine the size of
      Returns:
      the expected size (or 0 if unknown)