| Package | Description |
|---|---|
| org.neo4j.driver |
| Modifier and Type | Method and Description |
|---|---|
static SessionConfig.Builder |
SessionConfig.builder()
Creates a new
SessionConfig.Builder used to construct a configuration object. |
SessionConfig.Builder |
SessionConfig.Builder.withBookmarks(Bookmark... bookmarks)
Set the initial bookmarks to be used in a session.
|
SessionConfig.Builder |
SessionConfig.Builder.withBookmarks(Iterable<Bookmark> bookmarks)
Set the initial bookmarks to be used in a session.
|
SessionConfig.Builder |
SessionConfig.Builder.withDatabase(String database)
Sets target database name for queries executed within session.
|
SessionConfig.Builder |
SessionConfig.Builder.withDefaultAccessMode(AccessMode mode)
Set the type of access required by units of work in this session,
e.g.
|
SessionConfig.Builder |
SessionConfig.Builder.withFetchSize(long size)
Specify how many records to fetch in each batch for this session.
|
SessionConfig.Builder |
SessionConfig.Builder.withImpersonatedUser(String impersonatedUser)
Set the impersonated user that the newly created session is going to use for query execution.
|