public class FieldJoiner extends BaseOperation<Tuple> implements Function<Tuple>
Modifier and Type | Field and Description |
---|---|
static String |
FIELD_NAME
Field FIELD_NAME
|
fieldDeclaration, numArgs, trace
Constructor and Description |
---|
FieldJoiner(Fields fieldDeclaration)
Constructor FieldJoiner creates a new FieldJoiner instance.
|
FieldJoiner(Fields fieldDeclaration,
String delimiter)
Constructor FieldJoiner creates a new FieldJoiner instance.
|
FieldJoiner(String delimiter)
Constructor FieldJoiner creates a new FieldJoiner instance.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object object) |
String |
getDelimiter()
Method getFormat returns the delimiter of this FieldJoiner object.
|
int |
hashCode() |
void |
operate(FlowProcess flowProcess,
FunctionCall<Tuple> functionCall)
Method operate provides the implementation of this Function.
|
void |
prepare(FlowProcess flowProcess,
OperationCall<Tuple> operationCall)
Method prepare does nothing, and may safely be overridden.
|
cleanup, flush, getFieldDeclaration, getNumArgs, getTrace, isSafe, printOperationInternal, toString, toStringInternal
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
cleanup, flush, getFieldDeclaration, getNumArgs, isSafe
public static final String FIELD_NAME
@ConstructorProperties(value="delimiter") public FieldJoiner(String delimiter)
delimiter
- of type String@ConstructorProperties(value="fieldDeclaration") public FieldJoiner(Fields fieldDeclaration)
fieldDeclaration
- of type Fields@ConstructorProperties(value={"fieldDeclaration","delimiter"}) public FieldJoiner(Fields fieldDeclaration, String delimiter)
fieldDeclaration
- of type Fieldsdelimiter
- of type Stringpublic String getDelimiter()
public void prepare(FlowProcess flowProcess, OperationCall<Tuple> operationCall)
BaseOperation
public void operate(FlowProcess flowProcess, FunctionCall<Tuple> functionCall)
Function
public boolean equals(Object object)
equals
in class BaseOperation<Tuple>
public int hashCode()
hashCode
in class BaseOperation<Tuple>
Copyright © 2007-2015 Concurrent, Inc. All Rights Reserved.