com.apama.dashboard.function
Interface IFunctionDescriptor


public interface IFunctionDescriptor

IFunctionDescriptor 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 Summary
static int RETURN_TYPE_DOUBLE
          Function returns an instance of Double
static int RETURN_TYPE_INTEGER
          Function returns an instance of Integer
static int RETURN_TYPE_STRING
          Function returns an instance of String
static int RETURN_TYPE_TABLE
          Function returns an instance of TabularData
 
Method Summary
 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.String getDescription()
          Get the description of function.
 java.lang.String getName()
          Get the name of the function.
 java.lang.String[] getReturnColumnNames()
          Get the columns names if the function returns a table.
 int getReturnType()
          Get the return type of the function.
 

Field Detail

RETURN_TYPE_TABLE

static final int RETURN_TYPE_TABLE
Function returns an instance of TabularData

See Also:
Constant Field Values

RETURN_TYPE_INTEGER

static final int RETURN_TYPE_INTEGER
Function returns an instance of Integer

See Also:
Constant Field Values

RETURN_TYPE_DOUBLE

static final int RETURN_TYPE_DOUBLE
Function returns an instance of Double

See Also:
Constant Field Values

RETURN_TYPE_STRING

static final int RETURN_TYPE_STRING
Function returns an instance of String

See Also:
Constant Field Values
Method Detail

getArgNames

java.lang.String[] getArgNames()
Get the argument names to the function.

Returns:
Array of argument names.

getArgVarNames

java.lang.String[] getArgVarNames()
Get the array of variable names to hold argument values.

Returns:
Array of variable names.

getDescription

java.lang.String getDescription()
Get the description of function.

Returns:
Function description.

getName

java.lang.String getName()
Get the name of the function.

Returns:
Function name.

getReturnColumnNames

java.lang.String[] getReturnColumnNames()
Get the columns names if the function returns a table.

Returns:
Array of column names.

getReturnType

int 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



  • Submit a bug or feature
    Copyright (c) 2013 Software AG, Darmstadt, Germany and/or Software AG USA Inc., Reston, VA, USA, and/or Terracotta Inc., San Francisco, CA, USA, and/or Software AG (Canada) Inc., Cambridge, Ontario, Canada, and/or, Software AG (UK) Ltd., Derby, United Kingdom, and/or Software A.G. (Israel) Ltd., Or-Yehuda, Israel and/or their licensors. Use, reproduction, transfer, publication or disclosure is prohibited except as specifically provided for in your License Agreement with Software AG