public class RestfulConnection extends AbstractConnection
catalog, clientInfoPropsTRANSACTION_NONE, TRANSACTION_READ_COMMITTED, TRANSACTION_READ_UNCOMMITTED, TRANSACTION_REPEATABLE_READ, TRANSACTION_SERIALIZABLE| Constructor and Description |
|---|
RestfulConnection(String host,
String port,
Properties props,
String database,
String url,
String token) |
| Modifier and Type | Method and Description |
|---|---|
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 in interface ConnectioncreateStatement in class AbstractConnectionSQLExceptionpublic PreparedStatement prepareStatement(String sql) throws SQLException
prepareStatement in interface ConnectionprepareStatement in class AbstractConnectionSQLExceptionpublic void close()
throws SQLException
close in interface AutoCloseableclose in interface Connectionclose in class AbstractConnectionSQLExceptionpublic boolean isClosed()
throws SQLException
isClosed in interface ConnectionisClosed in class AbstractConnectionSQLExceptionpublic DatabaseMetaData getMetaData() throws SQLException
getMetaData in interface ConnectiongetMetaData in class AbstractConnectionSQLExceptionpublic String getHost()
public int getPort()
public String getDatabase()
public String getUrl()
public String getToken()
Copyright © 2022. All rights reserved.