Class FunctionMetadata
- java.lang.Object
-
- org.apache.poi.ss.formula.function.FunctionMetadata
-
public final class FunctionMetadata extends Object
Holds information about Excel built-in functions.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetIndex()intgetMaxParams()intgetMinParams()StringgetName()byte[]getParameterClassCodes()bytegetReturnClassCode()booleanhasFixedArgsLength()booleanhasUnlimitedVarags()Some varags functions (like VLOOKUP) have a specific limit to the number of arguments that can be passed.StringtoString()
-
-
-
Method Detail
-
getIndex
public int getIndex()
-
getName
public String getName()
-
getMinParams
public int getMinParams()
-
getMaxParams
public int getMaxParams()
-
hasFixedArgsLength
public boolean hasFixedArgsLength()
-
getReturnClassCode
public byte getReturnClassCode()
-
getParameterClassCodes
public byte[] getParameterClassCodes()
-
hasUnlimitedVarags
public boolean hasUnlimitedVarags()
Some varags functions (like VLOOKUP) have a specific limit to the number of arguments that can be passed. Other functions (like SUM) don't have such a limit. For those functions, the spreadsheet version determines the maximum number of arguments that can be passed.- Returns:
trueif this function can the maximum number of arguments allowable by theSpreadsheetVersion
-
-