Package org.apache.camel.language.jq
Class JqFunctions.ExchangeAwareFunction
java.lang.Object
org.apache.camel.language.jq.JqFunctions.ExchangeAwareFunction
- All Implemented Interfaces:
net.thisptr.jackson.jq.Function
- Direct Known Subclasses:
JqFunctions.Header,JqFunctions.Property,JqFunctions.Variable
- Enclosing class:
JqFunctions
public abstract static class JqFunctions.ExchangeAwareFunction
extends Object
implements net.thisptr.jackson.jq.Function
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidapply(net.thisptr.jackson.jq.Scope scope, List<net.thisptr.jackson.jq.Expression> args, com.fasterxml.jackson.databind.JsonNode in, net.thisptr.jackson.jq.path.Path path, net.thisptr.jackson.jq.PathOutput output, net.thisptr.jackson.jq.Version version) protected abstract voiddoApply(net.thisptr.jackson.jq.Scope scope, List<net.thisptr.jackson.jq.Expression> args, com.fasterxml.jackson.databind.JsonNode in, net.thisptr.jackson.jq.path.Path path, net.thisptr.jackson.jq.PathOutput output, net.thisptr.jackson.jq.Version version, org.apache.camel.Exchange exchange)
-
Constructor Details
-
ExchangeAwareFunction
public ExchangeAwareFunction()
-
-
Method Details
-
apply
public void apply(net.thisptr.jackson.jq.Scope scope, List<net.thisptr.jackson.jq.Expression> args, com.fasterxml.jackson.databind.JsonNode in, net.thisptr.jackson.jq.path.Path path, net.thisptr.jackson.jq.PathOutput output, net.thisptr.jackson.jq.Version version) throws net.thisptr.jackson.jq.exception.JsonQueryException - Specified by:
applyin interfacenet.thisptr.jackson.jq.Function- Throws:
net.thisptr.jackson.jq.exception.JsonQueryException
-
doApply
protected abstract void doApply(net.thisptr.jackson.jq.Scope scope, List<net.thisptr.jackson.jq.Expression> args, com.fasterxml.jackson.databind.JsonNode in, net.thisptr.jackson.jq.path.Path path, net.thisptr.jackson.jq.PathOutput output, net.thisptr.jackson.jq.Version version, org.apache.camel.Exchange exchange) throws net.thisptr.jackson.jq.exception.JsonQueryException - Throws:
net.thisptr.jackson.jq.exception.JsonQueryException
-