cascading.operation.filter
Class Logic

java.lang.Object
  extended by cascading.operation.BaseOperation
      extended by cascading.operation.filter.Logic
All Implemented Interfaces:
Filter, Operation, Serializable
Direct Known Subclasses:
And, Or, Xor

public abstract class Logic
extends BaseOperation
implements Filter

Class Logic is the base class for logical Filter operations.

See Also:
And, Or, Xor, Serialized Form

Field Summary
protected  Fields[] argumentSelectors
          Field fields
protected  Filter[] filters
          Field filters
 
Fields inherited from class cascading.operation.BaseOperation
fieldDeclaration, numArgs, trace
 
Fields inherited from interface cascading.operation.Operation
ANY
 
Constructor Summary
protected Logic(Fields[] argumentSelectors, Filter[] filters)
           
protected Logic(Fields lhsArgumentSelector, Filter lhsFilter, Fields rhsArgumentSelector, Filter rhsFilter)
           
protected Logic(Filter... filters)
           
 
Method Summary
 void cleanup(FlowProcess flowProcess, OperationCall operationCall)
          Method cleanup does nothing, and may safely be overridden.
protected  TupleEntry[] getArgumentEntries()
           
protected  int getFieldsSize()
           
 void prepare(FlowProcess flowProcess, OperationCall operationCall)
          Method prepare does nothing, and may safely be overridden.
protected  void verify()
           
 
Methods inherited from class cascading.operation.BaseOperation
getFieldDeclaration, getNumArgs, getTrace, printOperationInternal, toString, toStringInternal
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface cascading.operation.Filter
isRemove
 
Methods inherited from interface cascading.operation.Operation
getFieldDeclaration, getNumArgs
 

Field Detail

argumentSelectors

protected final Fields[] argumentSelectors
Field fields


filters

protected final Filter[] filters
Field filters

Constructor Detail

Logic

protected Logic(Filter... filters)

Logic

protected Logic(Fields lhsArgumentSelector,
                Filter lhsFilter,
                Fields rhsArgumentSelector,
                Filter rhsFilter)

Logic

protected Logic(Fields[] argumentSelectors,
                Filter[] filters)
Method Detail

verify

protected void verify()

prepare

public void prepare(FlowProcess flowProcess,
                    OperationCall operationCall)
Description copied from class: BaseOperation
Method prepare does nothing, and may safely be overridden.

Specified by:
prepare in interface Operation
Overrides:
prepare in class BaseOperation

cleanup

public void cleanup(FlowProcess flowProcess,
                    OperationCall operationCall)
Description copied from class: BaseOperation
Method cleanup does nothing, and may safely be overridden.

Specified by:
cleanup in interface Operation
Overrides:
cleanup in class BaseOperation

getFieldsSize

protected int getFieldsSize()

getArgumentEntries

protected final TupleEntry[] getArgumentEntries()


Copyright © 2007-2008 Concurrent, Inc. All Rights Reserved.