Package io.deephaven.importers.jdbc
Class JdbcUtils
java.lang.Object
io.deephaven.importers.jdbc.JdbcUtils
Utility methods for JDBC imports.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic intgetExpectedSize(ResultSet resultSet) Gets the expected size of the ResultSet, or 0 if we can not figure it out.static voidsetUnitTestMode(boolean newUnitTestMode)
-
Constructor Details
-
JdbcUtils
public JdbcUtils()
-
-
Method Details
-
setUnitTestMode
public static void setUnitTestMode(boolean newUnitTestMode) -
getExpectedSize
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)
-