Class Base64GZipFunction
java.lang.Object
io.burt.jmespath.function.BaseFunction
software.amazon.lambda.powertools.utilities.jmespath.Base64GZipFunction
- All Implemented Interfaces:
io.burt.jmespath.function.Function
public class Base64GZipFunction
extends io.burt.jmespath.function.BaseFunction
Function used by JMESPath to decode a Base64 encoded GZipped String into a decoded String
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected <T> TcallFunction(io.burt.jmespath.Adapter<T> runtime, List<io.burt.jmespath.function.FunctionArgument<T>> arguments) static Stringdecompress(byte[] compressed) static booleanisCompressed(byte[] compressed) Methods inherited from class io.burt.jmespath.function.BaseFunction
argumentConstraints, call, name
-
Constructor Details
-
Base64GZipFunction
public Base64GZipFunction()
-
-
Method Details
-
decompress
-
isCompressed
public static boolean isCompressed(byte[] compressed) -
callFunction
protected <T> T callFunction(io.burt.jmespath.Adapter<T> runtime, List<io.burt.jmespath.function.FunctionArgument<T>> arguments) - Specified by:
callFunctionin classio.burt.jmespath.function.BaseFunction
-