Package com.schibsted.spt.data.jslt.impl
Class ObjectComprehension
java.lang.Object
com.schibsted.spt.data.jslt.impl.AbstractNode
com.schibsted.spt.data.jslt.impl.ObjectComprehension
- All Implemented Interfaces:
ExpressionNode
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate JsonFilter
private ExpressionNode
private ExpressionNode
private LetExpression[]
private ExpressionNode
private ExpressionNode
Fields inherited from class com.schibsted.spt.data.jslt.impl.AbstractNode
location
-
Constructor Summary
ConstructorsConstructorDescriptionObjectComprehension
(ExpressionNode loop, LetExpression[] lets, ExpressionNode key, ExpressionNode value, ExpressionNode ifExpr, Location location, JsonFilter filter) -
Method Summary
Methods inherited from class com.schibsted.spt.data.jslt.impl.AbstractNode
computeMatchContexts, getLocation
-
Field Details
-
loop
-
lets
-
key
-
value
-
ifExpr
-
filter
-
-
Constructor Details
-
ObjectComprehension
public ObjectComprehension(ExpressionNode loop, LetExpression[] lets, ExpressionNode key, ExpressionNode value, ExpressionNode ifExpr, Location location, JsonFilter filter)
-
-
Method Details
-
apply
public com.fasterxml.jackson.databind.JsonNode apply(Scope scope, com.fasterxml.jackson.databind.JsonNode input) -
prepare
- Specified by:
prepare
in interfaceExpressionNode
- Overrides:
prepare
in classAbstractNode
-
getChildren
- Specified by:
getChildren
in interfaceExpressionNode
- Overrides:
getChildren
in classAbstractNode
-
optimize
- Specified by:
optimize
in interfaceExpressionNode
- Overrides:
optimize
in classAbstractNode
-
dump
public void dump(int level) - Specified by:
dump
in interfaceExpressionNode
- Overrides:
dump
in classAbstractNode
-