| java.lang.Object org.apache.derby.impl.sql.execute.BaseExpressionActivation
BaseExpressionActivation | abstract public class BaseExpressionActivation (Code) | | BaseExpressionActivation
Support needed by Expression evaluators (Filters) and by
ResultSet materializers (Activations)
|
Method Summary | |
public static DataValueDescriptor | maxValue(DataValueDescriptor v1, DataValueDescriptor v2, DataValueDescriptor v3, DataValueDescriptor v4, int judgeTypeFormatId, int judgeUserJDBCTypeId) Get the maximum value of 4 input values. | public static DataValueDescriptor | minValue(DataValueDescriptor v1, DataValueDescriptor v2, DataValueDescriptor v3, DataValueDescriptor v4, int judgeTypeFormatId, int judgeUserJDBCTypeId) Get the minimum value of 4 input values. |
BaseExpressionActivation | BaseExpressionActivation()(Code) | | |
maxValue | public static DataValueDescriptor maxValue(DataValueDescriptor v1, DataValueDescriptor v2, DataValueDescriptor v3, DataValueDescriptor v4, int judgeTypeFormatId, int judgeUserJDBCTypeId) throws StandardException(Code) | | Get the maximum value of 4 input values. If less than 4 values, input
NULL. If more than 4 input values, call this multiple times to
accumulate results. Also have judge's type as parameter to have a base
upon which the comparison is based. An example use is for code
generation in bug 3858.
Parameters: v1 - 1st value Parameters: v2 - 2nd value Parameters: v3 - 3rd value Parameters: v4 - 4th value Parameters: judgeTypeFormatId - type format id of the judge Parameters: judgeUserJDBCTypeId - JDBC type id if judge is user type;-1 if not user type The maximum value of the 4. |
minValue | public static DataValueDescriptor minValue(DataValueDescriptor v1, DataValueDescriptor v2, DataValueDescriptor v3, DataValueDescriptor v4, int judgeTypeFormatId, int judgeUserJDBCTypeId) throws StandardException(Code) | | Get the minimum value of 4 input values. If less than 4 values, input
NULL. If more than 4 input values, call this multiple times to
accumulate results. Also have judge's type as parameter to have a base
upon which the comparison is based. An example use is for code
generation in bug 3858.
Parameters: v1 - 1st value Parameters: v2 - 2nd value Parameters: v3 - 3rd value Parameters: v4 - 4th value Parameters: judgeTypeFormatId - type format id of the judge Parameters: judgeUserJDBCTypeId - JDBC type id if judge is user type;-1 if not user type The minimum value of the 4. |
|
|