Examples of GremlinQueryEngine


Examples of org.springframework.data.neo4j.support.query.GremlinQueryEngine

    }

    public <T> QueryEngine<T> queryEngineFor(QueryType type) {
        switch (type) {
            case Cypher:  return (QueryEngine<T>)new CypherQueryEngine(delegate, createResultConverter());
            case Gremlin: return (QueryEngine<T>) new GremlinQueryEngine(delegate);
        }
        throw new IllegalArgumentException("Unknown Query Engine Type "+type);
    }
View Full Code Here

Examples of org.springframework.data.neo4j.support.query.GremlinQueryEngine

        private GremlinQueryEngine queryExecutor;

        public GremlinGraphRepositoryQuery(GraphQueryMethod queryMethod, RepositoryMetadata metadata, final GraphDatabaseContext graphDatabaseContext) {
            super(queryMethod, metadata, graphDatabaseContext);
            queryExecutor = new GremlinQueryEngine(graphDatabaseContext.getGraphDatabaseService(), new EntityResultConverter(graphDatabaseContext));
        }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.