cascading.operation.regex
Class RegexOperation<C>

java.lang.Object
  extended by cascading.operation.BaseOperation<C>
      extended by cascading.operation.regex.RegexOperation<C>
All Implemented Interfaces:
Operation<C>, Serializable
Direct Known Subclasses:
RegexGenerator, RegexMatcher, RegexParser, RegexReplace, RegexSplitGenerator, RegexSplitter

public class RegexOperation<C>
extends BaseOperation<C>

Class RegexOperation is the base class for all regex Operations.

See Also:
Serialized Form

Field Summary
protected  String patternString
          Field patternString
 
Fields inherited from class cascading.operation.BaseOperation
fieldDeclaration, numArgs, trace
 
Fields inherited from interface cascading.operation.Operation
ANY
 
Constructor Summary
RegexOperation()
          Constructor RegexOperation creates a new RegexOperation instance.
RegexOperation(Fields fieldDeclaration)
          Constructor RegexOperation creates a new RegexOperation instance.
RegexOperation(int numArgs)
          Constructor RegexOperation creates a new RegexOperation instance.
RegexOperation(int numArgs, Fields fieldDeclaration)
          Constructor RegexOperation creates a new RegexOperation instance.
RegexOperation(int numArgs, Fields fieldDeclaration, String patternString)
          Constructor RegexOperation creates a new RegexOperation instance.
RegexOperation(int numArgs, String patternString)
          Constructor RegexOperation creates a new RegexOperation instance.
RegexOperation(String patternString)
          Constructor RegexOperation creates a new RegexOperation instance.
 
Method Summary
protected  Pattern getPattern()
          Method getPattern returns the pattern of this RegexOperation object.
 
Methods inherited from class cascading.operation.BaseOperation
cleanup, getFieldDeclaration, getNumArgs, getTrace, prepare, printOperationInternal, toString, toStringInternal
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

patternString

protected String patternString
Field patternString

Constructor Detail

RegexOperation

public RegexOperation()
Constructor RegexOperation creates a new RegexOperation instance.


RegexOperation

public RegexOperation(int numArgs)
Constructor RegexOperation creates a new RegexOperation instance.

Parameters:
numArgs - of type int

RegexOperation

public RegexOperation(Fields fieldDeclaration)
Constructor RegexOperation creates a new RegexOperation instance.

Parameters:
fieldDeclaration - of type Fields

RegexOperation

public RegexOperation(int numArgs,
                      String patternString)
Constructor RegexOperation creates a new RegexOperation instance.

Parameters:
numArgs - of type int
patternString - of type String

RegexOperation

public RegexOperation(String patternString)
Constructor RegexOperation creates a new RegexOperation instance.

Parameters:
patternString - of type String

RegexOperation

public RegexOperation(int numArgs,
                      Fields fieldDeclaration)
Constructor RegexOperation creates a new RegexOperation instance.

Parameters:
numArgs - of type int
fieldDeclaration - of type Fields

RegexOperation

public RegexOperation(int numArgs,
                      Fields fieldDeclaration,
                      String patternString)
Constructor RegexOperation creates a new RegexOperation instance.

Parameters:
numArgs - of type int
fieldDeclaration - of type Fields
patternString - of type String
Method Detail

getPattern

protected Pattern getPattern()
Method getPattern returns the pattern of this RegexOperation object.

Returns:
the pattern (type Pattern) of this RegexOperation object.


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