Class FillMissingFunction
- java.lang.Object
-
- org.apache.solr.analytics.function.mapping.FillMissingFunction
-
public class FillMissingFunction extends Object
A mapping function to fill all non-existing values with a given value.Uses:
- If two Values are passed in, a Value mimicking the first parameter with the second parameter used as filler will be returned.
- If two ValueStreams are passed in, a ValueStream mimicking the first parameter with the second parameter used as filler will be returned.
The resulting Value or ValueStream will be typed with the closest super-type of the two parameters. (e.g. "fill_missing"(double,int) will return a double)
-
-
Field Summary
Fields Modifier and Type Field Description static ExpressionFactory.CreatorFunction
creatorFunction
static String
name
-
Constructor Summary
Constructors Constructor Description FillMissingFunction()
-
-
-
Field Detail
-
name
public static final String name
- See Also:
- Constant Field Values
-
creatorFunction
public static final ExpressionFactory.CreatorFunction creatorFunction
-
-