Search in sources :

Example 1 with Compare

use of com.tinkerpop.blueprints.Compare in project incubator-atlas by apache.

the class NativeTitan0GraphQuery 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(com.tinkerpop.blueprints.Compare) TitanPredicate(com.thinkaurelius.titan.graphdb.query.TitanPredicate)

Aggregations

TitanPredicate (com.thinkaurelius.titan.graphdb.query.TitanPredicate)1 Compare (com.tinkerpop.blueprints.Compare)1