Sha256: c66b7f9776e275146881f90d879dd02036f91f87e8871afc13bea95bcd966a4a
Contents?: true
Size: 485 Bytes
Versions: 3
Compression:
Stored size: 485 Bytes
Contents
module Cadet module BatchInserter class Node < Cadet::Node include_package "org.neo4j.graphdb" def create_outgoing(to, type, properties = {}) rel_type = DynamicRelationshipType.withName(type) @db.createRelationship(@underlying, to.underlying, rel_type, properties) end def set_property(prop, val) @db.setNodeProperties @underlying, {prop => val} end def get_relationships(direction, type) end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
cadet-0.0.4-java | lib/cadet/batch_inserter/node.rb |
cadet-0.0.3-java | lib/cadet/batch_inserter/node.rb |
cadet-0.0.2-java | lib/cadet/batch_inserter/node.rb |