Package net.thisptr.jackson.jq.internal
Class JsonArgumentFunction
java.lang.Object
net.thisptr.jackson.jq.internal.JsonArgumentFunction
- All Implemented Interfaces:
Function
- Direct Known Subclasses:
Atan2Function
,PowFunction
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
apply
(Scope scope, List<Expression> args, com.fasterxml.jackson.databind.JsonNode in, Path ipath, PathOutput output, Version version) private void
combinations
(PathOutput output, Stack<com.fasterxml.jackson.databind.JsonNode> args, int index, List<List<com.fasterxml.jackson.databind.JsonNode>> argmat, com.fasterxml.jackson.databind.JsonNode in) protected abstract com.fasterxml.jackson.databind.JsonNode
-
Constructor Details
-
JsonArgumentFunction
public JsonArgumentFunction()
-
-
Method Details
-
fn
protected abstract com.fasterxml.jackson.databind.JsonNode fn(List<com.fasterxml.jackson.databind.JsonNode> args, com.fasterxml.jackson.databind.JsonNode in) throws JsonQueryException - Throws:
JsonQueryException
-
combinations
private void combinations(PathOutput output, Stack<com.fasterxml.jackson.databind.JsonNode> args, int index, List<List<com.fasterxml.jackson.databind.JsonNode>> argmat, com.fasterxml.jackson.databind.JsonNode in) throws JsonQueryException - Throws:
JsonQueryException
-
apply
public void apply(Scope scope, List<Expression> args, com.fasterxml.jackson.databind.JsonNode in, Path ipath, PathOutput output, Version version) throws JsonQueryException - Specified by:
apply
in interfaceFunction
- Throws:
JsonQueryException
-