Sha256: 329a75a165d7ea1c1081e95e23165d1bd595f8220b382e95bc248f22a4f820e7

Contents?: true

Size: 872 Bytes

Versions: 7

Compression:

Stored size: 872 Bytes

Contents

module TimeTree

  class Root
    include Neo4j::ActiveNode
  end

  class Year
    include Neo4j::ActiveNode
    property :value, index: :exact
  end

  class Month
    include Neo4j::ActiveNode
    property :value, index: :exact
  end

  class Day
    include Neo4j::ActiveNode
    property :value, index: :exact
  end

  class Event
    include Neo4j::ActiveNode

    property :message
    serialize :message
    property :created_at
  end

  class Child
    include Neo4j::ActiveRel
    from_class :any
    to_class   :any
    type 'child'
  end

  class First
    include Neo4j::ActiveRel
    from_class :any
    to_class   :any
    type 'first'
  end

  class Last
    include Neo4j::ActiveRel
    from_class :any
    to_class   :any
    type 'last'
  end

  class Next
    include Neo4j::ActiveRel
    from_class :any
    to_class   :any
    type 'next'
  end

end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
logstash-output-neo4j-2.0.5-java lib/logstash/outputs/timetree/model.rb
logstash-output-neo4j-2.0.4-java lib/logstash/outputs/timetree/model.rb
logstash-output-neo4j-2.0.2-java lib/logstash/outputs/timetree/model.rb
logstash-output-neo4j-2.0.1-java lib/logstash/outputs/timetree/model.rb
logstash-output-neo4j-0.9.2-java lib/logstash/outputs/timetree/model.rb
logstash-output-neo4j-0.9.1-java lib/logstash/outputs/timetree/model.rb
logstash-output-neo4j-0.9.0-java lib/logstash/outputs/timetree/model.rb