public static class JdbcPipelineOutput.ColumnMapping extends Bean
TYPE
Constructor and Description |
---|
ColumnMapping() |
Modifier and Type | Method and Description |
---|---|
JdbcPipelineOutput.ColumnMapping |
fromRecord(Record source)
Loads this instance's state from a record and returns
this (for fluid API call chaining). |
String |
getSourceColumn() |
String |
getTargetColumn() |
boolean |
requiresExplicitMapping() |
void |
setSourceColumn(String sourceColumn) |
void |
setTargetColumn(String targetColumn) |
Record |
toRecord() |
addExceptionProperties, fromJsonString, fromRecord, toJsonString, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
newInstanceFromRecord, newInstanceFromRecord, toRecord
public String getSourceColumn()
public void setSourceColumn(String sourceColumn)
public String getTargetColumn()
public void setTargetColumn(String targetColumn)
public boolean requiresExplicitMapping()
public Record toRecord()
toRecord
in interface RecordSerializable
toRecord
in class Bean
public JdbcPipelineOutput.ColumnMapping fromRecord(Record source)
RecordSerializable
this
(for fluid API call chaining).
For fluid API call chaining, the overridden method should change the declared return type to its class.fromRecord
in interface RecordSerializable
fromRecord
in class Bean