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 Expression
key
private Expression
value
-
Constructor Summary
Constructors Constructor Description JsonQueryKeyFieldConstruction(Expression key, Expression value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
evaluate(Scope scope, com.fasterxml.jackson.databind.JsonNode in, FieldConstruction.FieldConsumer consumer)
java.lang.String
toString()
-
-
-
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:
evaluate
in interfaceFieldConstruction
- Throws:
JsonQueryException
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-