Class: Neo4j::Driver::Bolt::Protocol::V44
- Defined in:
- lib/neo4j/driver/bolt/protocol/v44.rb
Overview
Bolt 4.4. Adds impersonation (imp_user on RUN/BEGIN/ROUTE) and
changes ROUTE's third field from a bare database string to a
{db, imp_user} map. Descends from V43 so it inherits the "utc"
patch capability; every 5.x handler descends from this class, so
they inherit impersonation, the ROUTE map form, and (until V5
turns it off) the patch.
Direct Known Subclasses
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
- #build_route(routing_context, bookmarks, database, imp_user) ⇒ Object
- #supports_impersonation? ⇒ Boolean
Methods inherited from V43
#hello_extra, #patch_bolt_extra
Methods inherited from V4
Methods inherited from Base
#build_begin, #build_discard, #build_hello_message, #build_logon_message, #build_pull, #build_run, #build_telemetry, #configure_packer, #customize_hydration, #enforce_impersonation_support!, #hello_extra, #initialize, #notification_config_extra, #pack_uuid, #supports_multiple_databases?, #supports_notification_filtering?, #supports_re_auth?, #supports_telemetry?, #unpack_uuid
Constructor Details
This class inherits a constructor from Neo4j::Driver::Bolt::Protocol::Base
Instance Method Details
#build_route(routing_context, bookmarks, database, imp_user) ⇒ Object
16 17 18 |
# File 'lib/neo4j/driver/bolt/protocol/v44.rb', line 16 def build_route(routing_context, bookmarks, database, imp_user) Message.route(routing_context, bookmarks, { db: database, imp_user: }.compact) end |
#supports_impersonation? ⇒ Boolean
14 |
# File 'lib/neo4j/driver/bolt/protocol/v44.rb', line 14 def supports_impersonation? = true |