Class NodeValueSortKey
- 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:
java.lang.Comparable<NodeValueSortKey>,Expr
public final class NodeValueSortKey extends NodeValue implements java.lang.Comparable<NodeValueSortKey>
ANodeValuethat 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
Constructors Constructor Description NodeValueSortKey(java.lang.String string, java.lang.String collation)NodeValueSortKey(java.lang.String string, java.lang.String collation, Node n)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringasString()intcompareTo(NodeValueSortKey other)java.lang.StringgetCollation()NodeValueSortKeygetSortKey()java.lang.StringgetString()booleanisSortKey()java.lang.StringtoString()voidvisit(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, parse, raise, sameAs, 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 Detail
-
NodeValueSortKey
public NodeValueSortKey(java.lang.String string, java.lang.String collation)
-
NodeValueSortKey
public NodeValueSortKey(java.lang.String string, java.lang.String collation, Node n)
-
-
Method Detail
-
getSortKey
public NodeValueSortKey getSortKey()
- Overrides:
getSortKeyin classNodeValue
-
getCollation
public java.lang.String getCollation()
-
visit
public void visit(NodeValueVisitor visitor)
-
compareTo
public int compareTo(NodeValueSortKey other)
- Specified by:
compareToin interfacejava.lang.Comparable<NodeValueSortKey>
-
-