@Test public void testGetRhs() { Literal l1 = new Literal(1); Literal l2 = new Literal(1); ComparisonExpression comparisonExpression = new ComparisonExpression( new Comparison(l1, Comparator.EQ, l2) ); assertEquals(new LiteralComparable(l2), comparisonExpression.getRhs()); }
public QueryComparable getRhs() { return QueryComparable.createFrom(comparison.getComparableExpressions()[1]); }
ComparisonExpression extends QueryPredicate { public QueryComparable getRhs() { return QueryComparable.createFrom(comparison.getComparableExpressions()[1]); } }
ComparisonExpression extends QueryPredicate { public QueryComparable getRhs() { return QueryComparable.createFrom(comparison.getComparableExpressions()[1]); } ComparisonExpression(Comparison comparison); }
ComparisonExpression extends QueryPredicate { public QueryComparable getRhs() { return QueryComparable.createFrom(comparison.getComparableExpressions()[1]); } ComparisonExpression(Comparison comparison); QueryComparable getLhs(); QueryComparable getRhs(); Comparator getComparator(); boolean evaluate(Embedding embedding, EmbeddingMetaData metaData); boolean evaluate(GraphElement element); Set<String> getVariables(); Set<String> getPropertyKeys(String variable); @Override CNF asCNF(); @Override boolean equals(Object o); @Override int hashCode(); @Override String toString(); }
ComparisonExpression extends QueryPredicate { public QueryComparable getRhs() { return QueryComparable.createFrom(comparison.getComparableExpressions()[1]); } ComparisonExpression(Comparison comparison); QueryComparable getLhs(); QueryComparable getRhs(); Comparator getComparator(); boolean evaluate(Embedding embedding, EmbeddingMetaData metaData); boolean evaluate(GraphElement element); Set<String> getVariables(); Set<String> getPropertyKeys(String variable); @Override CNF asCNF(); @Override boolean equals(Object o); @Override int hashCode(); @Override String toString();  }