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
|
stringCollatoroperationargumentEVALUATE_METHOD, EVENT_FEED_METHOD, ITEM_FEED_METHOD, ITERATE_METHOD, locationId, PROCESS_METHOD, PUSH_SELECTION, staticProperties, WATCH_METHOD| Constructor and Description |
|---|
DistinctValues() |
| Modifier and Type | Method and Description |
|---|---|
void |
checkArguments(ExpressionVisitor visitor)
Method called during static type checking
|
AtomicComparer |
getAtomicComparer()
Get the AtomicComparer allocated at compile time.
|
SequenceIterator |
iterate(XPathContext context)
Evaluate the function to return an iteration of selected values or nodes.
|
AtomicComparer |
makeAtomicComparer(XPathContext context)
Get the AtomicComparer, creating it if it was not allocated at compile time.
|
copy, getAbsoluteCollationURI, getAtomicComparer, getCollator, getExpressionBaseURI, getStringCollatoraddContextDocumentArgument, addDocToPathMap, computeCardinality, computeSpecialProperties, getDetails, getErrorCodeForTypeErrors, getImplementationMethod, getItemType, getRequiredType, makeSystemFunction, optimize, setDetails, useContextItemAsDefaultaddExternalFunctionCallToPathMap, checkArgumentCount, equals, explain, getArguments, getDisplayName, getExpressionName, getFunctionName, getNumberOfArguments, hashCode, iterateSubExpressions, preEvaluate, promote, replaceSubExpression, setArguments, setFunctionName, simplify, simplifyArguments, toString, typeCheckaddToPathMap, adoptChildExpression, checkForUpdatingSubexpressions, checkPermittedContents, computeDependencies, computeStaticProperties, doPromotion, dynamicError, effectiveBooleanValue, evaluateAsString, evaluateItem, evaluatePendingUpdates, explain, getCardinality, getColumnNumber, getColumnNumber, getConstructType, getContainer, getDependencies, getEvaluationMethod, getExecutable, getHostLanguage, getIntrinsicDependencies, getLineNumber, getLineNumber, getLocationId, getLocationProvider, getObjectName, getProperties, getProperty, getPublicId, getSlotsUsed, getSpecialProperties, getSystemId, getSystemId, hasLoopingSubexpression, implementsStaticTypeCheck, isSubtreeExpression, isUpdatingExpression, isVacuousExpression, iterateEvents, iterateSameFocusSubExpressions, markTailFunctionCalls, process, resetLocalStaticProperties, setContainer, setEvaluationMethod, setFiltered, setFlattened, setLocationId, staticTypeCheck, suppressValidation, typeErrorpublic void checkArguments(ExpressionVisitor visitor) throws XPathException
SystemFunctioncheckArguments in class CollatingFunctionvisitor - the expression visitorXPathExceptionpublic AtomicComparer getAtomicComparer()
public AtomicComparer makeAtomicComparer(XPathContext context) throws XPathException
XPathExceptionpublic SequenceIterator iterate(XPathContext context) throws XPathException
iterate in interface SequenceIterableiterate in class Expressioncontext - supplies the context for evaluationXPathException - if any dynamic error occurs evaluating the
expression