Module org.neo4j.driver
Class BoltProtocolV43
java.lang.Object
org.neo4j.driver.internal.bolt.basicimpl.messaging.v3.BoltProtocolV3
org.neo4j.driver.internal.bolt.basicimpl.messaging.v4.BoltProtocolV4
org.neo4j.driver.internal.bolt.basicimpl.messaging.v41.BoltProtocolV41
org.neo4j.driver.internal.bolt.basicimpl.messaging.v42.BoltProtocolV42
org.neo4j.driver.internal.bolt.basicimpl.messaging.v43.BoltProtocolV43
- All Implemented Interfaces:
BoltProtocol
- Direct Known Subclasses:
BoltProtocolV44
Definition of the Bolt Protocol 4.3
The version 4.3 use most of the 4.2 behaviours, but it extends it with new messages such as ROUTE
-
Nested Class Summary
Nested classes/interfaces inherited from class org.neo4j.driver.internal.bolt.basicimpl.messaging.v3.BoltProtocolV3
BoltProtocolV3.Query -
Field Summary
FieldsFields inherited from class org.neo4j.driver.internal.bolt.basicimpl.messaging.v3.BoltProtocolV3
METADATA_EXTRACTOR -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanroute(Connection connection, Map<String, Value> routingContext, Set<String> bookmarks, String databaseName, String impersonatedUser, MessageHandler<RouteSummary> handler, Clock clock, LoggingProvider logging) version()Returns the protocol version.Methods inherited from class org.neo4j.driver.internal.bolt.basicimpl.messaging.v4.BoltProtocolV4
pull, verifyDatabaseNameBeforeTransactionMethods inherited from class org.neo4j.driver.internal.bolt.basicimpl.messaging.v3.BoltProtocolV3
beginTransaction, commitTransaction, discard, initializeChannel, reset, rollbackTransaction, run, runAuto, telemetry, useLegacyNotifications, verifyNotificationConfigSupportedMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.neo4j.driver.internal.bolt.basicimpl.messaging.BoltProtocol
logoff, logon
-
Field Details
-
VERSION
-
INSTANCE
-
-
Constructor Details
-
BoltProtocolV43
public BoltProtocolV43()
-
-
Method Details
-
createMessageFormat
- Specified by:
createMessageFormatin interfaceBoltProtocol- Overrides:
createMessageFormatin classBoltProtocolV4
-
route
public CompletionStage<Void> route(Connection connection, Map<String, Value> routingContext, Set<String> bookmarks, String databaseName, String impersonatedUser, MessageHandler<RouteSummary> handler, Clock clock, LoggingProvider logging) - Specified by:
routein interfaceBoltProtocol- Overrides:
routein classBoltProtocolV4
-
version
Description copied from interface:BoltProtocolReturns the protocol version. It can be used for version specific error messages.- Specified by:
versionin interfaceBoltProtocol- Overrides:
versionin classBoltProtocolV42- Returns:
- the protocol version.
-
includeDateTimeUtcPatchInHello
protected boolean includeDateTimeUtcPatchInHello()- Overrides:
includeDateTimeUtcPatchInHelloin classBoltProtocolV3
-