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
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncom.fasterxml.jackson.databind.JsonNodecall(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 voidflatten(com.fasterxml.jackson.databind.node.ArrayNode array, com.fasterxml.jackson.databind.JsonNode current) Methods inherited from class AbstractCallable
getMaxArguments, getMinArguments, getNameMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface Function
getMaxArguments, getMinArguments, getName
-
Constructor Details
-
Flatten
public Flatten()
-
-
Method Details
-
call
public com.fasterxml.jackson.databind.JsonNode call(com.fasterxml.jackson.databind.JsonNode input, com.fasterxml.jackson.databind.JsonNode[] arguments) Description copied from interface:FunctionPerform 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)
-