Class Function.SquashFunction<T>
- java.lang.Object
-
- com.bazaarvoice.jolt.modifier.function.Function.SquashFunction<T>
-
- Type Parameters:
T
- type of return value
- All Implemented Interfaces:
Function
- Direct Known Subclasses:
Objects.recursivelySquashNulls
,Objects.squashNulls
- Enclosing interface:
- Function
public abstract static class Function.SquashFunction<T> extends java.lang.Object implements Function
squashNull is a special kind of null processing,the input is always a list or map as a singleton
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com.bazaarvoice.jolt.modifier.function.Function
Function.ArgDrivenFunction<SOURCE,RETTYPE>, Function.ArgDrivenListFunction<S>, Function.ArgDrivenSingleFunction<S,R>, Function.BaseFunction<T>, Function.ListFunction, Function.SingleFunction<T>, Function.SquashFunction<T>
-
-
Constructor Summary
Constructors Constructor Description SquashFunction()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description Optional<java.lang.Object>
apply(java.lang.Object... args)
protected abstract Optional<T>
applySingle(java.lang.Object arg)
-