Package com.tinkerpop.blueprints.pgm.impls.blueredis

Examples of com.tinkerpop.blueprints.pgm.impls.blueredis.RedisVertex


            l = database.smembers(node_name);
            if(l != null) {
                for(byte[] o : l) {
                    Long idx = Long.parseLong(new String(o));
                    if(this.indexClass.isAssignableFrom(RedisVertex.class)){
                        arr.add((T)new RedisVertex(idx, graph));
                    } else {
                        arr.add((T)new RedisEdge(idx, graph));
                    }
                }
            }
View Full Code Here


        try {
            db_vertices = db.zrange(elementCollectionKey, current, current);
            long id = Long.parseLong(new String(db_vertices.get(0)));

            if(type.equals(RedisElementType.TYPE.REDIS_ELEMENT_VERTEX)){
                el = new RedisVertex(id, graph);
            }
            else{
                el = new RedisEdge(id, graph);
                if(null != this.label && !((RedisEdge)el).getLabel().equals(this.label)){
                    el = null;
View Full Code Here

TOP

Related Classes of com.tinkerpop.blueprints.pgm.impls.blueredis.RedisVertex

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.