Class: Pacer::Transform::CypherResults::ResultsPipe
- Inherits:
-
Pipes::RubyPipe
- Object
- Pipes::RubyPipe
- Pacer::Transform::CypherResults::ResultsPipe
- Includes:
- Neo4j::Algo::Wrapping
- Defined in:
- lib/pacer-neo4j/algo/cypher_transform.rb
Instance Attribute Summary collapse
-
#columns ⇒ Object
readonly
Returns the value of attribute columns.
-
#current ⇒ Object
Returns the value of attribute current.
-
#graph ⇒ Object
readonly
Returns the value of attribute graph.
-
#single ⇒ Object
readonly
Returns the value of attribute single.
Instance Method Summary collapse
-
#initialize(route, columns, single) ⇒ ResultsPipe
constructor
A new instance of ResultsPipe.
Constructor Details
#initialize(route, columns, single) ⇒ ResultsPipe
Returns a new instance of ResultsPipe.
98 99 100 101 102 103 |
# File 'lib/pacer-neo4j/algo/cypher_transform.rb', line 98 def initialize(route, columns, single) super() @single = single @graph = route.graph @columns = columns if columns and columns.any? end |
Instance Attribute Details
#columns ⇒ Object (readonly)
Returns the value of attribute columns.
95 96 97 |
# File 'lib/pacer-neo4j/algo/cypher_transform.rb', line 95 def columns @columns end |
#current ⇒ Object
Returns the value of attribute current.
96 97 98 |
# File 'lib/pacer-neo4j/algo/cypher_transform.rb', line 96 def current @current end |
#graph ⇒ Object (readonly)
Returns the value of attribute graph.
95 96 97 |
# File 'lib/pacer-neo4j/algo/cypher_transform.rb', line 95 def graph @graph end |
#single ⇒ Object (readonly)
Returns the value of attribute single.
95 96 97 |
# File 'lib/pacer-neo4j/algo/cypher_transform.rb', line 95 def single @single end |