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_FUNCTIONSConstructor 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. functionsMapConstructor 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 classFunction.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 classFunction.ArgDrivenListFunction<S>Deprecated.Extends ArgDrivenConverter to provide rudimentary abstraction to quickly implement a function that works on an input list|array i.e.static classFunction.ArgDrivenSingleFunction<S,R>Deprecated.Extends ArgDrivenConverter to provide rudimentary abstraction to quickly implement a function that works on a single input i.e.static classFunction.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 classFunction.ListFunctionDeprecated.Abstract class that provides rudimentary abstraction to quickly implement a function that works on an List of input i.e.static classFunction.SingleFunction<T>Deprecated.Abstract class that provides rudimentary abstraction to quickly implement a function that works on an single value input i.e.static classFunction.SquashFunction<T>Deprecated.squashNull is a special kind of null processing,the input is always a list or map as a singletonstatic classLists.elementAtGiven an index at arg[0], and a list at arg[1] or args[1...N], return element at index of list or arraystatic classLists.firstElementGiven a list, return the first elementstatic classLists.lastElementGiven a list, return the last elementstatic classLists.sortGiven an arbitrary list of items, returns a new array of them in sorted statestatic classLists.toListGiven an arbitrary number of arguments, return them as liststatic classMath.absstatic classMath.avgstatic classMath.dividestatic classMath.divideAndRoundstatic classMath.doubleSubtractstatic classMath.doubleSumstatic classMath.intSubtractstatic classMath.intSumstatic classMath.longSubtractstatic classMath.longSumstatic classMath.maxstatic classMath.minstatic classObjects.recursivelySquashNullsstatic classObjects.sizeSize is a special snowflake and needs specific carestatic classObjects.squashNullsstatic classObjects.toBooleanstatic classObjects.toDoublestatic classObjects.toIntegerstatic classObjects.toLongstatic classObjects.toStringstatic classStrings.concatstatic classStrings.joinstatic classStrings.leftPadstatic classStrings.rightPadstatic classStrings.splitstatic classStrings.substringstatic classStrings.toLowerCasestatic classStrings.toUpperCasestatic classStrings.trimFields in com.bazaarvoice.jolt.modifier.function declared as Function Modifier and Type Field Description private FunctionFunctionEvaluator. functionstatic FunctionFunction. isNullDeprecated.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 FunctionFunction. isPresentDeprecated.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 FunctionFunction. noopDeprecated.Does nothing spec - "key": "=noop" will cause the key to remain unchangedstatic FunctionFunction. notNullDeprecated.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 FunctionEvaluatorFunctionEvaluator. 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 FunctionEvaluatorModifierLeafSpec. 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)
-