public class Not extends BaseOperation implements Filter
Filter
class that will logically 'not' (negation) the results of the constructor provided Filter
instance.
Logically, if Filter.isRemove(cascading.flow.FlowProcess, cascading.operation.FilterCall)
returns true
for the given instance,
this filter will return the opposite, false
.And
,
Xor
,
Not
,
Serialized FormfieldDeclaration, numArgs, trace
Constructor and Description |
---|
Not(Filter filter)
Constructor Not creates a new Not instance.
|
Modifier and Type | Method and Description |
---|---|
void |
cleanup(FlowProcess flowProcess,
OperationCall operationCall)
Method cleanup does nothing, and may safely be overridden.
|
boolean |
equals(java.lang.Object object) |
Filter |
getFilter() |
int |
hashCode() |
boolean |
isRemove(FlowProcess flowProcess,
FilterCall filterCall)
Method isRemove returns true if input should be removed from the tuple stream.
|
void |
prepare(FlowProcess flowProcess,
OperationCall operationCall)
Method prepare does nothing, and may safely be overridden.
|
flush, getFieldDeclaration, getNumArgs, getTrace, isSafe, printOperationInternal, toString, toStringInternal
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
flush, getFieldDeclaration, getNumArgs, isSafe
public void prepare(FlowProcess flowProcess, OperationCall operationCall)
BaseOperation
prepare
in interface Operation
prepare
in class BaseOperation
public boolean isRemove(FlowProcess flowProcess, FilterCall filterCall)
Filter
public void cleanup(FlowProcess flowProcess, OperationCall operationCall)
BaseOperation
cleanup
in interface Operation
cleanup
in class BaseOperation
public boolean equals(java.lang.Object object)
equals
in class BaseOperation
public int hashCode()
hashCode
in class BaseOperation
Copyright © 2007-2015 Xplenty, Inc. All Rights Reserved.