Class ValueComparator

java.lang.Object
org.eclipse.rdf4j.query.algebra.evaluation.util.ValueComparator
All Implemented Interfaces:
Comparator<Value>

public class ValueComparator extends Object implements Comparator<Value>
A comparator that compares values according the SPARQL value ordering as specified in SPARQL Query Language for RDF.
Author:
james, Arjohn Kampman
  • Constructor Details

    • ValueComparator

      public ValueComparator()
  • Method Details

    • compare

      public int compare(Value o1, Value o2)
      Specified by:
      compare in interface Comparator<Value>
    • setStrict

      public void setStrict(boolean flag)
    • isStrict

      public boolean isStrict()