cascading.operation.filter
Class Or
java.lang.Object
cascading.operation.BaseOperation
cascading.operation.filter.Logic
cascading.operation.filter.Or
- All Implemented Interfaces:
- Filter, Operation, Serializable
public class Or
- extends Logic
Class Or is a Filter class that will logically 'or' the results of the constructor provided Filter
instances.
Logically, if Filter.isRemove(cascading.flow.FlowProcess,cascading.operation.FilterCall) returns true for any of the given instances,
this filter will return true.
- See Also:
And,
Xor,
Not,
Serialized Form
| Fields inherited from interface cascading.operation.Operation |
ANY |
|
Constructor Summary |
Or(Fields[] argumentSelectors,
Filter[] filters)
Constructor Or creates a new Or instance. |
Or(Fields lhsArgumentSelector,
Filter lhsFilter,
Fields rhsArgumentSelector,
Filter rhsFilter)
Constructor Or creates a new Or instance. |
Or(Filter... filters)
Constructor Or creates a new Or instance where all Filter instances receive all arguments. |
|
Method Summary |
boolean |
isRemove(FlowProcess flowProcess,
FilterCall filterCall)
Method isRemove returns true if input should be removed from the tuple stream. |
Or
public Or(Filter... filters)
- Constructor Or creates a new Or instance where all Filter instances receive all arguments.
- Parameters:
filters - of type Filter...
Or
public Or(Fields lhsArgumentSelector,
Filter lhsFilter,
Fields rhsArgumentSelector,
Filter rhsFilter)
- Constructor Or creates a new Or instance.
- Parameters:
lhsArgumentSelector - of type FieldslhsFilter - of type FilterrhsArgumentSelector - of type FieldsrhsFilter - of type Filter
Or
public Or(Fields[] argumentSelectors,
Filter[] filters)
- Constructor Or creates a new Or instance.
- Parameters:
argumentSelectors - of type Fields[]filters - of type Filter[]
isRemove
public boolean isRemove(FlowProcess flowProcess,
FilterCall filterCall)
- Description copied from interface:
Filter
- Method isRemove returns true if input should be removed from the tuple stream.
- Parameters:
flowProcess - of type FlowProcessfilterCall - of type FilterCall
- Returns:
- boolean
- See Also:
Filter.isRemove(cascading.flow.FlowProcess,cascading.operation.FilterCall)
Copyright © 2007-2009 Concurrent, Inc. All Rights Reserved.