public class Or extends Logic
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
.And
,
Xor
,
Not
,
Serialized FormLogic.Context
argumentSelectors, filters
fieldDeclaration, numArgs, trace
Constructor and Description |
---|
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.
|
Modifier and Type | Method and Description |
---|---|
boolean |
isRemove(FlowProcess flowProcess,
FilterCall filterCall)
Method isRemove returns true if input should be removed from the tuple stream.
|
cleanup, equals, getArgumentSelectors, getFieldsSize, getFilters, hashCode, prepare, verify
flush, getFieldDeclaration, getNumArgs, getTrace, isSafe, printOperationInternal, toString, toStringInternal
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
flush, getFieldDeclaration, getNumArgs, isSafe
@ConstructorProperties(value="filters") public Or(Filter... filters)
filters
- of type Filter...@ConstructorProperties(value={"lhsArgumentsSelector","lhsFilter","rhsArgumentSelector","rhsFilter"}) public Or(Fields lhsArgumentSelector, Filter lhsFilter, Fields rhsArgumentSelector, Filter rhsFilter)
lhsArgumentSelector
- of type FieldslhsFilter
- of type FilterrhsArgumentSelector
- of type FieldsrhsFilter
- of type Filter@ConstructorProperties(value={"argumentSelectors","filters"}) public Or(Fields[] argumentSelectors, Filter[] filters)
argumentSelectors
- of type Fields[]filters
- of type Filter[]public boolean isRemove(FlowProcess flowProcess, FilterCall filterCall)
Filter
flowProcess
- of type FlowProcessfilterCall
- of type FilterCallCopyright © 2007-2015 Concurrent, Inc. All Rights Reserved.