Class SybaseASEGenerateSeriesFunction

All Implemented Interfaces:
SetReturningFunctionRenderer, SqmSetReturningFunctionDescriptor

public class SybaseASEGenerateSeriesFunction extends NumberSeriesGenerateSeriesFunction
Sybase ASE generate_series function. This implementation first replicates an XML tag with a specified maximum size with the replicate function and then uses xmltable to produce rows for every generated element. References to the value are replaced with expressions of the form start + step * iterationVariable and a condition is added either to the query or join where the function is used to ensure that the value is less than or equal to the stop value.