IRISLIB database
scalarFunction Class Reference

This class defines the set of scalar functions allowed within DeepSee queries. More...

Inheritance diagram for scalarFunction:
Collaboration diagram for scalarFunction:

Static Public Member Functions

_.Library.Double ISNULL (_.Library.Double pValue, _.Library.Double pReplacement)
 IsNull scalar function: If value is "", return replacment,.
 
_.Library.Double LOG (_.Library.Double pValue)
 Log base 10 scalar function.
 
_.Library.String LOOKUP (_.Library.String pTermList, _.Library.String pKey, _.Library.String pDefault, _.Library.String pField)
 Lookup a value in a term list.
 
_.Library.Double POWER (_.Library.Double pValue, _.Library.Double pArg)
 Power scalar function.
 
_.Library.Double ROUND (_.Library.Double pValue, _.Library.Integer pDigits)
 Round the given value to pDigits places.
 
_.Library.Double SQRT (_.Library.Double pValue)
 Square root scalar function.
 

Static Private Member Functions

_.Library.String EvaluateScalar (_.Library.String pFunc, _.Library.String pValue1, _.Library.String pValue2, _.Library.String pValue3, _.Library.String pValue4)
 Evaluate the given scalar function, pFunc, and return the result.
 
_.Library.String IsScalarFunction (_.Library.String pFunc)
 Test if pFunc is a scalar function. More...
 

Additional Inherited Members

- Public Member Functions inherited from RegisteredObject
_.Library.Status OnAddToSaveSet (_.Library.Integer depth, _.Library.Integer insert, _.Library.Integer callcount)
 This callback method is invoked when the current object is added to the SaveSet,. More...
 
_.Library.Status OnClose ()
 This callback method is invoked by the <METHOD>Close</METHOD> method to. More...
 
_.Library.Status OnConstructClone (_.Library.RegisteredObject object, _.Library.Boolean deep, _.Library.String cloned)
 This callback method is invoked by the <METHOD>ConstructClone</METHOD> method to. More...
 
_.Library.Status OnNew ()
 This callback method is invoked by the <METHOD>New</METHOD> method to. More...
 
_.Library.Status OnValidateObject ()
 This callback method is invoked by the <METHOD>ValidateObject</METHOD> method to. More...
 
- Static Public Attributes inherited from RegisteredObject
 CAPTION = None
 Optional name used by the Form Wizard for a class when generating forms. More...
 
 JAVATYPE = None
 The Java type to be used when exported.
 
 PROPERTYVALIDATION = None
 This parameter controls the default validation behavior for the object. More...
 

Detailed Description

This class defines the set of scalar functions allowed within DeepSee queries.


Member Function Documentation

◆ IsScalarFunction()

_.Library.String IsScalarFunction ( _.Library.String  pFunc)
staticprivate

Test if pFunc is a scalar function.

Return -1 if function is not a scalar function, otherwise return the number of arguments and (total number of) optional arguments (args:optargs) expected by the function.