|
Query |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
com.sas.iquery.metadata.serverprop.FunctionSignature
@ThreadSafe public class FunctionSignature
Models a single signature for a function or operator definition. Functions or operator definitions that have multiple valid signatures are modeled as a single Function or operator definition having multiple of these FunctionSignature objects.
Function
,
Operator
Method Summary | |
---|---|
int |
getArgumentCount()
Returns the number of parameters defined for this function signature. |
java.lang.String |
getDefaultSyntaxTemplate()
Returns the syntax template for this FunctionSignature. |
java.util.List<Parameter> |
getParameters()
Returns a list of ParameterType objects describing the parameters for this function signature. |
ParameterType |
getReturnType()
Returns the ParameterType object describing the type returned for this function signature. |
java.lang.String |
getSyntaxTemplateFor(java.util.List<ExpressionInterface> parms)
Returns the syntax template for the FunctionSignature with the specified set of argument types given as Integer objects containing values from the ExpressionTypes class. |
boolean |
isCompatibleWith(java.util.List<ExpressionInterface> args)
Returns an indication of whether the list of argument expression types (expressed as a list Integer objects, each containing a constant from the ExpressionTypes class) is valid with this signature. |
Method Detail |
---|
public ParameterType getReturnType()
public java.util.List<Parameter> getParameters()
public int getArgumentCount()
public java.lang.String getDefaultSyntaxTemplate()
public java.lang.String getSyntaxTemplateFor(java.util.List<ExpressionInterface> parms)
parms
- a list of argument types, expressed as Integer objects containing expression types
from the ExpressionTypes class.
ExpressionTypes
public boolean isCompatibleWith(java.util.List<ExpressionInterface> args)
args
- a list of argument types, expressed as Integer objects containing expression types
from the ExpressionTypes class.
ExpressionTypes
|
Query |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |