Class: Neo4j::Driver::Summary::Query
- Inherits:
-
Object
- Object
- Neo4j::Driver::Summary::Query
- Defined in:
- lib/neo4j/driver/summary/query.rb
Overview
The query (text + parameters) the summary describes. Mirrors
- org.neo4j.driver.Query but lives under Summary
for the same
reason as the rest — the user reaches it via Summary#query.
Instance Attribute Summary collapse
-
#parameters ⇒ Object
readonly
Returns the value of attribute parameters.
-
#text ⇒ Object
readonly
Returns the value of attribute text.
Instance Method Summary collapse
-
#initialize(text, parameters = {}) ⇒ Query
constructor
A new instance of Query.
Constructor Details
#initialize(text, parameters = {}) ⇒ Query
Returns a new instance of Query.
12 13 14 15 |
# File 'lib/neo4j/driver/summary/query.rb', line 12 def initialize(text, parameters = {}) @text = text @parameters = parameters end |
Instance Attribute Details
#parameters ⇒ Object (readonly)
Returns the value of attribute parameters.
10 11 12 |
# File 'lib/neo4j/driver/summary/query.rb', line 10 def parameters @parameters end |
#text ⇒ Object (readonly)
Returns the value of attribute text.
10 11 12 |
# File 'lib/neo4j/driver/summary/query.rb', line 10 def text @text end |