public class JDBCHandler extends Object
Constructor and Description |
---|
JDBCHandler() |
JDBCHandler(JDBCAuthenticator auth) |
JDBCHandler(JDBCHandler jh)
Clone constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
createJDBCTable(StarTable startab,
String spec,
WriteMode mode) |
JDBCAuthenticator |
getAuthenticator() |
static boolean |
hasDrivers()
Indicates whether any drivers are installed.
|
StarTable |
makeStarTable(String spec,
boolean wantRandom) |
void |
setAuthenticator(JDBCAuthenticator auth) |
public JDBCHandler()
public JDBCHandler(JDBCAuthenticator auth)
public JDBCHandler(JDBCHandler jh)
jh
.jh
- the handler whose fields to copypublic JDBCAuthenticator getAuthenticator()
public void setAuthenticator(JDBCAuthenticator auth)
public StarTable makeStarTable(String spec, boolean wantRandom) throws IOException
IOException
public void createJDBCTable(StarTable startab, String spec, WriteMode mode) throws IOException, SQLException
IOException
SQLException
public static boolean hasDrivers()
true
iff at least one JDBC driver is available
for URL resolutionCopyright © 2024 Central Laboratory of the Research Councils. All Rights Reserved.