Package org.frankframework.jdbc
Class Result2ClobWriter
java.lang.Object
org.frankframework.batch.AbstractResultHandler
org.frankframework.batch.ResultWriter
org.frankframework.jdbc.Result2LobWriterBase
org.frankframework.jdbc.Result2ClobWriter
- All Implemented Interfaces:
IResultHandler,FrankElement,HasApplicationContext,HasName,IConfigurable,IScopeProvider,IWithParameters,NameAware,org.springframework.beans.factory.Aware,org.springframework.context.ApplicationContextAware
ResultHandler that writes the transformed record to a CLOB.- Since:
- 4.7
- Author:
- Gerrit van Brakel
-
Field Summary
Fields inherited from class org.frankframework.jdbc.Result2LobWriterBase
openConnections, openLobHandles, openResultSets, querySenderFields inherited from class org.frankframework.batch.AbstractResultHandler
log, paramList -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected ObjectgetLobHandle(IDbmsSupport dbmsSupport, ResultSet rs) protected WritergetWriter(IDbmsSupport dbmsSupport, Object lobHandle, ResultSet rs) voidsetClobColumn(int column) Column that contains the CLOB to be updatedprotected voidupdateLob(IDbmsSupport dbmsSupport, Object lobHandle, ResultSet rs) Methods inherited from class org.frankframework.jdbc.Result2LobWriterBase
close, configure, createWriter, finalizeResult, getPhysicalDestinationName, open, setDatasourceName, setQueryMethods inherited from class org.frankframework.batch.ResultWriter
closeBlock, closeDocument, closeRecordType, getWriter, handleResult, openBlock, openDocument, openRecordType, replacePattern, setBlockNamePattern, setOnCloseBlock, setOnCloseDocument, setOnOpenBlock, setOnOpenDocument, writeNewLineMethods inherited from class org.frankframework.batch.AbstractResultHandler
addParameter, getParameterList, hasPrefix, isDefault, setBlockByRecordType, setDefault, setName, setPipe, setPrefix, setSuffixMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.springframework.context.ApplicationContextAware
setApplicationContextMethods inherited from interface org.frankframework.core.FrankElement
addConfigWarningMethods inherited from interface org.frankframework.core.HasApplicationContext
getApplicationContext, getConfigurationClassLoaderMethods inherited from interface org.frankframework.batch.IResultHandler
isBlockByRecordType
-
Constructor Details
-
Result2ClobWriter
public Result2ClobWriter()
-
-
Method Details
-
getLobHandle
- Specified by:
getLobHandlein classResult2LobWriterBase- Throws:
SenderException
-
updateLob
protected void updateLob(IDbmsSupport dbmsSupport, Object lobHandle, ResultSet rs) throws SenderException - Specified by:
updateLobin classResult2LobWriterBase- Throws:
SenderException
-
getWriter
protected Writer getWriter(IDbmsSupport dbmsSupport, Object lobHandle, ResultSet rs) throws SenderException - Specified by:
getWriterin classResult2LobWriterBase- Throws:
SenderException
-
setClobColumn
public void setClobColumn(int column) Column that contains the CLOB to be updated- Default value
- 1
-