Uses of Interface
com.bazaarvoice.jolt.modifier.function.Function
-
Packages that use Function Package Description com.bazaarvoice.jolt com.bazaarvoice.jolt.modifier com.bazaarvoice.jolt.modifier.function com.bazaarvoice.jolt.modifier.spec -
-
Uses of Function in com.bazaarvoice.jolt
Fields in com.bazaarvoice.jolt with type parameters of type Function Modifier and Type Field Description private static java.util.Map<java.lang.String,Function>
Modifier. STOCK_FUNCTIONS
Constructor parameters in com.bazaarvoice.jolt with type arguments of type Function Constructor Description Defaultr(java.lang.Object spec, java.util.Map<java.lang.String,Function> functionsMap)
Definr(java.lang.Object spec, java.util.Map<java.lang.String,Function> functionsMap)
Modifier(java.lang.Object spec, OpMode opMode, java.util.Map<java.lang.String,Function> functionsMap)
Overwritr(java.lang.Object spec, java.util.Map<java.lang.String,Function> functionsMap)
-
Uses of Function in com.bazaarvoice.jolt.modifier
Fields in com.bazaarvoice.jolt.modifier with type parameters of type Function Modifier and Type Field Description private java.util.Map<java.lang.String,Function>
TemplatrSpecBuilder. functionsMap
Constructor parameters in com.bazaarvoice.jolt.modifier with type arguments of type Function Constructor Description TemplatrSpecBuilder(OpMode opMode, java.util.Map<java.lang.String,Function> functionsMap)
-
Uses of Function in com.bazaarvoice.jolt.modifier.function
Classes in com.bazaarvoice.jolt.modifier.function that implement Function Modifier and Type Class Description static class
Function.ArgDrivenFunction<SOURCE,RETTYPE>
Deprecated.Abstract class that provides rudimentary abstraction to quickly implement a function that classifies first arg as special input and rest as regular input.static class
Function.ArgDrivenListFunction<S>
Deprecated.Extends ArgDrivenConverter to provide rudimentary abstraction to quickly implement a function that works on an input list|array i.e.static class
Function.ArgDrivenSingleFunction<S,R>
Deprecated.Extends ArgDrivenConverter to provide rudimentary abstraction to quickly implement a function that works on a single input i.e.static class
Function.BaseFunction<T>
Deprecated.Abstract class that processes var-args and calls two abstract methods If its single list arg, or many args, calls applyList() else calls applySingle()static class
Function.ListFunction
Deprecated.Abstract class that provides rudimentary abstraction to quickly implement a function that works on an List of input i.e.static class
Function.SingleFunction<T>
Deprecated.Abstract class that provides rudimentary abstraction to quickly implement a function that works on an single value input i.e.static class
Function.SquashFunction<T>
Deprecated.squashNull is a special kind of null processing,the input is always a list or map as a singletonstatic class
Lists.elementAt
Given an index at arg[0], and a list at arg[1] or args[1...N], return element at index of list or arraystatic class
Lists.firstElement
Given a list, return the first elementstatic class
Lists.lastElement
Given a list, return the last elementstatic class
Lists.sort
Given an arbitrary list of items, returns a new array of them in sorted statestatic class
Lists.toList
Given an arbitrary number of arguments, return them as liststatic class
Math.abs
static class
Math.avg
static class
Math.divide
static class
Math.divideAndRound
static class
Math.doubleSubtract
static class
Math.doubleSum
static class
Math.intSubtract
static class
Math.intSum
static class
Math.longSubtract
static class
Math.longSum
static class
Math.max
static class
Math.min
static class
Objects.recursivelySquashNulls
static class
Objects.size
Size is a special snowflake and needs specific carestatic class
Objects.squashNulls
static class
Objects.toBoolean
static class
Objects.toDouble
static class
Objects.toInteger
static class
Objects.toLong
static class
Objects.toString
static class
Strings.concat
static class
Strings.join
static class
Strings.leftPad
static class
Strings.rightPad
static class
Strings.split
static class
Strings.substring
static class
Strings.toLowerCase
static class
Strings.toUpperCase
static class
Strings.trim
Fields in com.bazaarvoice.jolt.modifier.function declared as Function Modifier and Type Field Description private Function
FunctionEvaluator. function
static Function
Function. isNull
Deprecated.Returns the first argument if it is null spec - "key": ["=inNull", "otherValue" ] input - "key": null output - "key": null input - "key": "value" output - "key": "otherValue"static Function
Function. isPresent
Deprecated.Returns the first argument, null or otherwise spec - "key": [ "=isPresent", "otherValue" ] input - "key": null output - "key": null input - "key": "value" output - "key": "value" input - key is missing output - "key": "otherValue"static Function
Function. noop
Deprecated.Does nothing spec - "key": "=noop" will cause the key to remain unchangedstatic Function
Function. notNull
Deprecated.Returns the first argument if in not null spec - "key": ["=notNull", "otherValue" ] input - "key": null output - "key": "otherValue" input - "key": "value" output - "key": "value"Methods in com.bazaarvoice.jolt.modifier.function with parameters of type Function Modifier and Type Method Description static FunctionEvaluator
FunctionEvaluator. forFunctionEvaluation(Function function, FunctionArg... functionArgs)
Constructors in com.bazaarvoice.jolt.modifier.function with parameters of type Function Constructor Description FunctionEvaluator(Function function, FunctionArg... functionArgs)
-
Uses of Function in com.bazaarvoice.jolt.modifier.spec
Method parameters in com.bazaarvoice.jolt.modifier.spec with type arguments of type Function Modifier and Type Method Description private static FunctionEvaluator
ModifierLeafSpec. buildFunctionEvaluator(java.lang.String rhs, java.util.Map<java.lang.String,Function> functionsMap)
Constructor parameters in com.bazaarvoice.jolt.modifier.spec with type arguments of type Function Constructor Description ModifierLeafSpec(java.lang.String rawJsonKey, java.lang.Object rhsObj, OpMode opMode, java.util.Map<java.lang.String,Function> functionsMap)
-