public class Neo4jDatastore extends AbstractDatastore implements java.io.Closeable, GraphDatastore, MessageSourceAware, MultiTenantCapableDatastore, MultipleConnectionSourceCapableDatastore, Settings, StatelessDatastore, TransactionCapableDatastore
Datastore implementation for Neo4j backend
| Modifiers | Name | Description |
|---|---|---|
protected AutoTimestampEventListener |
autoTimestampEventListener |
|
protected Driver |
boltDriver |
|
protected ConnectionSources<Driver, Neo4jConnectionSourceSettings> |
connectionSources |
|
protected java.util.Map<java.lang.String, Neo4jDatastore> |
datastoresByConnectionSource |
|
protected FlushModeType |
defaultFlushMode |
|
protected ConfigurableApplicationEventPublisher |
eventPublisher |
|
protected GormEnhancer |
gormEnhancer |
|
protected MultiTenancyMode |
multiTenancyMode |
|
protected boolean |
skipIndexSetup |
|
protected TenantResolver |
tenantResolver |
|
protected Neo4jDatastoreTransactionManager |
transactionManager |
| Fields inherited from class | Fields |
|---|---|
class AbstractDatastore |
LOG, applicationEventPublisher, cacheAdapterRepository, connectionDetails, mappingContext, serviceRegistry |
| Constructor and description |
|---|
Neo4jDatastore(ConnectionSources<Driver, Neo4jConnectionSourceSettings> connectionSources, Neo4jMappingContext mappingContext, ConfigurableApplicationEventPublisher eventPublisher)Configures a new Neo4jDatastore for the given arguments |
Neo4jDatastore(ConnectionSources<Driver, Neo4jConnectionSourceSettings> connectionSources, ConfigurableApplicationEventPublisher eventPublisher, java.lang.Class classes)Configures a new Neo4jDatastore for the given arguments |
Neo4jDatastore(ConnectionSources<Driver, Neo4jConnectionSourceSettings> connectionSources, java.lang.Class classes)Configures a new Neo4jDatastore for the given arguments |
Neo4jDatastore(Driver boltDriver, PropertyResolver configuration, ConfigurableApplicationEventPublisher eventPublisher, java.lang.Class classes)Configures a new Neo4jDatastore for the given arguments |
Neo4jDatastore(Driver boltDriver, ConfigurableApplicationEventPublisher eventPublisher, java.lang.Class classes)Configures a new Neo4jDatastore for the given arguments |
Neo4jDatastore(Driver boltDriver, PropertyResolver configuration, java.lang.Class classes)Configures a new Neo4jDatastore for the given arguments |
Neo4jDatastore(Driver boltDriver, java.lang.Class classes)Configures a new Neo4jDatastore for the given arguments |
Neo4jDatastore(PropertyResolver configuration, Neo4jConnectionSourceFactory connectionSourceFactory, ConfigurableApplicationEventPublisher eventPublisher, java.lang.Class classes)Configures a new Neo4jDatastore for the given arguments |
Neo4jDatastore(PropertyResolver configuration, Neo4jConnectionSourceFactory connectionSourceFactory, ConfigurableApplicationEventPublisher eventPublisher, java.lang.Package packagesToScan)Configures a new Neo4jDatastore for the given arguments |
Neo4jDatastore(PropertyResolver configuration, ConfigurableApplicationEventPublisher eventPublisher, java.lang.Class classes)Configures a new Neo4jDatastore for the given arguments |
Neo4jDatastore(PropertyResolver configuration, ConfigurableApplicationEventPublisher eventPublisher, java.lang.Package packagesToScan)Configures a new Neo4jDatastore for the given arguments |
Neo4jDatastore(PropertyResolver configuration, java.lang.Class classes)Configures a new Neo4jDatastore for the given arguments |
Neo4jDatastore(java.lang.Class classes)Configures a new Neo4jDatastore for the given arguments. |
Neo4jDatastore(java.util.Map<java.lang.String, java.lang.Object> configuration, ConfigurableApplicationEventPublisher eventPublisher, java.lang.Class classes)Configures a new Neo4jDatastore for the given arguments |
Neo4jDatastore(java.util.Map<java.lang.String, java.lang.Object> configuration, java.lang.Class classes)Configures a new Neo4jDatastore for the given arguments |
Neo4jDatastore(java.lang.Package packagesToScan)Construct a Mongo datastore scanning the given packages |
Neo4jDatastore(java.lang.Package packageToScan)Construct a Mongo datastore scanning the given packages |
Neo4jDatastore(PropertyResolver configuration, java.lang.Package packagesToScan)Construct a Mongo datastore scanning the given packages |
Neo4jDatastore(java.util.Map<java.lang.String, java.lang.Object> configuration, java.lang.Package packagesToScan)Construct a Mongo datastore scanning the given packages |
| Methods inherited from class | Name |
|---|---|
class AbstractDatastore |
connect, connect, connectStateless, createSession, createStatelessSession, destroy, doInSession, getApplicationContext, getApplicationEventPublisher, getCurrentSession, getMappingContext, getService, getServices, getSessionResolver, hasCurrentSession, initializeConverters, isIndexed, isSchemaless, mapToPropertyResolver, retrieveSession, retrieveSession, setApplicationContext, withSession |
Configures a new Neo4jDatastore for the given arguments
mappingContext - The MappingContext which contains information about the mapped classeseventPublisher - The Spring ApplicationContextConfigures a new Neo4jDatastore for the given arguments
eventPublisher - The Spring ApplicationContextclasses - The persistent classesConfigures a new Neo4jDatastore for the given arguments
classes - The persistent classesConfigures a new Neo4jDatastore for the given arguments
boltDriver - The driverconfiguration - The configuration for the datastoreeventPublisher - The Spring ApplicationContextclasses - The persistent classesConfigures a new Neo4jDatastore for the given arguments
boltDriver - The drivereventPublisher - The Spring ApplicationContextclasses - The persistent classesConfigures a new Neo4jDatastore for the given arguments
boltDriver - The driverconfiguration - The configuration for the datastoreclasses - The persistent classesConfigures a new Neo4jDatastore for the given arguments
boltDriver - The driverclasses - The persistent classesConfigures a new Neo4jDatastore for the given arguments
configuration - The configuration for the datastoreconnectionSourceFactory - The Neo4jConnectionSourceFactory to use to configure Neo4jeventPublisher - The Spring ApplicationContextclasses - The persistent classesConfigures a new Neo4jDatastore for the given arguments
configuration - The configuration for the datastoreeventPublisher - The Spring ApplicationContextpackagesToScan - The packages to scanConfigures a new Neo4jDatastore for the given arguments
configuration - The configuration for the datastoreeventPublisher - The Spring ApplicationContextclasses - The persistent classesConfigures a new Neo4jDatastore for the given arguments
configuration - The configuration for the datastoreeventPublisher - The Spring ApplicationContextpackagesToScan - The packages to scanConfigures a new Neo4jDatastore for the given arguments
configuration - The configuration for the datastoreclasses - The persistent classesConfigures a new Neo4jDatastore for the given arguments. This constructor is mainly used for testing, since no configuration is supplied it will be default try to create an embedded server
classes - The persistent classesConfigures a new Neo4jDatastore for the given arguments
configuration - The configurationclasses - The persistent classesConfigures a new Neo4jDatastore for the given arguments
configuration - The configurationclasses - The persistent classesConstruct a Mongo datastore scanning the given packages
packagesToScan - The packages to scanConstruct a Mongo datastore scanning the given packages
packageToScan - The packages to scanConstruct a Mongo datastore scanning the given packages
configuration - The configurationpackagesToScan - The packages to scanConstruct a Mongo datastore scanning the given packages
configuration - The configurationpackagesToScan - The packages to scanCreates the connection sources for an existing Driver
driver - The Driverconfiguration - The configuration