Class JsonQueryKeyFieldConstruction
- java.lang.Object
-
- net.thisptr.jackson.jq.internal.tree.JsonQueryKeyFieldConstruction
-
- All Implemented Interfaces:
FieldConstruction
public class JsonQueryKeyFieldConstruction extends java.lang.Object implements FieldConstruction
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface net.thisptr.jackson.jq.internal.tree.FieldConstruction
FieldConstruction.FieldConsumer
-
-
Field Summary
Fields Modifier and Type Field Description private Expressionkeyprivate Expressionvalue
-
Constructor Summary
Constructors Constructor Description JsonQueryKeyFieldConstruction(Expression key, Expression value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidevaluate(Scope scope, com.fasterxml.jackson.databind.JsonNode in, FieldConstruction.FieldConsumer consumer)java.lang.StringtoString()
-
-
-
Field Detail
-
key
private final Expression key
-
value
private final Expression value
-
-
Constructor Detail
-
JsonQueryKeyFieldConstruction
public JsonQueryKeyFieldConstruction(Expression key, Expression value)
-
-
Method Detail
-
evaluate
public void evaluate(Scope scope, com.fasterxml.jackson.databind.JsonNode in, FieldConstruction.FieldConsumer consumer) throws JsonQueryException
- Specified by:
evaluatein interfaceFieldConstruction- Throws:
JsonQueryException
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-