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
|
collation
operation
argument
locationId, staticProperties
EVALUATE_METHOD, ITERATE_METHOD, PROCESS_METHOD
Constructor and Description |
---|
DistinctValues() |
Modifier and Type | Method and Description |
---|---|
void |
checkArguments(StaticContext env)
Method called during static type checking
|
SequenceIterator |
iterate(XPathContext context)
Evaluate the function to return an iteration of selected values or nodes.
|
getAtomicComparer, getCollator
addContextDocumentArgument, computeCardinality, computeSpecialProperties, display, getDetails, getErrorCodeForTypeErrors, getItemType, getRequiredType, main, makeSystemFunction, setDetails, useContextItemAsDefault
checkArgumentCount, getArguments, getDisplayName, getFunctionNameCode, getNumberOfArguments, iterateSubExpressions, optimize, preEvaluate, promote, replaceSubExpression, setArguments, setFunctionNameCode, simplify, simplifyArguments, typeCheck
adoptChildExpression, checkPermittedContents, computeDependencies, computeStaticProperties, doPromotion, 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, setParentExpression, suppressValidation, typeError
public void checkArguments(StaticContext env) throws XPathException
SystemFunction
checkArguments
in class CollatingFunction
XPathException
public SequenceIterator iterate(XPathContext context) throws XPathException
iterate
in interface Expression
iterate
in class ComputedExpression
context
- supplies the context for evaluationXPathException
- if any dynamic error occurs evaluating the
expression