Click or drag to resize

Neo4j.Driver.V1 Namespace

The base namespace for interaction with the Neo4j .NET Driver.
Public classAccessMode
Used by driver to route a cypher statement to a write server or a read server.
Public classAuthenticationException
Failed to authentication the client to the server due to bad credentials To recover from this error, close the current driver and restart with the correct credentials
Public classAuthTokens
This provides methods to create IAuthTokens for various authentication schemes supported by this driver. The scheme used must be also supported by the Neo4j instance you are connecting to.
Public classClientException
A ClientException indicates that the client has carried out an operation incorrectly. The error code provided can be used to determine further detail for the problem.
Public classConfig
Use this class to config the IDriver.
Public classDatabaseException
A DatabaseException indicates that there is a problem within the underlying database. The error code provided can be used to determine further detail for the problem.
Public classDuration
Represents temporal amount containing months, days, seconds and nanoseconds.
A duration can hold a negative value.
Public classEncryptionLevel
Control the level of encryption to require.
Public classGraphDatabase
Creates IDriver instances, optionally letting you configure them.
Public classLoadBalancingStrategy
Control load balancing strategy used by the driver.
Public classLocalDate
Represents a date value, without a time zone and time related components
Public classLocalDateTime
Represents a local date time value, without a time zone
Public classLocalTime
Represents a local time value
Public classLogLevel
The logging levels that could be used by a logger.
Public classNeo4jException
The base class for all Neo4j exceptions.
Public classOffsetTime
Represents a time value with a UTC offset
Public classPoint
Represents a single three-dimensional point in a particular coordinate reference system.
Public classProtocolException
There was a bolt protocol violation of the contract between the driver and the server. When seen this error, contact driver developers.
Public classSecurityException
Failed to connect the driver to the server due to security errors When this type of error happens, recreation of the driver might be required.
Public classServerAddress
A server address consists of Host and Port. This address specifies where the driver to find the server.
Public classServiceUnavailableException
A ServiceUnavailableException indicates that the driver cannot communicate with the cluster.
Public classSessionExpiredException
A SessionExpiredException indicates that the session can no longer satisfy the criteria under which it was acquired, e.g. a server no longer accepts write requests. A new session needs to be acquired from the driver and all actions taken on the expired session must be replayed.
Public classStatement
An executable statement, i.e. the statements' text and its parameters.
Public classStatementResultCursorExtensions
Extension methods for IStatementResultCursor
Public classStatementType
The type of a statement.
Public classTemporalValue
Base class for temporal values
Public classTransactionConfig
Configuration object containing settings for explicit and auto-commit transactions. Leave the fields unmodified to use server side transaction configurations.

For example, the following code starts a transaction using server default transaction configurations.

