Class Function.ArgDrivenListFunction<S>
- java.lang.Object
-
- com.bazaarvoice.jolt.modifier.function.Function.ArgDrivenFunction<S,java.lang.Object>
-
- com.bazaarvoice.jolt.modifier.function.Function.ArgDrivenListFunction<S>
-
- Type Parameters:
S
- type of special argument
- All Implemented Interfaces:
Function
- Direct Known Subclasses:
Lists.elementAt
,Math.divideAndRound
,Strings.join
,Strings.leftPad
,Strings.rightPad
- Enclosing interface:
- Function
public abstract static class Function.ArgDrivenListFunction<S> extends Function.ArgDrivenFunction<S,java.lang.Object>
Extends ArgDrivenConverter to provide rudimentary abstraction to quickly implement a function that works on an input list|array i.e. join('-', ...)
-
-
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 ArgDrivenListFunction()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected abstract Optional<java.lang.Object>
applyList(S specialArg, java.util.List<java.lang.Object> args)
protected Optional<java.lang.Object>
applySingle(S specialArg, java.lang.Object arg)
-
Methods inherited from class com.bazaarvoice.jolt.modifier.function.Function.ArgDrivenFunction
apply
-
-
-
-
Method Detail
-
applyList
protected abstract Optional<java.lang.Object> applyList(S specialArg, java.util.List<java.lang.Object> args)
- Specified by:
applyList
in classFunction.ArgDrivenFunction<S,java.lang.Object>
-
applySingle
protected final Optional<java.lang.Object> applySingle(S specialArg, java.lang.Object arg)
- Specified by:
applySingle
in classFunction.ArgDrivenFunction<S,java.lang.Object>
-
-