Sha256: 9e63dbec7a75fb699aca75efbd0041cb9b6fbe254d519f08200623f1d744aa2b
Contents?: true
Size: 1.21 KB
Versions: 2
Compression:
Stored size: 1.21 KB
Contents
require 'yaml' module Pacer import com.tinkerpop.blueprints.pgm.impls.neo4j.Neo4jIndex import com.tinkerpop.blueprints.pgm.impls.neo4j.Neo4jAutomaticIndex class Neo4jIndex include IndexMixin JVertex = com.tinkerpop.blueprints.pgm.Vertex.java_class.to_java JEdge = com.tinkerpop.blueprints.pgm.Edge.java_class.to_java JNeo4jVertex = com.tinkerpop.blueprints.pgm.impls.neo4j.Neo4jVertex.java_class.to_java JNeo4jEdge = com.tinkerpop.blueprints.pgm.impls.neo4j.Neo4jEdge.java_class.to_java def index_class et = getIndexClass if et == JVertex JNeo4jVertex elsif et == JEdge JNeo4jEdge else et end end end class Neo4jAutomaticIndex include IndexMixin JVertex = com.tinkerpop.blueprints.pgm.Vertex.java_class.to_java JEdge = com.tinkerpop.blueprints.pgm.Edge.java_class.to_java JNeo4jVertex = com.tinkerpop.blueprints.pgm.impls.neo4j.Neo4jVertex.java_class.to_java JNeo4jEdge = com.tinkerpop.blueprints.pgm.impls.neo4j.Neo4jEdge.java_class.to_java def index_class et = getIndexClass if et == JVertex JNeo4jVertex elsif et == JEdge JNeo4jEdge else et end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
pacer-neo4j-1.1.1-java | lib/pacer-neo4j/index.rb |
pacer-neo4j-1.0.7.1-java | lib/pacer-neo4j/index.rb |