Module org.neo4j.driver
Class BoltProtocolV4
java.lang.Object
org.neo4j.driver.internal.bolt.basicimpl.messaging.v3.BoltProtocolV3
org.neo4j.driver.internal.bolt.basicimpl.messaging.v4.BoltProtocolV4
- All Implemented Interfaces:
BoltProtocol
- Direct Known Subclasses:
BoltProtocolV41
-
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 TypeMethodDescriptionpull(Connection connection, long qid, long request, PullMessageHandler handler) route(Connection connection, Map<String, Value> routingContext, Set<String> bookmarks, String databaseName, String impersonatedUser, MessageHandler<RouteSummary> handler, Clock clock, LoggingProvider logging) protected voidverifyDatabaseNameBeforeTransaction(DatabaseName databaseName) version()Returns the protocol version.Methods inherited from class org.neo4j.driver.internal.bolt.basicimpl.messaging.v3.BoltProtocolV3
beginTransaction, commitTransaction, discard, includeDateTimeUtcPatchInHello, 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
-
BoltProtocolV4
public BoltProtocolV4()
-
-
Method Details
-
createMessageFormat
- Specified by:
createMessageFormatin interfaceBoltProtocol- Overrides:
createMessageFormatin classBoltProtocolV3
-
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 classBoltProtocolV3
-
pull
public CompletionStage<Void> pull(Connection connection, long qid, long request, PullMessageHandler handler) - Specified by:
pullin interfaceBoltProtocol- Overrides:
pullin classBoltProtocolV3
-
verifyDatabaseNameBeforeTransaction
- Overrides:
verifyDatabaseNameBeforeTransactionin classBoltProtocolV3
-
version
Description copied from interface:BoltProtocolReturns the protocol version. It can be used for version specific error messages.- Specified by:
versionin interfaceBoltProtocol- Overrides:
versionin classBoltProtocolV3- Returns:
- the protocol version.
-