java.lang.Object
org.apache.jena.sparql.expr.ExprNode
org.apache.jena.sparql.expr.NodeValue
org.apache.jena.sparql.expr.nodevalue.NodeValueSortKey
- All Implemented Interfaces:
Comparable<NodeValueSortKey>
,Expr
A
NodeValue
that supports collation value for a string. This allows query values
to be sorted following rules for a specific collation.-
Field Summary
Fields inherited from class org.apache.jena.sparql.expr.NodeValue
FALSE, nvDecimalONE, nvDecimalZERO, nvEmptyString, nvINF, nvNaN, nvNegINF, nvNegZERO, nvONE, nvTEN, nvZERO, TRUE, VerboseExceptions, VerboseWarnings, xmlDatatypeFactory, xsdNamespace
Fields inherited from interface org.apache.jena.sparql.expr.Expr
CMP_EQUAL, CMP_GREATER, CMP_INDETERMINATE, CMP_LESS, CMP_UNEQUAL, NONE
-
Constructor Summary
ConstructorsConstructorDescriptionNodeValueSortKey
(String string, String collation) NodeValueSortKey
(String string, String collation, Node n) -
Method Summary
Modifier and TypeMethodDescriptionasString()
int
compareTo
(NodeValueSortKey other) boolean
toString()
void
visit
(NodeValueVisitor visitor) Methods inherited from class org.apache.jena.sparql.expr.NodeValue
apply, applyNodeTransform, asNode, asQuotedString, asQuotedString, asUnquotedString, booleanReturn, classifyValueOp, compare, compareAlways, copySubstitute, equals, eval, evalNode, getBoolean, getConstant, getDatatypeURI, getDateTime, getDecimal, getDouble, getDuration, getFloat, getInteger, getLang, getNode, getValueSpace, hasDateTime, hashCode, hasNode, isBlank, isBoolean, isConstant, isDate, isDateTime, isDayTimeDuration, isDecimal, isDouble, isDuration, isFloat, isGDay, isGMonth, isGMonthDay, isGYear, isGYearMonth, isInteger, isIRI, isLangString, isLiteral, isNumber, isString, isTime, isTripleTerm, isYearMonthDuration, makeBoolean, makeDate, makeDate, makeDate, makeDateTime, makeDateTime, makeDateTime, makeDecimal, makeDecimal, makeDecimal, makeDecimal, makeDouble, makeDuration, makeDuration, makeFloat, makeInteger, makeInteger, makeInteger, makeLangString, makeNode, makeNode, makeNode, makeNode, makeNodeBoolean, makeNodeBoolean, makeNodeDate, makeNodeDate, makeNodeDateTime, makeNodeDateTime, makeNodeDecimal, makeNodeDecimal, makeNodeDouble, makeNodeDouble, makeNodeDuration, makeNodeFloat, makeNodeFloat, makeNodeInteger, makeNodeInteger, makeNodeString, makeSortKey, makeString, notSameAs, notSameAs, notSameValueAs, notSameValueAs, parse, raise, sameAs, sameValueAs, toNode, visit
Methods inherited from class org.apache.jena.sparql.expr.ExprNode
asVar, deepCopy, equals, equalsBySyntax, getExpr, getExprVar, getFunction, getGraphPattern, getVarName, getVarsMentioned, isExpr, isFunction, isGraphPattern, isSatisfied, isVariable
-
Constructor Details
-
NodeValueSortKey
-
NodeValueSortKey
-
-
Method Details
-
isSortKey
public boolean isSortKey() -
getSortKey
- Overrides:
getSortKey
in classNodeValue
-
getString
-
asString
-
getCollation
-
visit
-
toString
-
compareTo
- Specified by:
compareTo
in interfaceComparable<NodeValueSortKey>
-