cascading.operation.regex
Class RegexGenerator
java.lang.Object
cascading.operation.BaseOperation<C>
cascading.operation.regex.RegexOperation<Matcher>
cascading.operation.regex.RegexGenerator
- All Implemented Interfaces:
- Function<Matcher>, Operation<Matcher>, Serializable
public class RegexGenerator
- extends RegexOperation<Matcher>
- implements Function<Matcher>
Class RegexGenerator will emit a new Tuple for every matched regex group.
- See Also:
- Serialized Form
Fields inherited from interface cascading.operation.Operation |
ANY |
Constructor Summary |
RegexGenerator(Fields fieldDeclaration,
String patternString)
Constructor RegexGenerator creates a new RegexGenerator instance. |
RegexGenerator(String patternString)
Constructor RegexGenerator creates a new RegexGenerator instance. |
RegexGenerator
@ConstructorProperties(value="patternString")
public RegexGenerator(String patternString)
- Constructor RegexGenerator creates a new RegexGenerator instance.
- Parameters:
patternString
- of type String
RegexGenerator
@ConstructorProperties(value={"fieldDeclaration","patternString"})
public RegexGenerator(Fields fieldDeclaration,
String patternString)
- Constructor RegexGenerator creates a new RegexGenerator instance.
- Parameters:
fieldDeclaration
- of type FieldspatternString
- of type String
prepare
public void prepare(FlowProcess flowProcess,
OperationCall<Matcher> operationCall)
- Description copied from class:
BaseOperation
- Method prepare does nothing, and may safely be overridden.
- Specified by:
prepare
in interface Operation<Matcher>
- Overrides:
prepare
in class BaseOperation<Matcher>
operate
public void operate(FlowProcess flowProcess,
FunctionCall<Matcher> functionCall)
- Description copied from interface:
Function
- Method operate provides the implementation of this Function.
- Specified by:
operate
in interface Function<Matcher>
- Parameters:
flowProcess
- of type FlowProcessfunctionCall
- of type FunctionCall- See Also:
Function.operate(cascading.flow.FlowProcess,cascading.operation.FunctionCall)
Copyright © 2007-2010 Concurrent, Inc. All Rights Reserved.