Package com.schibsted.spt.data.jslt.impl
Class BuiltinFunctions.Flatten
- java.lang.Object
-
- com.schibsted.spt.data.jslt.impl.AbstractCallable
-
- com.schibsted.spt.data.jslt.impl.AbstractFunction
-
- com.schibsted.spt.data.jslt.impl.BuiltinFunctions.Flatten
-
- Enclosing class:
- BuiltinFunctions
public static class BuiltinFunctions.Flatten extends AbstractFunction
-
-
Constructor Summary
Constructors Constructor Description Flatten()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.fasterxml.jackson.databind.JsonNode
call(com.fasterxml.jackson.databind.JsonNode input, com.fasterxml.jackson.databind.JsonNode[] arguments)
Perform the function on the given JSON input with the given arguments.private void
flatten(com.fasterxml.jackson.databind.node.ArrayNode array, com.fasterxml.jackson.databind.JsonNode current)
-
Methods inherited from class com.schibsted.spt.data.jslt.impl.AbstractCallable
getMaxArguments, getMinArguments, getName
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.schibsted.spt.data.jslt.Function
getMaxArguments, getMinArguments, getName
-
-
-
-
Method Detail
-
call
public com.fasterxml.jackson.databind.JsonNode call(com.fasterxml.jackson.databind.JsonNode input, com.fasterxml.jackson.databind.JsonNode[] arguments)
Description copied from interface:Function
Perform the function on the given JSON input with the given arguments.
-
flatten
private void flatten(com.fasterxml.jackson.databind.node.ArrayNode array, com.fasterxml.jackson.databind.JsonNode current)
-
-