public class JdbcPipelineOutput extends PipelineOutput
internalId, internalName, log, TIMESTAMP_FORMAT
SERIALIZED_CLASS_NAME, TYPE
XML_SERIALIZED_CLASS_NAME
Constructor and Description |
---|
JdbcPipelineOutput() |
addExceptionProperties, assertValid, assertValid, clone, exception, exception, exception, getInternalId, getInternalName, resetInternalId
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
fromArrayValue, fromArrayValue, fromArrayValue, fromJson, fromJson, newInstanceFromRecord, newInstanceFromRecord, toArrayValue, toJson, toJson, toJson, toRecord
newInstanceFromJson
forEachGrandChildElement, fromXml, fromXml, getAttribute, getAttribute, getAttribute, getAttribute, getAttribute, getAttribute, getAttribute, getAttribute, getAttribute, getAttribute, getChildElement, getChildElements, newInstanceFromXml, newInstanceFromXml, setAttribute, toXml, toXml, toXml, toXml, toXml, writeXml, writeXml
public String getName()
getName
in class PipelineOutput
public JdbcPipelineOutput setJdbcType(String fieldName, int jdbcType)
The given Java object will be converted to the given targetSqlType before being sent to the database.
Note that this method may be used to pass database-specific abstract data types.
fieldName
- jdbcType
- - the object containing the JDBC Type parameter valuepublic Record toRecord()
toRecord
in interface RecordSerializable
toRecord
in class Bean
public JdbcPipelineOutput 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 PipelineOutput
public JdbcConnectionFactory getJdbcConnectionFactory()
public JdbcPipelineOutput setJdbcConnectionFactory(JdbcConnectionFactory jdbcConnectionFactory)
public JdbcPipelineOutput setJdbcConnectionFactory(Connection connection)
public JdbcPipelineOutput setJdbcConnectionFactory(DataSource dataSource)
@Deprecated public String getTable()
getTableName()
instead.public String getTableName()
@Deprecated public JdbcPipelineOutput setTable(String table)
setTableName(String)
instead.public JdbcPipelineOutput setTableName(String tableName)
public boolean isAutoCloseConnection()
public JdbcPipelineOutput setAutoCloseConnection(boolean autoCloseConnection)
public int getBatchSize()
public JdbcPipelineOutput setBatchSize(int batchSize)
public boolean isCommitBatch()
public JdbcPipelineOutput setCommitBatch(boolean commitBatch)
public void generateJavaCode(JavaCodeBuilder code)
public DataWriter createDataWriter()
public Element toXmlElement(Document document)
toXmlElement
in interface XmlSerializable
toXmlElement
in class PipelineOutput
public JdbcPipelineOutput fromXmlElement(Element pipelineOutputElement)
Copyright (c) 2006-2023 North Concepts Inc. All Rights Reserved.