public class DistinctValues extends CollatingFunction
| Modifier and Type | Class and Description |
|---|---|
static class |
DistinctValues.DistinctIterator
Iterator class to return the distinct values in a sequence
|
conversionContextoperationargumentlocationId, staticPropertiesEVALUATE_METHOD, ITERATE_METHOD, PROCESS_METHOD| Constructor and Description |
|---|
DistinctValues() |
| Modifier and Type | Method and Description |
|---|---|
protected AtomicSortComparer |
getAtomicSortComparer(int arg,
XPathContext context)
Get a AtomicSortComparer that can be used to compare values
|
SequenceIterator |
iterate(XPathContext context)
Evaluate the function to return an iteration of selected values or nodes.
|
checkArguments, getAtomicComparer, getCollator, preEvaluateCollationaddContextDocumentArgument, computeCardinality, computeSpecialProperties, display, getDetails, getErrorCodeForTypeErrors, getItemType, getRequiredType, main, makeSystemFunction, setDetails, useContextItemAsDefaultcheckArgumentCount, getDisplayName, getFunctionNameCode, getNumberOfArguments, iterateSubExpressions, optimize, preEvaluate, promote, setArguments, setFunctionNameCode, simplify, simplifyArguments, typeCheckadoptChildExpression, checkPermittedContents, computeDependencies, computeStaticProperties, doPromotion, dynamicError, dynamicError, effectiveBooleanValue, evaluateAsString, evaluateItem, getCardinality, getColumnNumber, getConstructType, getDependencies, getExecutable, getHostLanguage, getImplementationMethod, getInstructionInfo, getIntrinsicDependencies, getLineNumber, getLocationId, getLocationProvider, getParentExpression, getPublicId, getSlotsUsed, getSpecialProperties, getSystemId, hasBadParentPointer, markTailFunctionCalls, process, resetStaticProperties, setLocationId, setParentExpression, suppressValidation, typeError, typeErrorpublic SequenceIterator iterate(XPathContext context) throws XPathException
iterate in interface Expressioniterate in class ComputedExpressioncontext - supplies the context for evaluationXPathException - if any dynamic error occurs evaluating the
expressionprotected AtomicSortComparer getAtomicSortComparer(int arg, XPathContext context) throws XPathException
arg - the position of the argument (starting at 0) containing the collation name.
If this argument was not supplied, the default collation is usedcontext - The dynamic evaluation context.XPathException