Search in sources :

Example 1 with Compare

use of org.apache.tinkerpop.gremlin.process.traversal.Compare in project incubator-atlas by apache.

the class NativeTitan1GraphQuery method has.

@Override
public void has(String propertyName, ComparisionOperator op, Object value) {
    Compare c = getGremlinPredicate(op);
    TitanPredicate pred = TitanPredicate.Converter.convert(c);
    query.has(propertyName, pred, value);
}
Also used : Compare(org.apache.tinkerpop.gremlin.process.traversal.Compare) TitanPredicate(com.thinkaurelius.titan.graphdb.query.TitanPredicate)

Aggregations

TitanPredicate (com.thinkaurelius.titan.graphdb.query.TitanPredicate)1 Compare (org.apache.tinkerpop.gremlin.process.traversal.Compare)1