public class ZohoReportsConnection extends ZohoReportsWrapper implements java.sql.Connection
Class.forName("com.zoho.cloudsql.jdbc.ZohoReportsDriver"); java.util.Properties conProps = new Properties(); // Zoho username to login to Zoho service conProps.put("user","david"); // Zoho password to login to Zoho service conProps.put("password","davidpwd"); // david is the owner of the database 'Sales' java.sql.Connection con = DriverManager.getConnection("https://analyticsapi.zoho.com/api/david/Sales",conProps);
Modifier and Type | Field and Description |
---|---|
static java.util.HashMap<java.lang.String,java.util.HashMap<java.lang.String,java.lang.String>> |
tableVsColumnDateFormat |
Modifier and Type | Method and Description |
---|---|
void |
abort(java.util.concurrent.Executor executor) |
void |
clearWarnings()
See clearWarnings |
void |
close()
See close |
void |
commit()
Not implemented.
|
java.sql.Array |
createArrayOf(java.lang.String typeName,
java.lang.Object[] elements)
Not implemented
|
java.sql.Blob |
createBlob()
Not implemented
|
java.sql.Clob |
createClob()
Not implemented.
|
java.sql.NClob |
createNClob()
Not implemented
|
java.sql.SQLXML |
createSQLXML()
Not implemented
|
java.sql.Statement |
createStatement()
See createStatement |
java.sql.Statement |
createStatement(int resultSetType,
int resultSetConcurrency)
Not implemented.
|
java.sql.Statement |
createStatement(int resultSetType,
int resultSetConcurrency,
int resultSetHoldability)
Not implemented.
|
java.sql.Struct |
createStruct(java.lang.String typeName,
java.lang.Object[] attributes)
Not implemented
|
boolean |
getAutoCommit()
See getAutoCommit |
java.lang.String |
getCatalog()
See getCatalog |
java.util.Properties |
getClientInfo()
Not implemented
|
java.lang.String |
getClientInfo(java.lang.String name)
Not implemented
|
int |
getHoldability()
See getHoldability |
java.sql.DatabaseMetaData |
getMetaData()
Retrieves a ZohoReportsDatabaseMetaData object that contains metadata about the database to which this Connection object represents a connection.
|
int |
getNetworkTimeout() |
com.adventnet.zoho.client.report.ReportClient |
getReportClient()
Internally used
|
java.lang.String |
getSchema() |
int |
getTransactionIsolation()
|
java.util.Map |
getTypeMap()
See getTypeMap |
java.lang.String |
getURI()
Internally used
|
java.sql.SQLWarning |
getWarnings()
See getWarnings |
boolean |
isClosed()
See isClosed |
boolean |
isReadOnly()
See isReadOnly |
boolean |
isValid(int timeout)
Not implemented
|
java.lang.String |
nativeSQL(java.lang.String sql)
Not implemented.
|
java.sql.CallableStatement |
prepareCall(java.lang.String sql)
Not implemented.
|
java.sql.CallableStatement |
prepareCall(java.lang.String sql,
int resultSetType,
int resultSetConcurrency)
Not implemented.
|
java.sql.CallableStatement |
prepareCall(java.lang.String sql,
int resultSetType,
int resultSetConcurrency,
int resultSetHoldability)
Not implemented.
|
java.sql.PreparedStatement |
prepareStatement(java.lang.String sql)
Not implemented.
|
java.sql.PreparedStatement |
prepareStatement(java.lang.String sql,
int autoGeneratedKeys)
Not implemented.
|
java.sql.PreparedStatement |
prepareStatement(java.lang.String sql,
int[] columnIndexes)
Not implemented.
|
java.sql.PreparedStatement |
prepareStatement(java.lang.String sql,
int resultSetType,
int resultSetConcurrency)
Not implemented.
|
java.sql.PreparedStatement |
prepareStatement(java.lang.String sql,
int resultSetType,
int resultSetConcurrency,
int resultSetHoldability)
Not implemented.
|
java.sql.PreparedStatement |
prepareStatement(java.lang.String sql,
java.lang.String[] columnNames)
Not implemented.
|
void |
releaseSavepoint(java.sql.Savepoint savepoint)
Not implemented.
|
void |
rollback()
Not implemented.
|
void |
rollback(java.sql.Savepoint savepoint)
Not implemented.
|
void |
setAutoCommit(boolean commit)
See setAutoCommit |
void |
setCatalog(java.lang.String catalog)
See setCatalog |
void |
setClientInfo(java.util.Properties properties)
Not implemented
|
void |
setClientInfo(java.lang.String name,
java.lang.String value)
Not implemented
|
void |
setHoldability(int holdability)
See setHoldability |
void |
setNetworkTimeout(java.util.concurrent.Executor executor,
int milliseconds) |
void |
setReadOnly(boolean read)
See setReadOnly |
java.sql.Savepoint |
setSavepoint()
Not implemented.
|
java.sql.Savepoint |
setSavepoint(java.lang.String savepoint)
Not implemented.
|
void |
setSchema(java.lang.String schema) |
void |
setTransactionIsolation(int level)
Not implemented.
|
void |
setTypeMap(java.util.Map map)
Not implemented.
|
isWrapperFor, unwrap
public static java.util.HashMap<java.lang.String,java.util.HashMap<java.lang.String,java.lang.String>> tableVsColumnDateFormat
public void clearWarnings() throws java.sql.SQLException
See clearWarnings
clearWarnings
in interface java.sql.Connection
java.sql.SQLException
public com.adventnet.zoho.client.report.ReportClient getReportClient()
public java.lang.String getURI()
public void close() throws java.sql.SQLException
See close
close
in interface java.lang.AutoCloseable
close
in interface java.sql.Connection
java.sql.SQLException
public void commit() throws java.sql.SQLException
See commit
commit
in interface java.sql.Connection
java.sql.SQLException
public java.sql.Statement createStatement() throws java.sql.SQLException
See createStatement
createStatement
in interface java.sql.Connection
java.sql.SQLException
public java.sql.Statement createStatement(int resultSetType, int resultSetConcurrency) throws java.sql.SQLException
See createStatement
createStatement
in interface java.sql.Connection
java.sql.SQLException
public java.sql.Statement createStatement(int resultSetType, int resultSetConcurrency, int resultSetHoldability) throws java.sql.SQLException
See createStatement
createStatement
in interface java.sql.Connection
java.sql.SQLException
public boolean getAutoCommit() throws java.sql.SQLException
See getAutoCommit
getAutoCommit
in interface java.sql.Connection
java.sql.SQLException
public java.lang.String getCatalog() throws java.sql.SQLException
See getCatalog
getCatalog
in interface java.sql.Connection
java.sql.SQLException
public int getHoldability() throws java.sql.SQLException
See getHoldability
getHoldability
in interface java.sql.Connection
java.sql.SQLException
public java.sql.DatabaseMetaData getMetaData() throws java.sql.SQLException
See getMetaData
getMetaData
in interface java.sql.Connection
java.sql.SQLException
public int getTransactionIsolation() throws java.sql.SQLException
getTransactionIsolation
in interface java.sql.Connection
java.sql.SQLException
public java.util.Map getTypeMap() throws java.sql.SQLException
See getTypeMap
getTypeMap
in interface java.sql.Connection
java.sql.SQLException
public java.sql.SQLWarning getWarnings() throws java.sql.SQLException
See getWarnings
getWarnings
in interface java.sql.Connection
java.sql.SQLException
public boolean isClosed() throws java.sql.SQLException
See isClosed
isClosed
in interface java.sql.Connection
java.sql.SQLException
public boolean isReadOnly() throws java.sql.SQLException
See isReadOnly
isReadOnly
in interface java.sql.Connection
java.sql.SQLException
public java.lang.String nativeSQL(java.lang.String sql) throws java.sql.SQLException
See nativeSQL
nativeSQL
in interface java.sql.Connection
java.sql.SQLException
public java.sql.CallableStatement prepareCall(java.lang.String sql) throws java.sql.SQLException
See prepareCall
prepareCall
in interface java.sql.Connection
java.sql.SQLException
public java.sql.CallableStatement prepareCall(java.lang.String sql, int resultSetType, int resultSetConcurrency) throws java.sql.SQLException
See prepareCall
prepareCall
in interface java.sql.Connection
java.sql.SQLException
public java.sql.CallableStatement prepareCall(java.lang.String sql, int resultSetType, int resultSetConcurrency, int resultSetHoldability) throws java.sql.SQLException
See prepareCall
prepareCall
in interface java.sql.Connection
java.sql.SQLException
public java.sql.PreparedStatement prepareStatement(java.lang.String sql) throws java.sql.SQLException
See prepareStatement
prepareStatement
in interface java.sql.Connection
java.sql.SQLException
public java.sql.PreparedStatement prepareStatement(java.lang.String sql, java.lang.String[] columnNames) throws java.sql.SQLException
See prepareStatement
prepareStatement
in interface java.sql.Connection
java.sql.SQLException
public java.sql.PreparedStatement prepareStatement(java.lang.String sql, int autoGeneratedKeys) throws java.sql.SQLException
See prepareStatement
prepareStatement
in interface java.sql.Connection
java.sql.SQLException
public java.sql.PreparedStatement prepareStatement(java.lang.String sql, int[] columnIndexes) throws java.sql.SQLException
See prepareStatement
prepareStatement
in interface java.sql.Connection
java.sql.SQLException
public java.sql.PreparedStatement prepareStatement(java.lang.String sql, int resultSetType, int resultSetConcurrency) throws java.sql.SQLException
See prepareStatement
prepareStatement
in interface java.sql.Connection
java.sql.SQLException
public java.sql.PreparedStatement prepareStatement(java.lang.String sql, int resultSetType, int resultSetConcurrency, int resultSetHoldability) throws java.sql.SQLException
See prepareStatement
prepareStatement
in interface java.sql.Connection
java.sql.SQLException
public void releaseSavepoint(java.sql.Savepoint savepoint) throws java.sql.SQLException
See releaseSavepoint
releaseSavepoint
in interface java.sql.Connection
java.sql.SQLException
public void rollback() throws java.sql.SQLException
See rollback
rollback
in interface java.sql.Connection
java.sql.SQLException
public void rollback(java.sql.Savepoint savepoint) throws java.sql.SQLException
See rollback
rollback
in interface java.sql.Connection
java.sql.SQLException
public void setAutoCommit(boolean commit) throws java.sql.SQLException
See setAutoCommit
setAutoCommit
in interface java.sql.Connection
java.sql.SQLException
public void setCatalog(java.lang.String catalog) throws java.sql.SQLException
See setCatalog
setCatalog
in interface java.sql.Connection
java.sql.SQLException
public void setHoldability(int holdability) throws java.sql.SQLException
See setHoldability
setHoldability
in interface java.sql.Connection
java.sql.SQLException
public void setReadOnly(boolean read) throws java.sql.SQLException
See setReadOnly
setReadOnly
in interface java.sql.Connection
java.sql.SQLException
public java.sql.Savepoint setSavepoint() throws java.sql.SQLException
See setSavepoint
setSavepoint
in interface java.sql.Connection
java.sql.SQLException
public java.sql.Savepoint setSavepoint(java.lang.String savepoint) throws java.sql.SQLException
See setSavepoint
setSavepoint
in interface java.sql.Connection
java.sql.SQLException
public void setTransactionIsolation(int level) throws java.sql.SQLException
setTransactionIsolation
in interface java.sql.Connection
java.sql.SQLException
public void setTypeMap(java.util.Map map) throws java.sql.SQLException
See setTypeMap
setTypeMap
in interface java.sql.Connection
java.sql.SQLException
public java.sql.Clob createClob() throws java.sql.SQLException
See createClob
createClob
in interface java.sql.Connection
java.sql.SQLException
public java.sql.Blob createBlob() throws java.sql.SQLException
SeecreateBlob
createBlob
in interface java.sql.Connection
java.sql.SQLException
public java.sql.NClob createNClob() throws java.sql.SQLException
SeecreateNClob
createNClob
in interface java.sql.Connection
java.sql.SQLException
public java.sql.SQLXML createSQLXML() throws java.sql.SQLException
SeecreateSQLXML
createSQLXML
in interface java.sql.Connection
java.sql.SQLException
public java.sql.Struct createStruct(java.lang.String typeName, java.lang.Object[] attributes) throws java.sql.SQLException
SeecreateStruct
createStruct
in interface java.sql.Connection
java.sql.SQLException
public java.sql.Array createArrayOf(java.lang.String typeName, java.lang.Object[] elements) throws java.sql.SQLException
createArrayOf
in interface java.sql.Connection
java.sql.SQLException
public java.util.Properties getClientInfo() throws java.sql.SQLException
getClientInfo
in interface java.sql.Connection
java.sql.SQLException
public java.lang.String getClientInfo(java.lang.String name) throws java.sql.SQLException
getClientInfo
in interface java.sql.Connection
java.sql.SQLException
public void setClientInfo(java.util.Properties properties) throws java.sql.SQLClientInfoException
setClientInfo
in interface java.sql.Connection
java.sql.SQLClientInfoException
public void setClientInfo(java.lang.String name, java.lang.String value) throws java.sql.SQLClientInfoException
setClientInfo
in interface java.sql.Connection
java.sql.SQLClientInfoException
public boolean isValid(int timeout) throws java.sql.SQLException
SeeisValid
isValid
in interface java.sql.Connection
java.sql.SQLException
public void setSchema(java.lang.String schema) throws java.sql.SQLException
setSchema
in interface java.sql.Connection
java.sql.SQLException
public java.lang.String getSchema() throws java.sql.SQLException
getSchema
in interface java.sql.Connection
java.sql.SQLException
public void abort(java.util.concurrent.Executor executor) throws java.sql.SQLException
abort
in interface java.sql.Connection
java.sql.SQLException
public void setNetworkTimeout(java.util.concurrent.Executor executor, int milliseconds) throws java.sql.SQLException
setNetworkTimeout
in interface java.sql.Connection
java.sql.SQLException
public int getNetworkTimeout() throws java.sql.SQLException
getNetworkTimeout
in interface java.sql.Connection
java.sql.SQLException
Copyright © 2024 AdventNet Inc. All Rights Reserved.