Package | Description |
---|---|
org.apache.solr.analytics.function.mapping |
Mapping functions to use for analytics expressions.
|
Modifier and Type | Method and Description |
---|---|
static DateValue |
LambdaFunction.createDateLambdaFunction(String name,
LambdaFunction.TwoLongInLongOutLambda lambda,
DateValue[] params)
Forwards the creation of the function to
LambdaFunction.createDateLambdaFunction(String, TwoLongInLongOutLambda, DateValue[], boolean) ,
using for the last argument (allMustExist ). |
static DateValue |
LambdaFunction.createDateLambdaFunction(String name,
LambdaFunction.TwoLongInLongOutLambda lambda,
DateValue[] params,
boolean allMustExist)
Creates a function that associatively (order is guaranteed) reduces multiple
single-value date expressions into a single-value date expression for each document.
|
static DateValue |
LambdaFunction.createDateLambdaFunction(String name,
LambdaFunction.TwoLongInLongOutLambda lambda,
DateValueStream param)
Creates a function that takes in a multi-valued date expression and returns a single-valued date expression.
|
static DateValueStream |
LambdaFunction.createDateLambdaFunction(String name,
LambdaFunction.TwoLongInLongOutLambda lambda,
DateValueStream param1,
DateValueStream param2)
Creates a function that maps two dates to a single date.
|
static LongValue |
LambdaFunction.createLongLambdaFunction(String name,
LambdaFunction.TwoLongInLongOutLambda lambda,
LongValue[] params)
Forwards the creation of the function to
LambdaFunction.createLongLambdaFunction(String, TwoLongInLongOutLambda, LongValue[], boolean) ,
using for the last argument (allMustExist ). |
static LongValue |
LambdaFunction.createLongLambdaFunction(String name,
LambdaFunction.TwoLongInLongOutLambda lambda,
LongValue[] params,
boolean allMustExist)
Creates a function that associatively (order is guaranteed) reduces multiple
single-value long expressions into a single-value long expression for each document.
|
static LongValue |
LambdaFunction.createLongLambdaFunction(String name,
LambdaFunction.TwoLongInLongOutLambda lambda,
LongValueStream param)
Creates a function that takes in a multi-valued long expression and returns a single-valued long expression.
|
static LongValueStream |
LambdaFunction.createLongLambdaFunction(String name,
LambdaFunction.TwoLongInLongOutLambda lambda,
LongValueStream param1,
LongValueStream param2)
Creates a function that maps two longs to a single long.
|
Copyright © 2000-2018 Apache Software Foundation. All Rights Reserved.