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
public abstract class JsonArgumentFunction extends java.lang.Object implements Function
-
-
Constructor Summary
Constructors Constructor Description JsonArgumentFunction()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description void
apply(Scope scope, java.util.List<Expression> args, com.fasterxml.jackson.databind.JsonNode in, Path ipath, PathOutput output, Version version)
private void
combinations(PathOutput output, java.util.Stack<com.fasterxml.jackson.databind.JsonNode> args, int index, java.util.List<java.util.List<com.fasterxml.jackson.databind.JsonNode>> argmat, com.fasterxml.jackson.databind.JsonNode in)
protected abstract com.fasterxml.jackson.databind.JsonNode
fn(java.util.List<com.fasterxml.jackson.databind.JsonNode> args, com.fasterxml.jackson.databind.JsonNode in)
-
-
-
Method Detail
-
fn
protected abstract com.fasterxml.jackson.databind.JsonNode fn(java.util.List<com.fasterxml.jackson.databind.JsonNode> args, com.fasterxml.jackson.databind.JsonNode in) throws JsonQueryException
- Throws:
JsonQueryException
-
combinations
private void combinations(PathOutput output, java.util.Stack<com.fasterxml.jackson.databind.JsonNode> args, int index, java.util.List<java.util.List<com.fasterxml.jackson.databind.JsonNode>> argmat, com.fasterxml.jackson.databind.JsonNode in) throws JsonQueryException
- Throws:
JsonQueryException
-
apply
public void apply(Scope scope, java.util.List<Expression> args, com.fasterxml.jackson.databind.JsonNode in, Path ipath, PathOutput output, Version version) throws JsonQueryException
- Specified by:
apply
in interfaceFunction
- Throws:
JsonQueryException
-
-