getProcessor
public static OrderByProcessorFactory getProcessor(List<SelectClauseExprCompiledSpec> selectionList,
ExprEvaluator[] groupByNodeEvals,
List<OrderByItem> orderByList,
RowLimitSpec rowLimitSpec,
VariableService variableService,
boolean isSortUsingCollator,
String optionalContextName,
EngineImportService engineImportService,
boolean onDemandQuery,
String statementName)
throws ExprValidationException
Returns processor for order-by clauses.
- Parameters:
selectionList
- is a list of select expressions
groupByNodeEvals
- is a list of group-by expressions
orderByList
- is a list of order-by expressions
rowLimitSpec
- specification for row limit, or null if no row limit is defined
variableService
- for retrieving variable state for use with row limiting
isSortUsingCollator
- for string value sorting using compare or Collator
optionalContextName
- context name
engineImportService
- engine import svc
onDemandQuery
- fire-and-forget flag
statementName
- statement name
- Returns:
- ordering processor instance
- Throws:
ExprValidationException
- when validation of expressions fails