Modifier and Type | Fields and Description |
---|---|
static int |
DEFAULT_ARGUMENT_COUNT
Indicates that the number of function arguments matches the number of method arguments.
|
static String |
DEFAULT_CATEGORY |
static String |
DEFAULT_NAME |
static int |
VARIABLE_ARGUMENT_COUNT
Indicates that the number of function arguments is variable.
|
Modifier and Type | Optional Element and Description |
---|---|
int |
argumentCount
The number of arguments this function takes.
|
String[] |
argumentNames
The names of the arguments for this function.
Names are usually specified for each argument individually with the FunctionArgument annotation. |
String |
category
The category of this function.
|
String |
description
The description of this function.
|
Class<? extends FunctionInvoker> |
invoker
The invoker to use for this function.
|
String |
name
The name of this function.
|
public static final int DEFAULT_ARGUMENT_COUNT
public static final int VARIABLE_ARGUMENT_COUNT
public static final String DEFAULT_NAME
public static final String DEFAULT_CATEGORY
public abstract String name
public abstract Class<? extends FunctionInvoker> invoker
DefaultFunctionInvoker
.public abstract int argumentCount
DEFAULT_ARGUMENT_COUNT
, or VARIABLE_ARGUMENT_COUNT
.public abstract String description
public abstract String category
public abstract String[] argumentNames
FunctionArgument
annotation.
Use this property if the number of function arguments does not match the number of method arguments.Copyright © 2021 Actian Corporation. All rights reserved.