Class LogicFunction
- java.lang.Object
-
- org.apache.solr.analytics.function.mapping.LogicFunction
-
public class LogicFunction extends Object
Contains all logical mapping functions.Logical mapping functions can be used in the following ways:
- If a single
BooleanValueStream
is passed in, aBooleanValue
representing the logical operation on all of the values for each document is returned. - If a
BooleanValueStream
and aBooleanValue
are passed in, aBooleanValue
representing the logical operation on theBooleanValue
and each of the values of theBooleanValueStream
for a document is returned. (Or the other way, since the Value and ValueStream can be used in either order) - If multiple
BooleanValue
s are passed in, aBooleanValue
representing the logical operation on all values is returned.
- If a single
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
LogicFunction.AndFunction
A mapping function for the logical operation AND.static class
LogicFunction.OrFunction
A mapping function for the logical operation OR.
-
Constructor Summary
Constructors Constructor Description LogicFunction()
-