public class FieldJoiner extends BaseOperation<Tuple> implements Function<Tuple>
Modifier and Type | Field and Description |
---|---|
static java.lang.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,
java.lang.String delimiter)
Constructor FieldJoiner creates a new FieldJoiner instance.
|
FieldJoiner(java.lang.String delimiter)
Constructor FieldJoiner creates a new FieldJoiner instance.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object object) |
java.lang.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 java.lang.String FIELD_NAME
@ConstructorProperties(value="delimiter") public FieldJoiner(java.lang.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, java.lang.String delimiter)
fieldDeclaration
- of type Fieldsdelimiter
- of type Stringpublic java.lang.String getDelimiter()
public void prepare(FlowProcess flowProcess, OperationCall<Tuple> operationCall)
BaseOperation
public void operate(FlowProcess flowProcess, FunctionCall<Tuple> functionCall)
Function
public boolean equals(java.lang.Object object)
equals
in class BaseOperation<Tuple>
public int hashCode()
hashCode
in class BaseOperation<Tuple>
Copyright © 2007-2015 Xplenty, Inc. All Rights Reserved.