java.lang.Object
org.apache.jena.sparql.expr.NodeValueCmp
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic int
compareAlways
(NodeValue nv1, NodeValue nv2) static int
compareByValue
(NodeValue nv1, NodeValue nv2) static int
compareWithOrdering
(NodeValue nv1, NodeValue nv2) The sort order is to apply the rules in the following order: Order by value space Within a value space, order by value (if possible) Order by RDF term (syntax)static void
raise
(ExprException ex) static boolean
sameValueAs
(NodeValue nv1, NodeValue nv2) Return true if the two NodeValues are known to be the same value return false if known to be different values, throw ExprEvalException otherwise
-
Constructor Details
-
NodeValueCmp
public NodeValueCmp()
-
-
Method Details
-
sameValueAs
Return true if the two NodeValues are known to be the same value return false if known to be different values, throw ExprEvalException otherwise -
compareByValue
-
compareAlways
-
raise
-
compareWithOrdering
The sort order is to apply the rules in the following order:- Order by value space
- Within a value space, order by value (if possible)
- Order by RDF term (syntax)
The implicit timezone for dateTime/date etc is fixed UTC to ensure sorting is the same everywhere.
-