Package | Description |
---|---|
org.apache.solr.analytics.function.field |
Fields to use for analytics expressions.
|
org.apache.solr.analytics.function.mapping |
Mapping functions to use for analytics expressions.
|
org.apache.solr.analytics.value |
Value types for analytics expressions.
|
org.apache.solr.analytics.value.constant |
Constant values to be used in analytics expressions.
|
Modifier and Type | Class and Description |
---|---|
class |
BooleanField
An analytics wrapper for a single-valued
BoolField with DocValues enabled. |
class |
BooleanMultiField
An analytics wrapper for a multi-valued
BoolField with DocValues enabled. |
Modifier and Type | Method and Description |
---|---|
static BooleanValueStream |
LambdaFunction.createBooleanLambdaFunction(String name,
LambdaFunction.BoolInBoolOutLambda lambda,
BooleanValueStream param)
Creates a function that takes in either a single or multi valued boolean expression and returns the same type of expression with
the given lambda function applied to every value.
|
static BooleanValueStream |
LambdaFunction.createBooleanLambdaFunction(String name,
LambdaFunction.TwoBoolInBoolOutLambda lambda,
BooleanValueStream param1,
BooleanValueStream param2)
Creates a function that maps two booleans to a single boolean.
|
static BooleanValueStream |
ComparisonFunction.createComparisonFunction(String name,
ComparisonFunction.CompResultFunction comp,
AnalyticsValueStream... params)
Create a comparison mapping function, comparing two analytics value (streams) of the same type.
|
Modifier and Type | Method and Description |
---|---|
static BooleanValueStream |
LambdaFunction.createBooleanLambdaFunction(String name,
LambdaFunction.BoolInBoolOutLambda lambda,
BooleanValueStream param)
Creates a function that takes in either a single or multi valued boolean expression and returns the same type of expression with
the given lambda function applied to every value.
|
static BooleanValue |
LambdaFunction.createBooleanLambdaFunction(String name,
LambdaFunction.TwoBoolInBoolOutLambda lambda,
BooleanValueStream param)
Creates a function that takes in a multi-valued boolean expression and returns a single-valued boolean expression.
|
static BooleanValueStream |
LambdaFunction.createBooleanLambdaFunction(String name,
LambdaFunction.TwoBoolInBoolOutLambda lambda,
BooleanValueStream param1,
BooleanValueStream param2)
Creates a function that maps two booleans to a single boolean.
|
Modifier and Type | Interface and Description |
---|---|
interface |
BooleanValue
A single-valued analytics value that can be represented as a boolean.
|
static interface |
BooleanValue.CastingBooleanValue
An interface that represents all of the types a
BooleanValue should be able to cast to. |
static interface |
BooleanValueStream.CastingBooleanValueStream
An interface that represents all of the types a
BooleanValueStream should be able to cast to. |
Modifier and Type | Class and Description |
---|---|
static class |
BooleanValue.AbstractBooleanValue
An abstract base for
BooleanValue.CastingBooleanValue that automatically casts to all types if BooleanValue.getBoolean() and AnalyticsValue.exists() are implemented. |
static class |
BooleanValueStream.AbstractBooleanValueStream
An abstract base for
BooleanValueStream.CastingBooleanValueStream that automatically casts to all types if streamBooleans(org.apache.solr.analytics.util.function.BooleanConsumer) is implemented. |
Modifier and Type | Class and Description |
---|---|
class |
ConstantBooleanValue
A constant
BooleanValue . |
Copyright © 2000-2018 Apache Software Foundation. All Rights Reserved.