Package com.apama.dashboard.function
Interface IFunctionDescriptor
- 
 public interface IFunctionDescriptorIFunctionDescriptor is an interface that represents a description of a DashboardSutdio function. Function libraries return a List of IFunctionDescriptor to identify the functions they implement. Use the factory class FunctionDescriptorFactory to create instances of IFunctionDescriptor.
- 
- 
Field SummaryFields Modifier and Type Field Description static intRETURN_TYPE_DOUBLEFunction returns an instance of Doublestatic intRETURN_TYPE_INTEGERFunction returns an instance of Integerstatic intRETURN_TYPE_STRINGFunction returns an instance of Stringstatic intRETURN_TYPE_TABLEFunction returns an instance of TabularData
 - 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.String[]getArgNames()Get the argument names to the function.java.lang.String[]getArgVarNames()Get the array of variable names to hold argument values.java.lang.StringgetDescription()Get the description of function.java.lang.StringgetName()Get the name of the function.java.lang.String[]getReturnColumnNames()Get the columns names if the function returns a table.intgetReturnType()Get the return type of the function.
 
- 
- 
- 
Field Detail- 
RETURN_TYPE_TABLEstatic final int RETURN_TYPE_TABLE Function returns an instance of TabularData- See Also:
- Constant Field Values
 
 - 
RETURN_TYPE_INTEGERstatic final int RETURN_TYPE_INTEGER Function returns an instance of Integer- See Also:
- Constant Field Values
 
 - 
RETURN_TYPE_DOUBLEstatic final int RETURN_TYPE_DOUBLE Function returns an instance of Double- See Also:
- Constant Field Values
 
 - 
RETURN_TYPE_STRINGstatic final int RETURN_TYPE_STRING Function returns an instance of String- See Also:
- Constant Field Values
 
 
- 
 - 
Method Detail- 
getArgNamesjava.lang.String[] getArgNames() Get the argument names to the function.- Returns:
- Array of argument names.
 
 - 
getArgVarNamesjava.lang.String[] getArgVarNames() Get the array of variable names to hold argument values.- Returns:
- Array of variable names.
 
 - 
getDescriptionjava.lang.String getDescription() Get the description of function.- Returns:
- Function description.
 
 - 
getNamejava.lang.String getName() Get the name of the function.- Returns:
- Function name.
 
 - 
getReturnColumnNamesjava.lang.String[] getReturnColumnNames() Get the columns names if the function returns a table.- Returns:
- Array of column names.
 
 - 
getReturnTypeint getReturnType() Get the return type of the function. Possible values:
- IFunctionDescriptor.RETURN_TYPE_TABLE
- IFunctionDescriptor.RETURN_TYPE_STRING
- IFunctionDescriptor.RETURN_TYPE_INTEGER
- IFunctionDescriptor.RETURN_TYPE_DOUBLE
 
- 
 
-