Class: Pacer::Transform::Cypher::CypherPipe

Inherits:
Pipes::RubyPipe
  • Object
show all
Defined in:
lib/pacer-neo4j/algo/cypher_transform.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(route) ⇒ CypherPipe

Returns a new instance of CypherPipe.



65
66
67
68
69
# File 'lib/pacer-neo4j/algo/cypher_transform.rb', line 65

def initialize(route)
  super()
  graph = route.graph.neo_graph
  @engine = ExecutionEngine.new graph
end

Instance Attribute Details

#engineObject (readonly)

Returns the value of attribute engine.



63
64
65
# File 'lib/pacer-neo4j/algo/cypher_transform.rb', line 63

def engine
  @engine
end