public class SetCalculatedField extends Transformer
FieldPath for supported field name expressions.| Constructor and Description |
|---|
SetCalculatedField(FieldPath name,
String expression) |
SetCalculatedField(FieldPath name,
String expression,
boolean overwrite) |
SetCalculatedField(FieldPath name,
String expression,
FieldDeclarations fieldDeclarations) |
SetCalculatedField(FieldPath name,
String expression,
FieldDeclarations fieldDeclarations,
boolean overwrite) |
SetCalculatedField(String name,
String expression) |
SetCalculatedField(String name,
String expression,
boolean overwrite) |
SetCalculatedField(String name,
String expression,
FieldDeclarations fieldDeclarations) |
SetCalculatedField(String name,
String expression,
FieldDeclarations fieldDeclarations,
boolean overwrite) |
| Modifier and Type | Method and Description |
|---|---|
String |
getExpression() |
String |
getName() |
boolean |
getOverwrite() |
String |
toString() |
boolean |
transform(Record record)
Applies this transformer to a record on its way through a
TransformingReader or TransformingWriter. |
addExceptionProperties, close, geEndpoint, getEndpoint, getReader, getWriter, of, open, setWriterpublic SetCalculatedField(String name, String expression, FieldDeclarations fieldDeclarations, boolean overwrite)
public SetCalculatedField(FieldPath name, String expression, FieldDeclarations fieldDeclarations, boolean overwrite)
public SetCalculatedField(String name, String expression, FieldDeclarations fieldDeclarations)
public SetCalculatedField(FieldPath name, String expression, FieldDeclarations fieldDeclarations)
public String getName()
public String getExpression()
public boolean getOverwrite()
public boolean transform(Record record) throws Throwable
TransformerTransformingReader or TransformingWriter.
Contract for subclasses (see also docs/authoring/Transformer.md):
record in place as needed.true to keep the record in the pipeline.false to drop the record (the host routes it to a discard
writer if one is configured, otherwise it disappears).incrementRecordCount() on the host endpoint; the host handles it.transform in class TransformerThrowableCopyright (c) 2006-2026 North Concepts Inc. All Rights Reserved.