| Modifier and Type | Class and Description |
|---|---|
class |
Function.Parameter
Function parameter description
|
| Modifier and Type | Field and Description |
|---|---|
protected Calculator |
calculator |
| Constructor and Description |
|---|
Function(Calculator calculator) |
| Modifier and Type | Method and Description |
|---|---|
abstract String |
getName()
Return function name for using in query
|
List<Function.Parameter> |
getParameters()
Return descriptors for incoming parameters
|
abstract Object |
run(Map<String,Object> paramValues,
Object row,
int rowIndex,
Collection<Object> allRows)
Invoke function to execution
|
String |
toString() |
protected Calculator calculator
public Function(Calculator calculator)
public abstract String getName()
public List<Function.Parameter> getParameters()
public abstract Object run(Map<String,Object> paramValues, Object row, int rowIndex, Collection<Object> allRows)
paramValues - Map with parameters valuerow - Data from current rowrowIndex - Index current row in rowsallRows - Collection with all rowsCopyright © 2018. All rights reserved.