Home > Class Reference > %SYS namespace > %DeepSee.Query.function

%DeepSee.Query.function

abstract class %DeepSee.Query.function extends %DeepSee.Query.group

This class defines a function within a DeepSee query.
The actual behavior of functions is implemented within the subclasses of this class.

Parameters

parameter FUNCTIONCLASS;
Used to indicate which class of functions this class supports.

Properties

property function as %DeepSee.Datatype.string (XMLPROJECTION = "attribute");
Name of the function.
Property methods: functionDisplayToLogical(), functionGet(), functionIsValid(), functionLogicalToDisplay(), functionLogicalToOdbc(), functionNormalize(), functionSet()
property label as %DeepSee.Datatype.string (XMLPROJECTION = "attribute");
Label to display for the function (used internally).
Property methods: labelDisplayToLogical(), labelGet(), labelIsValid(), labelLogicalToDisplay(), labelLogicalToOdbc(), labelNormalize(), labelSet()
property subqueryKey as %Integer (XMLPROJECTION = "none");
Handle of subquery for this function (if needed).
Property methods: subqueryKeyDisplayToLogical(), subqueryKeyGet(), subqueryKeyIsValid(), subqueryKeyLogicalToDisplay(), subqueryKeyNormalize(), subqueryKeySet(), subqueryKeyXSDToLogical()

Methods

classmethod %BuildFunctionMetaData() as %Status [ Language = objectscript ]
Test if function metadata is in the DeepSeeFunctionGLVN global. If not, put it there.
final classmethod %GetFunctionInfo(pFunction As %String, Output pIsImplemented As %Boolean, Output pArgCount As %Integer, Output pReturns As %String, Output pArgTypes As %List, Output pArgDesc As %List) as %Boolean [ Language = objectscript ]
Return meta-data for the function pFunction. Returns true if the function exists.
On return, pIsImplemented if the function is implemented.
pArgCount returns the number of required arguments the function expects or "" if this function does not take arguments.
pReturns is the return type.
pArgTypes is a list of argument types for the function.
pArgDesc is a list of argument descriptors for the function.
final classmethod %GetFunctionSignature(pFunction As %String) as %String [ Language = objectscript ]
Return a string containing the signature for the given function (used for error messages).
method %GetType() as %String [ Language = objectscript ]
Return type of this node.
classmethod %TypeFlagToString(pTypeFlag) as %String [ Language = objectscript ]
Convert a ds Type to a printable string. Used for error reporting.

Inherited Methods

%AddToSaveSet() %GetParameter() %SerializeObject()
%ClassIsLatestVersion() %GetValue() %SetModified()
%ClassName() %IsA() %ToString()
%ConstructClone() %IsEnabled() %ValidateObject()
%DispatchClassMethod() %IsModified() XMLDTD()
%DispatchGetModified() %New() XMLExport()
%DispatchGetProperty() %NormalizeObject() XMLExportToStream()
%DispatchMethod() %ObjectModified() XMLExportToString()
%DispatchSetModified() %OriginalNamespace() XMLNew()
%DispatchSetMultidimProperty() %PackageName() XMLSchema()
%DispatchSetProperty() %PreProcess() XMLSchemaNamespace()
%Extends() %PrintNode() XMLSchemaType()
%GetMemberProvider() %RemoveFromSaveSet()

Subclasses

%DeepSee.Query.memberFunction %DeepSee.Query.setFunction