cascading.operation.regex
Class RegexSplitter
java.lang.Object
cascading.operation.BaseOperation<C>
cascading.operation.regex.RegexOperation<Pair<Pattern,Tuple>>
cascading.operation.regex.RegexSplitter
- All Implemented Interfaces:
- DeclaresResults, Function<Pair<Pattern,Tuple>>, Operation<Pair<Pattern,Tuple>>, Serializable
public class RegexSplitter
- extends RegexOperation<Pair<Pattern,Tuple>>
- implements Function<Pair<Pattern,Tuple>>
Class RegexSplitter will split an incoming argument value by the given regex delimiter patternString.
- See Also:
- Serialized Form
Fields inherited from interface cascading.operation.Operation |
ANY |
Constructor Summary |
RegexSplitter(Fields fieldDeclaration)
Constructor RegexOperation creates a new RegexOperation instance, where the delimiter is the tab character. |
RegexSplitter(Fields fieldDeclaration,
String patternString)
Constructor RegexSplitter creates a new RegexSplitter instance. |
RegexSplitter(String patternString)
Constructor RegexSplitter creates a new RegexSplitter instance. |
RegexSplitter
@ConstructorProperties(value="patternString")
public RegexSplitter(String patternString)
- Constructor RegexSplitter creates a new RegexSplitter instance.
- Parameters:
patternString
- of type String
RegexSplitter
@ConstructorProperties(value="fieldDeclaration")
public RegexSplitter(Fields fieldDeclaration)
- Constructor RegexOperation creates a new RegexOperation instance, where the delimiter is the tab character.
- Parameters:
fieldDeclaration
- of type Fields
RegexSplitter
@ConstructorProperties(value={"fieldDeclaration","patternString"})
public RegexSplitter(Fields fieldDeclaration,
String patternString)
- Constructor RegexSplitter creates a new RegexSplitter instance.
- Parameters:
fieldDeclaration
- of type FieldspatternString
- of type String
prepare
public void prepare(FlowProcess flowProcess,
OperationCall<Pair<Pattern,Tuple>> operationCall)
- Description copied from class:
BaseOperation
- Method prepare does nothing, and may safely be overridden.
- Specified by:
prepare
in interface Operation<Pair<Pattern,Tuple>>
- Overrides:
prepare
in class BaseOperation<Pair<Pattern,Tuple>>
operate
public void operate(FlowProcess flowProcess,
FunctionCall<Pair<Pattern,Tuple>> functionCall)
- Description copied from interface:
Function
- Method operate provides the implementation of this Function.
- Specified by:
operate
in interface Function<Pair<Pattern,Tuple>>
- Parameters:
flowProcess
- of type FlowProcessfunctionCall
- of type FunctionCall
Copyright © 2007-2013 Concurrent, Inc. All Rights Reserved.