First attempt to add gremlin query support
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@146774 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
d4b69c2c1e
commit
533a4e128a
|
@ -0,0 +1,19 @@
|
|||
package org.gcube.informationsystem.resourceregistry.query;
|
||||
|
||||
import org.gcube.informationsystem.resourceregistry.ScopedTest;
|
||||
import org.gcube.informationsystem.resourceregistry.api.exceptions.query.InvalidQueryException;
|
||||
import org.slf4j.Logger;
|
||||
import org.slf4j.LoggerFactory;
|
||||
|
||||
public class QueryTest extends ScopedTest {
|
||||
|
||||
private static Logger logger = LoggerFactory.getLogger(QueryTest.class);
|
||||
|
||||
//@Test
|
||||
public void testGremlinQuery() throws InvalidQueryException {
|
||||
Query query = new QueryImpl();
|
||||
String ret = query.gremlinQuery("g.V()");
|
||||
logger.debug("Gremlin Query Result is : {}", ret);
|
||||
}
|
||||
|
||||
}
|
Loading…
Reference in New Issue