session.BeginTransaction(new TransactionConfig());
Public classTransientException
A TransientException signals a failed operation that may be able to succeed if this operation is retried without any intervention by application-level functionality. The error code provided can be used to determine further details for the problem.
Public classTrustManager
This is the base class all built-in or custom trust manager implementations should be inheriting from. Trust managers are the way that one could customise how TLS trust is established.
Public classTrustStrategy
Specify the trust strategy the driver adopts to trust a server.
Public classValueExtensions
A collection of extensions to process values streamed back via Bolt.
Public classValueOverflowException
A value retrieved from the database cannot be represented with the type to be converted, and will cause working with a modified data.
Public classValueTruncationException
A value retrieved from the database needs to be truncated for this conversion to work, and will cause working with a modified data.
Public classZone
This abstract class represents a time zone that's usable by ZonedDateTime type. A time zone can be identified either by its offset (in seconds) from UTC or its IANA/Windows time zone identifiers. You can get corresponding instances of Zone by using its Of(Int32) or Of(String) members.
Public classZonedDateTime
Represents a date time value with a time zone, specified as a UTC offset
Public classZoneId
Represents a time zone specified by its time zone identifier.
Public classZoneOffset
Represents a time zone specified by its offset from UTC.
Public interfaceIAuthToken
An authentication token is used to authenticate with a Neo4j instance. It usually contains a Principal, for instance a username, and one or more Credentials, for instance a password. See AuthTokens for available types of IAuthTokens.
Public interfaceIConfigBuilder
Provides a way to generate a Config instance fluently.
Public interfaceICounters
Represents the changes to the database made as a result of a statement being run.
Public interfaceIDriver
The IDriver instance maintains the connections with a Neo4j database, providing an access point via the ISession method.
Public interfaceIDriverLogger
The replacement of legacy ILogger. The new IDriverLogger differs from the legacy one in the message format the logging methods are accepting. In IDriverLogger, each logging method accepts a message which specifies how the message would be formatted and one or many arguments that are used to replace placeholders in the message string. The following example shows a simplified version of how the IDriverLogger is used in this driver:
logger.Info("Hello {0}, {1}", "Alice", "Bob");
Public interfaceIEntity
Represents an Entity in the Neo4j graph database. An Entity could be a Node or a Relationship.
Public interfaceIInputPosition
An input position refers to a specific character in a statement.
Public interfaceILogger
The logger used by this driver. This interface is expected to be implemented by users to access the logs generated by the driver.
Public interfaceINode
Represents a Node in the Neo4j graph database.
Public interfaceINotification
Representation for notifications found when executing a statement. A notification can be visualized in a client pinpointing problems or other information about the statement.
Public interfaceIPath
A Path is a directed sequence of relationships between two nodes. This generally represents a traversal or walk through a graph and maintains a direction separate from that of any relationships traversed. It is allowed to be of size 0, meaning there are no relationships in it. In this case, it contains only a single node which is both the start and the end of the path.
Public interfaceIPlan
This describes the Plan that the database planner produced and used (or will use) to execute your statement. This can be extremely helpful in understanding what a statement is doing, and how to optimize it. For more details, see the Neo4j Manual. The plan for the statement is a tree of plans - each sub-tree containing zero or more child plans. The statement starts with the root plan. Each sub-plan is of a specific OperatorType, which describes what that part of the plan does - for instance, perform an index lookup or filter results. The Neo4j Manual contains a reference of the available operator types, and these may differ across Neo4j versions.
Public interfaceIProfiledPlan
This is the same as a regular IPlan - except this plan has been executed, meaning it also contains detailed information about how much work each step of the plan incurred on the database.
Public interfaceIRecord
A record contains ordered key and value pairs
Public interfaceIRelationship
Represents a Relationship in the Neo4j graph database.
Public interfaceIResultSummary
The result summary of running a statement. The result summary interface can be used to investigate details about the result, like the type of query run, how many and which kinds of updates have been executed, and query plan and profiling information if available. The result summary is only available after all result records have been consumed. Keeping the result summary around does not influence the lifecycle of any associated session and/or transaction.
Public interfaceIServerAddressResolver
Used by routing driver to resolve the initial address used to create the driver. Such resolution happens: 1) during the very first rediscovery when driver is created. 2) when all the known routers from the current routing table have failed and driver needs to fallback to the initial address.
Public interfaceIServerInfo
Provides basic information of the server where the cypher statement was executed.
Public interfaceISession
A live session with a Neo4j instance. Sessions serve two purposes. For one, they are an optimization. By keeping state on the database side, we can avoid re-transmitting certain metadata over and over. Sessions also serve a role in transaction isolation and ordering semantics. Neo4j requires "sticky sessions", meaning all requests within one session must always go to the same Neo4j instance. Session objects are not thread safe, if you want to run concurrent operations against the database, simply create multiple session objects.
Public interfaceIStatementResult
Provides access to the result as an IEnumerableT of IRecords. The records in the result is lazily retrieved and could only be visited once.
Public interfaceIStatementResultCursor
Provides access to the result as an asynchronous stream of IRecords. The records in the result is lazily retrieved and could only be visited once in a sequential order.
Public interfaceIStatementRunner
Common interface for components that can execute Neo4j statements.
Public interfaceITransaction
Represents a transaction in the Neo4j database. This interface may seem surprising in that it does not have explicit Commit or Rollback methods. It is designed to minimize the complexity of the code you need to write to use transactions in a safe way, ensuring that transactions are properly rolled back even if there is an exception while the transaction is running.