Class UnpackFunction
- java.lang.Object
-
- com.api.jsonata4java.expressions.functions.FunctionBase
-
- com.api.jsonata4java.expressions.functions.UnpackFunction
-
- All Implemented Interfaces:
Function,Serializable
public class UnpackFunction extends FunctionBase implements Function
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classUnpackFunction.DecodePattern
-
Field Summary
Fields Modifier and Type Field Description static StringERR_ARG1BADTYPEstatic StringERR_ARG1INVALIDHEXstatic StringERR_ARG2BADTYPEstatic StringERR_ARG2INVALIDPATTERNstatic StringERR_ARG3BADTYPEstatic StringERR_BAD_CONTEXT
-
Constructor Summary
Constructors Constructor Description UnpackFunction()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetMaxArgs()intgetMinArgs()StringgetSignature()com.fasterxml.jackson.databind.JsonNodeinvoke(ExpressionsVisitor expressionVisitor, MappingExpressionParser.Function_callContext ctx)-
Methods inherited from class com.api.jsonata4java.expressions.functions.FunctionBase
getArgumentCount, getFunctionName
-
-
-
-
Field Detail
-
ERR_BAD_CONTEXT
public static String ERR_BAD_CONTEXT
-
ERR_ARG1BADTYPE
public static String ERR_ARG1BADTYPE
-
ERR_ARG2BADTYPE
public static String ERR_ARG2BADTYPE
-
ERR_ARG1INVALIDHEX
public static String ERR_ARG1INVALIDHEX
-
ERR_ARG2INVALIDPATTERN
public static String ERR_ARG2INVALIDPATTERN
-
ERR_ARG3BADTYPE
public static String ERR_ARG3BADTYPE
-
-
Method Detail
-
invoke
public com.fasterxml.jackson.databind.JsonNode invoke(ExpressionsVisitor expressionVisitor, MappingExpressionParser.Function_callContext ctx)
-
getMaxArgs
public int getMaxArgs()
- Specified by:
getMaxArgsin interfaceFunction
-
getMinArgs
public int getMinArgs()
- Specified by:
getMinArgsin interfaceFunction
-
getSignature
public String getSignature()
- Specified by:
getSignaturein interfaceFunction
-
-