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 JsonFilterprivate ExpressionNodeprivate ExpressionNodeprivate LetExpression[]private ExpressionNodeprivate ExpressionNodeFields 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:
preparein interfaceExpressionNode- Overrides:
preparein classAbstractNode
-
getChildren
- Specified by:
getChildrenin interfaceExpressionNode- Overrides:
getChildrenin classAbstractNode
-
optimize
- Specified by:
optimizein interfaceExpressionNode- Overrides:
optimizein classAbstractNode
-
dump
public void dump(int level) - Specified by:
dumpin interfaceExpressionNode- Overrides:
dumpin classAbstractNode
-