Search in sources :

Example 1 with JanusGraphIndexQuery

use of org.janusgraph.core.JanusGraphIndexQuery in project atlas by apache.

the class AtlasJanusGraph method indexQuery.

@Override
public AtlasIndexQuery<AtlasJanusVertex, AtlasJanusEdge> indexQuery(String fulltextIndex, String graphQuery, int offset) {
    String prefix = getIndexQueryPrefix();
    JanusGraphIndexQuery query = getGraph().indexQuery(fulltextIndex, graphQuery).setElementIdentifier(prefix).offset(offset);
    return new AtlasJanusIndexQuery(this, query);
}
Also used : JanusGraphIndexQuery(org.janusgraph.core.JanusGraphIndexQuery)

Aggregations

JanusGraphIndexQuery (org.janusgraph.core.JanusGraphIndexQuery)1