public class BoltDriver extends AbstractConfigurableDriver
| Modifier and Type | Field and Description |
|---|---|
static String |
CONFIG_PARAMETER_BOLT_LOGGING |
configuration, customPropertiesSupplier, parameterConversion, typeSystem| Constructor and Description |
|---|
BoltDriver() |
BoltDriver(org.neo4j.driver.Driver boltDriver) |
BoltDriver(org.neo4j.driver.Driver boltDriver,
Supplier<Map<String,Object>> customPropertiesSupplier)
Create OGM BoltDriver with provided java neo4j driver
|
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
configure(Configuration newConfiguration) |
void |
configureSessionConfig(Configuration newConfiguration) |
ExceptionTranslator |
getExceptionTranslator() |
Function<TransactionManager,BiFunction<Transaction.Type,Iterable<String>,Transaction>> |
getTransactionFactorySupplier() |
protected String |
getTypeSystemName() |
Request |
request(Transaction transaction) |
<T> T |
unwrap(Class<T> clazz) |
getConfiguration, getCypherModification, getTypeSystemclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitrequiresTransactionpublic static final String CONFIG_PARAMETER_BOLT_LOGGING
public BoltDriver()
public BoltDriver(org.neo4j.driver.Driver boltDriver)
public BoltDriver(org.neo4j.driver.Driver boltDriver,
Supplier<Map<String,Object>> customPropertiesSupplier)
boltDriver - instance of java neo4j drivercustomPropertiesSupplier - Hook to provide custom configuration properties, i.e. for Cypher modification providerspublic void configure(Configuration newConfiguration)
configure in interface Driverconfigure in class AbstractConfigurableDriverpublic void configureSessionConfig(Configuration newConfiguration)
protected String getTypeSystemName()
getTypeSystemName in class AbstractConfigurableDriverpublic Function<TransactionManager,BiFunction<Transaction.Type,Iterable<String>,Transaction>> getTransactionFactorySupplier()
public void close()
public ExceptionTranslator getExceptionTranslator()
public Request request(Transaction transaction)
public <T> T unwrap(Class<T> clazz)
Copyright © 2015–2024 Neo Technology, Inc.. All rights reserved.