|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcascading.operation.BaseOperation
cascading.operation.text.FieldJoiner
public class FieldJoiner
Class FieldJoiner joins the values in a Tuple with a given delimiter and stuffs the result into a new field.
| Field Summary | |
|---|---|
static String |
FIELD_NAME
Field FIELD_NAME |
| Fields inherited from class cascading.operation.BaseOperation |
|---|
fieldDeclaration, numArgs, trace |
| Fields inherited from interface cascading.operation.Operation |
|---|
ANY |
| Constructor Summary | |
|---|---|
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. |
|
| Method Summary | |
|---|---|
String |
getDelimiter()
Method getFormat returns the delimiter of this FieldJoiner object. |
void |
operate(FlowProcess flowProcess,
FunctionCall functionCall)
Method operate provides the implementation of this Function. |
| 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 |
| Methods inherited from interface cascading.operation.Operation |
|---|
cleanup, getFieldDeclaration, getNumArgs, prepare |
| Field Detail |
|---|
public static final String FIELD_NAME
| Constructor Detail |
|---|
public FieldJoiner(String delimiter)
delimiter - of type Stringpublic FieldJoiner(Fields fieldDeclaration)
fieldDeclaration - of type Fields
public FieldJoiner(Fields fieldDeclaration,
String delimiter)
fieldDeclaration - of type Fieldsdelimiter - of type String| Method Detail |
|---|
public String getDelimiter()
public void operate(FlowProcess flowProcess,
FunctionCall functionCall)
Function
operate in interface FunctionflowProcess - of type FlowProcessfunctionCall - of type FunctionCallFunction.operate(cascading.flow.FlowProcess,cascading.operation.FunctionCall)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||