public class SortKeyDefinitionList extends PseudoExpression implements java.lang.Iterable<SortKeyDefinition>
EFFECTIVE_BOOLEAN_VALUE, EVALUATE_METHOD, ITEM_FEED_METHOD, ITERATE_METHOD, MAX_COST, MAX_SEQUENCE_LENGTH, MAX_STRING_LENGTH, PROCESS_METHOD, staticProperties, UNBOUNDED_LOWER, UNBOUNDED_UPPER, UPDATE_METHOD, WATCH_METHOD| Constructor and Description |
|---|
SortKeyDefinitionList(SortKeyDefinition[] sortKeyDefinitions)
Create a list of sort key definitions
|
| Modifier and Type | Method and Description |
|---|---|
SortKeyDefinitionList |
copy(RebindingMap rebindings)
Copy this pseudo-expression
|
void |
export(ExpressionPresenter out)
Diagnostic print of expression structure.
|
int |
getImplementationMethod()
An implementation of Expression must provide at least one of the methods evaluateItem(), iterate(), or process().
|
SortKeyDefinition |
getSortKeyDefinition(int i)
Get the i'th sort key definition, counting from zero
|
boolean |
isLiftable(boolean forStreaming)
Ask whether the expression can be lifted out of a loop, assuming it has no dependencies
on the controlling variable/focus of the loop
|
java.util.Iterator<SortKeyDefinition> |
iterator()
Get an iterator over the sort key definitions
|
java.lang.Iterable<Operand> |
operands()
Get the operands of this SortKeyDefinitionList, treating it as a pseudo-expression.
|
int |
size()
Ask how many sort key definitions there are
|
computeCardinality, effectiveBooleanValue, evaluateAsString, evaluateItem, getItemType, iterate, processaddToPathMap, adoptChildExpression, allowExtractingCommonSubexpressions, checkedOperands, checkForUpdatingSubexpressions, checkPermittedContents, computeDependencies, computeHashCode, computeSpecialProperties, computeStaticProperties, dynamicError, equals, evaluatePendingUpdates, explain, getCardinality, getConfiguration, getCost, getDependencies, getEvaluationMethod, getExpressionName, getExtraProperty, getIntegerBounds, getInterpretedExpression, getIntrinsicDependencies, getLocalRetainedStaticContext, getLocation, getNetCost, getObjectName, getPackageData, getParentExpression, getProperties, getProperty, getRetainedStaticContext, getScopingExpression, getSlotsUsed, getSpecialProperties, getStaticBaseURI, getStaticBaseURIString, getStaticType, getStaticUType, getStreamerName, getTracingTag, hasCompatibleStaticContext, hashCode, hasSpecialProperty, hasVariableBinding, identityHashCode, implementsStaticTypeCheck, isCallOn, isEqual, isIdentical, isInstruction, isMultiThreaded, isStaticPropertiesKnown, isSubtreeExpression, isUpdatingExpression, isVacuousExpression, markTailFunctionCalls, operandList, operandSparseList, optimize, optimizeChildren, prepareForStreaming, resetLocalStaticProperties, restoreParentPointers, setEvaluationMethod, setExtraProperty, setFiltered, setFlattened, setLocation, setParentExpression, setRetainedStaticContext, setRetainedStaticContextLocally, setRetainedStaticContextThoroughly, setStaticProperty, simplify, simplifyChildren, staticTypeCheck, suppressValidation, toPattern, toShortString, toString, typeCheck, typeCheckChildren, typeError, unordered, verifyParentPointersclone, finalize, getClass, notify, notifyAll, wait, wait, waitgatherPropertiespublic SortKeyDefinitionList(SortKeyDefinition[] sortKeyDefinitions)
sortKeyDefinitions - the sort key definitions, supplied as an arraypublic java.lang.Iterable<Operand> operands()
operands in class Expressionpublic boolean isLiftable(boolean forStreaming)
isLiftable in class ExpressionforStreaming - public int size()
public SortKeyDefinition getSortKeyDefinition(int i)
i - the index of the required sort key definitionpublic java.util.Iterator<SortKeyDefinition> iterator()
iterator in interface java.lang.Iterable<SortKeyDefinition>public SortKeyDefinitionList copy(RebindingMap rebindings)
copy in class Expressionrebindings - public int getImplementationMethod()
getImplementationMethod in class PseudoExpressionExpression.ITERATE_METHOD or Expression.EVALUATE_METHOD or
Expression.PROCESS_METHODpublic void export(ExpressionPresenter out) throws XPathException
Expressionexport in interface ExportAgentexport in class Expressionout - the expression presenter used to display the structureXPathException - if the export fails, for example if an expression is found that won't work
in the target environment.Copyright (c) 2004-2021 Saxonica Limited. All rights reserved.