public class RestfulConnection extends AbstractConnection
catalog, clientInfoProps| 构造器和说明 |
|---|
RestfulConnection(String host,
String port,
Properties props,
String database,
String url,
String token) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
close() |
Statement |
createStatement() |
String |
getDatabase() |
String |
getHost() |
DatabaseMetaData |
getMetaData() |
int |
getPort() |
String |
getToken() |
String |
getUrl() |
boolean |
isClosed() |
PreparedStatement |
prepareStatement(String sql) |
abort, clearWarnings, commit, createArrayOf, createBlob, createClob, createNClob, createSQLXML, createStatement, createStatement, createStruct, getAutoCommit, getCatalog, getClientInfo, getClientInfo, getHoldability, getNetworkTimeout, getSchema, getTransactionIsolation, getTypeMap, getWarnings, isReadOnly, isValid, nativeSQL, prepareCall, prepareCall, prepareCall, prepareStatement, prepareStatement, prepareStatement, prepareStatement, prepareStatement, releaseSavepoint, rollback, rollback, setAutoCommit, setCatalog, setClientInfo, setClientInfo, setHoldability, setNetworkTimeout, setReadOnly, setSavepoint, setSavepoint, setSchema, setTransactionIsolation, setTypeMapisWrapperFor, unwrapclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitisWrapperFor, unwrappublic Statement createStatement() throws SQLException
createStatement 在接口中 ConnectioncreateStatement 在类中 AbstractConnectionSQLExceptionpublic PreparedStatement prepareStatement(String sql) throws SQLException
prepareStatement 在接口中 ConnectionprepareStatement 在类中 AbstractConnectionSQLExceptionpublic void close()
throws SQLException
close 在接口中 AutoCloseableclose 在接口中 Connectionclose 在类中 AbstractConnectionSQLExceptionpublic boolean isClosed()
throws SQLException
isClosed 在接口中 ConnectionisClosed 在类中 AbstractConnectionSQLExceptionpublic DatabaseMetaData getMetaData() throws SQLException
getMetaData 在接口中 ConnectiongetMetaData 在类中 AbstractConnectionSQLExceptionpublic String getHost()
public int getPort()
public String getDatabase()
public String getUrl()
public String getToken()
Copyright © 2021. All rights reserved.