public class And extends Logic
Filter
class that will logically 'and' the results of the constructor provided Filter
instances.
Logically, if Filter.isRemove(cascading.flow.FlowProcess, cascading.operation.FilterCall)
returns true
for all given instances,
this filter will return true
.Or
,
Xor
,
Not
,
Serialized FormLogic.Context
argumentSelectors, filters
fieldDeclaration, numArgs, trace
Constructor and Description |
---|
And(Fields[] argumentSelectors,
Filter[] filters)
Constructor And creates a new And instance.
|
And(Fields lhsArgumentSelector,
Filter lhsFilter,
Fields rhsArgumentSelector,
Filter rhsFilter)
Constructor And creates a new And instance.
|
And(Filter... filters)
Constructor And creates a new And 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 And(Filter... filters)
filters
- of type Filter...@ConstructorProperties(value={"lhsArgumentsSelector","lhsFilter","rhsArgumentSelector","rhsFilter"}) public And(Fields lhsArgumentSelector, Filter lhsFilter, Fields rhsArgumentSelector, Filter rhsFilter)
lhsArgumentSelector
- of type FieldslhsFilter
- of type FilterrhsArgumentSelector
- of type FieldsrhsFilter
- of type Filter@ConstructorProperties(value={"argumentFilters","filters"}) public And(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.