Package uk.ac.starlink.table.jdbc
Class JDBCHandler
java.lang.Object
uk.ac.starlink.table.jdbc.JDBCHandler
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
createJDBCTable
(StarTable startab, String spec, WriteMode mode) static boolean
Indicates whether any drivers are installed.makeStarTable
(String spec, boolean wantRandom) void
-
Constructor Details
-
JDBCHandler
public JDBCHandler() -
JDBCHandler
-
JDBCHandler
Clone constructor. This constructor creates a new JDBCHandler with the all the same fields as the given one jh.- Parameters:
jh
- the handler whose fields to copy
-
-
Method Details
-
getAuthenticator
-
setAuthenticator
-
makeStarTable
- Throws:
IOException
-
createJDBCTable
public void createJDBCTable(StarTable startab, String spec, WriteMode mode) throws IOException, SQLException - Throws:
IOException
SQLException
-
hasDrivers
public static boolean hasDrivers()Indicates whether any drivers are installed.- Returns:
- true iff at least one JDBC driver is available for URL resolution
-