java.lang.Object
org.neo4j.driver.internal.messaging.v3.BoltProtocolV3
org.neo4j.driver.internal.messaging.v4.BoltProtocolV4
- All Implemented Interfaces:
BoltProtocol
- Direct Known Subclasses:
BoltProtocolV41
-
Field Summary
Fields inherited from class org.neo4j.driver.internal.messaging.v3.BoltProtocolV3
METADATA_EXTRACTOR
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected ResultCursorFactory
buildResultCursorFactory
(Connection connection, Query query, Consumer<org.neo4j.driver.internal.DatabaseBookmark> bookmarkConsumer, UnmanagedTransaction tx, RunWithMetadataMessage runMessage, long fetchSize) InstantiateMessageFormat
used by this Bolt protocol verison.protected void
verifyDatabaseNameBeforeTransaction
(org.neo4j.driver.internal.DatabaseName databaseName) version()
Returns the protocol version.Methods inherited from class org.neo4j.driver.internal.messaging.v3.BoltProtocolV3
beginTransaction, commitTransaction, includeDateTimeUtcPatchInHello, initializeChannel, prepareToCloseChannel, rollbackTransaction, runInAutoCommitTransaction, runInUnmanagedTransaction, telemetry, useLegacyNotifications, verifyNotificationConfigSupported
-
Field Details
-
VERSION
-
INSTANCE
-
-
Constructor Details
-
BoltProtocolV4
public BoltProtocolV4()
-
-
Method Details
-
createMessageFormat
Description copied from interface:BoltProtocol
InstantiateMessageFormat
used by this Bolt protocol verison.- Specified by:
createMessageFormat
in interfaceBoltProtocol
- Overrides:
createMessageFormat
in classBoltProtocolV3
- Returns:
- new message format.
-
buildResultCursorFactory
protected ResultCursorFactory buildResultCursorFactory(Connection connection, Query query, Consumer<org.neo4j.driver.internal.DatabaseBookmark> bookmarkConsumer, UnmanagedTransaction tx, RunWithMetadataMessage runMessage, long fetchSize) - Overrides:
buildResultCursorFactory
in classBoltProtocolV3
-
verifyDatabaseNameBeforeTransaction
protected void verifyDatabaseNameBeforeTransaction(org.neo4j.driver.internal.DatabaseName databaseName) - Overrides:
verifyDatabaseNameBeforeTransaction
in classBoltProtocolV3
-
version
Description copied from interface:BoltProtocol
Returns the protocol version. It can be used for version specific error messages.- Specified by:
version
in interfaceBoltProtocol
- Overrides:
version
in classBoltProtocolV3
- Returns:
- the protocol version.
-