Uses of Class
org.springframework.data.neo4j.core.UserSelection
Packages that use UserSelection
Package
Description
This package contains the core infrastructure for creating an imperative or reactive client that can execute queries.
Contains the core infrastructure for translating unmanaged Neo4j transaction into Spring managed transactions.
-
Uses of UserSelection in org.springframework.data.neo4j.core
Methods in org.springframework.data.neo4j.core that return UserSelectionModifier and TypeMethodDescriptionstatic UserSelection
UserSelection.connectedUser()
UserSelectionProvider.getUserSelection()
static UserSelection
UserSelection.impersonate
(String value) Methods in org.springframework.data.neo4j.core that return types with arguments of type UserSelectionModifier and TypeMethodDescriptionreactor.core.publisher.Mono<UserSelection>
ReactiveUserSelectionProvider.getUserSelection()
Methods in org.springframework.data.neo4j.core with parameters of type UserSelectionModifier and TypeMethodDescriptionorg.neo4j.driver.QueryRunner
Neo4jClient.getQueryRunner
(DatabaseSelection databaseSelection, UserSelection asUser) Retrieves a query runner that will participate in ongoing Spring transactions (either in declarative (implicit via@Transactional
) or in programmatically (explicit via transaction template) ones). -
Uses of UserSelection in org.springframework.data.neo4j.core.transaction
Methods in org.springframework.data.neo4j.core.transaction with parameters of type UserSelectionModifier and TypeMethodDescriptionstatic org.neo4j.driver.SessionConfig
Neo4jTransactionUtils.defaultSessionConfig
(DatabaseSelection databaseSelection, UserSelection asUser) The default session usesAccessMode.WRITE
and an empty list of bookmarks.static reactor.core.publisher.Mono<org.neo4j.driver.reactive.ReactiveTransaction>
ReactiveNeo4jTransactionManager.retrieveReactiveTransaction
(org.neo4j.driver.Driver driver, DatabaseSelection targetDatabase, UserSelection asUser) static org.neo4j.driver.Transaction
Neo4jTransactionManager.retrieveTransaction
(org.neo4j.driver.Driver driver, DatabaseSelection targetDatabase, UserSelection asUser) This method provides a native Neo4j transaction to be used from within aNeo4jClient
.static org.neo4j.driver.SessionConfig
Neo4jTransactionUtils.sessionConfig
(boolean readOnly, Collection<org.neo4j.driver.Bookmark> bookmarks, DatabaseSelection databaseSelection, UserSelection asUser)