OpTypes.java (hsqldb-2.6.0) | : | OpTypes.java (hsqldb-2.6.1) | ||
---|---|---|---|---|
skipping to change at line 39 | skipping to change at line 39 | |||
*/ | */ | |||
package org.hsqldb; | package org.hsqldb; | |||
import org.hsqldb.lib.OrderedIntHashSet; | import org.hsqldb.lib.OrderedIntHashSet; | |||
/** | /** | |||
* Enumerate expression operation types<p> | * Enumerate expression operation types<p> | |||
* | * | |||
* @author Fred Toussi (fredt@users dot sourceforge.net) | * @author Fred Toussi (fredt@users dot sourceforge.net) | |||
* @version 2.6.0 | * @version 2.6.1 | |||
* @since 1.9.0 | * @since 1.9.0 | |||
*/ | */ | |||
public interface OpTypes { | public interface OpTypes { | |||
int NONE = 0, | int NONE = 0, | |||
VALUE = 1, // constant value | VALUE = 1, // constant value | |||
COLUMN = 2, // references | COLUMN = 2, // references | |||
COALESCE = 3, | COALESCE = 3, | |||
DEFAULT = 4, | DEFAULT = 4, | |||
SIMPLE_COLUMN = 5, | SIMPLE_COLUMN = 5, | |||
skipping to change at line 131 | skipping to change at line 131 | |||
STDDEV_POP = 81, | STDDEV_POP = 81, | |||
STDDEV_SAMP = 82, | STDDEV_SAMP = 82, | |||
VAR_POP = 83, | VAR_POP = 83, | |||
VAR_SAMP = 84, | VAR_SAMP = 84, | |||
ARRAY_AGG = 85, | ARRAY_AGG = 85, | |||
GROUP_CONCAT = 86, | GROUP_CONCAT = 86, | |||
STRING_AGG = 87, | STRING_AGG = 87, | |||
PREFIX = 88, | PREFIX = 88, | |||
MEDIAN = 89, | MEDIAN = 89, | |||
CONCAT_WS = 90, | CONCAT_WS = 90, | |||
CAST = 91, // other operations | CAST = 91, // other operations | |||
ZONE_MODIFIER = 92, | CONVERT = 92, | |||
CASEWHEN = 93, | ZONE_MODIFIER = 93, | |||
ORDER_BY = 94, | CASEWHEN = 94, | |||
LIMIT = 95, | ORDER_BY = 95, | |||
ALTERNATIVE = 96, | LIMIT = 96, | |||
MULTICOLUMN = 98, | ALTERNATIVE = 98, | |||
USER_AGGREGATE = 99, | MULTICOLUMN = 99, | |||
ARRAY_ACCESS = 100, | USER_AGGREGATE = 100, | |||
ARRAY_SUBQUERY = 101, | ARRAY_ACCESS = 101, | |||
GROUPING = 102; // grouping function | ARRAY_SUBQUERY = 102, | |||
GROUPING = 103; // grouping function | ||||
//J- | //J- | |||
int[] aggOpTypes = new int[] { | int[] aggOpTypes = new int[] { | |||
OpTypes.COUNT, | OpTypes.COUNT, | |||
OpTypes.AVG, | OpTypes.AVG, | |||
OpTypes.MAX, | OpTypes.MAX, | |||
OpTypes.MIN, | OpTypes.MIN, | |||
OpTypes.SUM, | OpTypes.SUM, | |||
OpTypes.EVERY, | OpTypes.EVERY, | |||
OpTypes.SOME, | OpTypes.SOME, | |||
OpTypes.STDDEV_POP, | OpTypes.STDDEV_POP, | |||
OpTypes.STDDEV_SAMP, | OpTypes.STDDEV_SAMP, | |||
OpTypes.VAR_POP, | OpTypes.VAR_POP, | |||
OpTypes.VAR_SAMP, | OpTypes.VAR_SAMP, | |||
OpTypes.ARRAY_AGG, | OpTypes.ARRAY_AGG, | |||
OpTypes.USER_AGGREGATE, | OpTypes.USER_AGGREGATE, | |||
OpTypes.GROUP_CONCAT, | OpTypes.GROUP_CONCAT, | |||
OpTypes.STRING_AGG, | OpTypes.STRING_AGG, | |||
OpTypes.MEDIAN, | OpTypes.MEDIAN, | |||
OpTypes.GROUPING, | ||||
}; | }; | |||
int[] columnOpTypes = new int[]{ OpTypes.COLUMN }; | int[] columnOpTypes = new int[]{ OpTypes.COLUMN }; | |||
int[] subqueryOpTypes = new int[] { | int[] subqueryOpTypes = new int[] { | |||
OpTypes.ROW_SUBQUERY, | OpTypes.ROW_SUBQUERY, | |||
OpTypes.TABLE_SUBQUERY | OpTypes.TABLE_SUBQUERY | |||
}; | }; | |||
int[] functionOpTypes = new int[] { | int[] functionOpTypes = new int[] { | |||
OpTypes.SQL_FUNCTION, | OpTypes.SQL_FUNCTION, | |||
End of changes. 3 change blocks. | ||||
13 lines changed or deleted | 13 lines changed or added |