public class LogicFunction extends Object
Logical mapping functions can be used in the following ways:
BooleanValueStream
is passed in, a BooleanValue
representing the logical operation
on all of the values for each document is returned.
BooleanValueStream
and a BooleanValue
are passed in, a BooleanValue
representing the logical operation on
the BooleanValue
and each of the values of the BooleanValueStream
for a document is returned.
(Or the other way, since the Value and ValueStream can be used in either order)
BooleanValue
s are passed in, a BooleanValue
representing the logical operation on all values is returned.
Modifier and Type | Class and 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 and Description |
---|
LogicFunction() |
Copyright © 2000-2017 Apache Software Foundation. All Rights Reserved.