public class SortKeyDefinitionList extends PseudoExpression implements java.lang.Iterable<SortKeyDefinition>
EFFECTIVE_BOOLEAN_VALUE, EVALUATE_METHOD, ITEM_FEED_METHOD, ITERATE_METHOD, 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, process
addToPathMap, adoptChildExpression, allowExtractingCommonSubexpressions, checkedOperands, checkForUpdatingSubexpressions, checkPermittedContents, computeDependencies, computeHashCode, computeSpecialProperties, computeStaticProperties, dynamicError, evaluatePendingUpdates, explain, getCardinality, getConfiguration, getConstructType, 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, hasCompatibleStaticContext, hashCode, hasVariableBinding, identityHashCode, implementsStaticTypeCheck, isCallOn, isCallOnSystemFunction, isIdentical, isInstruction, isMultiThreaded, isSameExpression, isStaticPropertiesKnown, isSubtreeExpression, isUpdatingExpression, isVacuousExpression, markTailFunctionCalls, operandList, operandSparseList, optimize, optimizeChildren, resetLocalStaticProperties, restoreParentPointers, setEvaluationMethod, setExtraProperty, setFiltered, setFlattened, setLocation, setParentExpression, setRetainedStaticContext, setRetainedStaticContextLocally, setRetainedStaticContextThoroughly, setStaticProperty, simplify, simplifyChildren, staticTypeCheck, suppressValidation, toPattern, toShortString, toString, typeCheck, typeCheckChildren, typeError, unordered, verifyParentPointers, verifyParentPointers
public SortKeyDefinitionList(SortKeyDefinition[] sortKeyDefinitions)
sortKeyDefinitions
- the sort key definitions, supplied as an arraypublic java.lang.Iterable<Operand> operands()
operands
in class Expression
public boolean isLiftable(boolean forStreaming)
isLiftable
in class Expression
forStreaming
- 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 Expression
rebindings
- public int getImplementationMethod()
getImplementationMethod
in class PseudoExpression
Expression.ITERATE_METHOD
or Expression.EVALUATE_METHOD
or
Expression.PROCESS_METHOD
public void export(ExpressionPresenter out) throws XPathException
Expression
export
in interface ExportAgent
export
in class Expression
out
- 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-2018 Saxonica Limited. All rights reserved.