java.lang.Object
org.apache.jena.sparql.expr.NodeValueCmp
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic intcompareAlways(NodeValue nv1, NodeValue nv2) static intcompareByValue(NodeValue nv1, NodeValue nv2) static intcompareWithOrdering(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 voidraise(ExprException ex) static booleansameValueAs(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.
-