Class _SubImplFunction
- java.lang.Object
-
- net.thisptr.jackson.jq.internal.functions._SubImplFunction
-
- All Implemented Interfaces:
Function
@AutoService(Function.class) public class _SubImplFunction extends java.lang.Object implements Function
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description private static class_SubImplFunction.Frameprivate static class_SubImplFunction.Part
-
Constructor Summary
Constructors Constructor Description _SubImplFunction()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidapply(Scope scope, java.util.List<Expression> args, com.fasterxml.jackson.databind.JsonNode in, Path ipath, PathOutput output, Version version)private static java.lang.Stringconcat(_SubImplFunction.Part parts)private static java.util.List<com.fasterxml.jackson.databind.JsonNode>match(com.fasterxml.jackson.databind.ObjectMapper mapper, OnigUtils.Pattern pattern, java.lang.String inputText)private voidreplaceAndConcat(Scope scope, PathOutput output, java.util.List<com.fasterxml.jackson.databind.JsonNode> match, Expression replaceExpr)
-
-
-
Method Detail
-
apply
public void apply(Scope scope, java.util.List<Expression> args, com.fasterxml.jackson.databind.JsonNode in, Path ipath, PathOutput output, Version version) throws JsonQueryException
- Specified by:
applyin interfaceFunction- Throws:
JsonQueryException
-
replaceAndConcat
private void replaceAndConcat(Scope scope, PathOutput output, java.util.List<com.fasterxml.jackson.databind.JsonNode> match, Expression replaceExpr) throws JsonQueryException
- Throws:
JsonQueryException
-
concat
private static java.lang.String concat(_SubImplFunction.Part parts)
-
match
private static java.util.List<com.fasterxml.jackson.databind.JsonNode> match(com.fasterxml.jackson.databind.ObjectMapper mapper, OnigUtils.Pattern pattern, java.lang.String inputText)
-
-