Class AbstractMaxByFunction
java.lang.Object
net.thisptr.jackson.jq.internal.functions.AbstractMaxByFunction
- All Implemented Interfaces:
Function
- Direct Known Subclasses:
MaxByFunction
,MinByFunction
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
apply
(Scope scope, List<Expression> args, com.fasterxml.jackson.databind.JsonNode in, Path ipath, PathOutput output, Version version) protected abstract boolean
isLarger
(com.fasterxml.jackson.databind.JsonNode criteria, com.fasterxml.jackson.databind.JsonNode value)
-
Field Details
-
comparator
-
fname
-
-
Constructor Details
-
AbstractMaxByFunction
-
-
Method Details
-
apply
public void apply(Scope scope, List<Expression> args, com.fasterxml.jackson.databind.JsonNode in, Path ipath, PathOutput output, Version version) throws JsonQueryException - Specified by:
apply
in interfaceFunction
- Throws:
JsonQueryException
-
isLarger
protected abstract boolean isLarger(com.fasterxml.jackson.databind.JsonNode criteria, com.fasterxml.jackson.databind.JsonNode value)
-