Package org.neo4j.jdbc
Class Neo4jDriver
- java.lang.Object
-
- org.neo4j.jdbc.Neo4jDriver
-
-
Field Summary
Fields Modifier and Type Field Description protected static StringJDBC_PREFIXJDBC prefix for the connection url.
-
Constructor Summary
Constructors Modifier Constructor Description protectedNeo4jDriver(String prefix)Constructor for extended class.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanacceptsURL(String url)intgetMajorVersion()intgetMinorVersion()LoggergetParentLogger()protected StringgetPrefix()DriverPropertyInfo[]getPropertyInfo(String url, Properties info)booleanjdbcCompliant()protected PropertiesparseUrlProperties(String url, Properties params)Parse the url string and construct a properties object.
-
-
-
Field Detail
-
JDBC_PREFIX
protected static final String JDBC_PREFIX
JDBC prefix for the connection url.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
Neo4jDriver
protected Neo4jDriver(String prefix)
Constructor for extended class.- Parameters:
prefix- Prefix of the driver for the connection url.
-
-
Method Detail
-
getPropertyInfo
public DriverPropertyInfo[] getPropertyInfo(String url, Properties info) throws SQLException
- Specified by:
getPropertyInfoin interfaceDriver- Throws:
SQLException
-
getMajorVersion
public int getMajorVersion()
- Specified by:
getMajorVersionin interfaceDriver
-
getMinorVersion
public int getMinorVersion()
- Specified by:
getMinorVersionin interfaceDriver
-
jdbcCompliant
public boolean jdbcCompliant()
- Specified by:
jdbcCompliantin interfaceDriver
-
getParentLogger
public Logger getParentLogger() throws SQLFeatureNotSupportedException
- Specified by:
getParentLoggerin interfaceDriver- Throws:
SQLFeatureNotSupportedException
-
acceptsURL
public boolean acceptsURL(String url) throws SQLException
- Specified by:
acceptsURLin interfaceDriver- Throws:
SQLException
-
getPrefix
protected String getPrefix()
-
parseUrlProperties
protected Properties parseUrlProperties(String url, Properties params)
Parse the url string and construct a properties object.- Parameters:
url- The url to parseparams- The properties- Returns:
- the properties
-
-