Uses of Annotation Interface
org.neo4j.driver.util.Preview
-
Uses of Preview in org.neo4j.driver
Modifier and TypeInterfaceDescriptioninterface
An opaque container for client certificate used for mTLS.interface
A manager ofClientCertificate
instances used by the driver for mTLS.final class
Implementations ofClientCertificateManager
.final class
Creates new instances ofClientCertificate
.enum
Notification classification.interface
A notification configuration defining what notifications should be supplied by the server.interface
AClientCertificateManager
that supports rotating itsClientCertificate
.Modifier and TypeFieldDescriptionstatic final NotificationSeverity
NotificationSeverity.OFF
A special severity level used in configuration to turn off all notifications.Modifier and TypeMethodDescriptionConfig.disabledNotificationClassifications()
Returns a set of disabled notification classifications.SessionConfig.disabledNotificationClassifications()
Returns a set of disabled notification classifications.static Driver
GraphDatabase.driver
(String uri, AuthTokenManager authTokenManager, ClientCertificateManager clientCertificateManager) Returns a driver for a Neo4j instance with the providedAuthTokenManager
andClientCertificateManager
.static Driver
GraphDatabase.driver
(String uri, AuthTokenManager authTokenManager, ClientCertificateManager clientCertificateManager, Config config) Returns a driver for a Neo4j instance with the providedAuthTokenManager
,ClientCertificateManager
and driverConfig
.static Driver
GraphDatabase.driver
(String uri, AuthToken authToken, ClientCertificateManager clientCertificateManager) Returns a driver for a Neo4j instance with the providedAuthToken
andClientCertificateManager
.static Driver
GraphDatabase.driver
(String uri, AuthToken authToken, ClientCertificateManager clientCertificateManager, Config config) Returns a driver for a Neo4j instance with the providedAuthToken
,ClientCertificateManager
and driverConfig
.static Driver
GraphDatabase.driver
(String uri, ClientCertificateManager clientCertificateManager) Returns a driver for a Neo4j instance with the providedClientCertificateManager
.static Driver
GraphDatabase.driver
(String uri, ClientCertificateManager clientCertificateManager, Config config) Returns a driver for a Neo4j instance with the providedClientCertificateManager
and driverConfig
.static Driver
GraphDatabase.driver
(URI uri, AuthTokenManager authTokenManager, ClientCertificateManager clientCertificateManager) Returns a driver for a Neo4j instance with the providedAuthTokenManager
andClientCertificateManager
.static Driver
GraphDatabase.driver
(URI uri, AuthTokenManager authTokenManager, ClientCertificateManager clientCertificateManager, Config config) Returns a driver for a Neo4j instance with the providedAuthTokenManager
,ClientCertificateManager
and driverConfig
.static Driver
GraphDatabase.driver
(URI uri, AuthToken authToken, ClientCertificateManager clientCertificateManager) Returns a driver for a Neo4j instance with the providedAuthToken
andClientCertificateManager
.static Driver
GraphDatabase.driver
(URI uri, AuthToken authToken, ClientCertificateManager clientCertificateManager, Config config) Returns a driver for a Neo4j instance with the providedAuthToken
,ClientCertificateManager
and driverConfig
.static Driver
GraphDatabase.driver
(URI uri, ClientCertificateManager clientCertificateManager) Returns a driver for a Neo4j instance with the providedClientCertificateManager
.static Driver
GraphDatabase.driver
(URI uri, ClientCertificateManager clientCertificateManager, Config config) Returns a driver for a Neo4j instance with the providedClientCertificateManager
and driverConfig
.Config.minimumNotificationSeverity()
Returns a minimum notification severity.SessionConfig.minimumNotificationSeverity()
Returns a minimum notification severity.Config.ConfigBuilder.withDisabledNotificationClassifications
(Set<NotificationClassification> disabledNotificationClassifications) Sets a set of disabled classifications for notifications produced by the server.SessionConfig.Builder.withDisabledNotificationClassifications
(Set<NotificationClassification> disabledNotificationClassifications) Sets a set of disabled classifications for notifications produced by the server.Config.ConfigBuilder.withMinimumNotificationSeverity
(NotificationSeverity minimumNotificationSeverity) Sets a minimum severity for notifications produced by the server.SessionConfig.Builder.withMinimumNotificationSeverity
(NotificationSeverity minimumNotificationSeverity) Sets a minimum severity for notifications produced by the server. -
Uses of Preview in org.neo4j.driver.exceptions
Modifier and TypeMethodDescriptionNeo4jException.classification()
Returns the error classification as aGqlStatusErrorClassification
enum value.Neo4jException.diagnosticRecord()
Returns the GQL diagnostic record.Neo4jException.gqlCause()
Returns the GQL error cause.Neo4jException.gqlStatus()
Returns the GQLSTATUS as defined by the GQL standard.Neo4jException.rawClassification()
Returns the error classification as aString
value.Neo4jException.statusDescription()
Returns the GQLSTATUS description.ModifierConstructorDescriptionAuthenticationException
(String gqlStatus, String statusDescription, String code, String message, Map<String, Value> diagnosticRecord, Throwable cause) Creates a new instance.AuthorizationExpiredException
(String gqlStatus, String statusDescription, String code, String message, Map<String, Value> diagnosticRecord, Throwable cause) Creates a new instance.ClientException
(String gqlStatus, String statusDescription, String code, String message, Map<String, Value> diagnosticRecord, Throwable cause) Creates a new instance.DatabaseException
(String gqlStatus, String statusDescription, String code, String message, Map<String, Value> diagnosticRecord, Throwable cause) Creates a new instance.FatalDiscoveryException
(String gqlStatus, String statusDescription, String code, String message, Map<String, Value> diagnosticRecord, Throwable cause) Creates a new instance.Neo4jException
(String gqlStatus, String statusDescription, String code, String message, Map<String, Value> diagnosticRecord, Throwable cause) Creates a new instance.SecurityException
(String gqlStatus, String statusDescription, String code, String message, Map<String, Value> diagnosticRecord, Throwable cause) Creates a new instance.TokenExpiredException
(String gqlStatus, String statusDescription, String code, String message, Map<String, Value> diagnosticRecord, Throwable cause) Creates a new instance.TransactionTerminatedException
(String gqlStatus, String statusDescription, String code, String message, Map<String, Value> diagnosticRecord, Throwable cause) Creates a new instance.TransientException
(String gqlStatus, String statusDescription, String code, String message, Map<String, Value> diagnosticRecord, Throwable cause) Creates a new instance. -
Uses of Preview in org.neo4j.driver.summary
Modifier and TypeInterfaceDescriptioninterface
The GQL-status object as defined by the GQL standard.Modifier and TypeMethodDescriptiondefault Optional<NotificationClassification>
Notification.classification()
ReturnsNotificationClassification
derived from the diagnostic record.ResultSummary.gqlStatusObjects()
Returns a sequenced set of GQL-status objects resulting from the request execution.default Optional<InputPosition>
Notification.inputPosition()
Returns a position in the query where this notification points to.Notification.rawClassification()
Returns notification classification from the diagnostic record as aString
value retrieved directly from the diagnostic record.