Class FunctionCall
- java.lang.Object
-
- net.thisptr.jackson.jq.internal.tree.FunctionCall
-
- All Implemented Interfaces:
Expression
public class FunctionCall extends java.lang.Object implements Expression
-
-
Field Summary
Fields Modifier and Type Field Description private java.util.List<Expression>argsprivate java.lang.StringmoduleNameprivate java.lang.Stringnameprivate Versionversion
-
Constructor Summary
Constructors Constructor Description FunctionCall(java.lang.String moduleName, java.lang.String name, java.util.List<Expression> args, Version version)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidapply(Scope scope, com.fasterxml.jackson.databind.JsonNode in, Path path, PathOutput output, boolean requirePath)private FunctionlookupFunction(Scope scope)java.lang.StringtoString()-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface net.thisptr.jackson.jq.Expression
apply
-
-
-
-
Field Detail
-
name
private final java.lang.String name
-
args
private final java.util.List<Expression> args
-
version
private final Version version
-
moduleName
private final java.lang.String moduleName
-
-
Constructor Detail
-
FunctionCall
public FunctionCall(java.lang.String moduleName, java.lang.String name, java.util.List<Expression> args, Version version)
-
-
Method Detail
-
lookupFunction
private Function lookupFunction(Scope scope) throws JsonQueryException
- Throws:
JsonQueryException
-
apply
public void apply(Scope scope, com.fasterxml.jackson.databind.JsonNode in, Path path, PathOutput output, boolean requirePath) throws JsonQueryException
- Specified by:
applyin interfaceExpression- Throws:
JsonQueryException
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-