|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.cassandra.cql.jdbc.CassandraDriver
public class CassandraDriver
The Class CassandraDriver.
Constructor Summary | |
---|---|
CassandraDriver()
|
Method Summary | |
---|---|
boolean |
acceptsURL(java.lang.String url)
Method to validate whether provided connection url matches with pattern or not. |
java.sql.Connection |
connect(java.lang.String url,
java.util.Properties props)
Method to return connection instance for given connection url and connection props. |
int |
getMajorVersion()
Returns default major version. |
int |
getMinorVersion()
Returns default minor version. |
java.sql.DriverPropertyInfo[] |
getPropertyInfo(java.lang.String arg0,
java.util.Properties arg1)
Returns default driver property info object. |
boolean |
jdbcCompliant()
Returns true, if it is jdbc compliant. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CassandraDriver()
Method Detail |
---|
public boolean acceptsURL(java.lang.String url) throws java.sql.SQLException
acceptsURL
in interface java.sql.Driver
url
- connection url.
java.sql.SQLException
- the sQL exceptionpublic java.sql.Connection connect(java.lang.String url, java.util.Properties props) throws java.sql.SQLException
connect
in interface java.sql.Driver
url
- connection url.props
- connection properties.
java.sql.SQLException
- the sQL exceptionpublic int getMajorVersion()
getMajorVersion
in interface java.sql.Driver
public int getMinorVersion()
getMinorVersion
in interface java.sql.Driver
public java.sql.DriverPropertyInfo[] getPropertyInfo(java.lang.String arg0, java.util.Properties arg1) throws java.sql.SQLException
getPropertyInfo
in interface java.sql.Driver
arg0
- the arg0arg1
- the arg1
java.sql.SQLException
- the sQL exceptionpublic boolean jdbcCompliant()
jdbcCompliant
in interface java.sql.Driver
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |