Class: ActiveCypher::Bolt::Messaging::Discard

Inherits:
MetadataMessage show all
Defined in:
lib/active_cypher/bolt/messaging.rb

Overview

The DISCARD message. For when you want to throw away results, or your hopes.

Constant Summary collapse

SIGNATURE =
0x2F

Instance Attribute Summary

Attributes inherited from Message

#fields, #signature

Instance Method Summary collapse

Methods inherited from MetadataMessage

#initialize, #metadata

Methods inherited from Message

#==, inherited, #initialize

Constructor Details

This class inherits a constructor from ActiveCypher::Bolt::Messaging::MetadataMessage

Instance Method Details

#nObject

metadata: { n: <N>, qid: <QID> }, where n = -1 means all



169
# File 'lib/active_cypher/bolt/messaging.rb', line 169

def n   = [:n] || ['n']

#qidObject



170
# File 'lib/active_cypher/bolt/messaging.rb', line 170

def qid = [:qid] || ['qid']