Package com.adaptris.core.services.jdbc
Interface ResultSetTranslator
- All Superinterfaces:
ComponentLifecycle
,ComponentLifecycleExtension
- All Known Implementing Classes:
AllRowsMetadataTranslator
,FirstRowMetadataTranslator
,MergeResultSetIntoXmlPayload
,MetadataResultSetTranslatorImpl
,NoOpResultSetTranslator
,ResultSetTranslatorBase
,ResultSetTranslatorImp
,SimplePayloadResultSetTranslator
,SplittingXmlPayloadTranslator
,StyledResultTranslatorImp
,XmlPayloadTranslator
,XmlPayloadTranslatorImpl
Interface used to format output from a
JdbcDataQueryService
-
Method Summary
Modifier and TypeMethodDescriptionvoid
translate
(JdbcResult source, AdaptrisMessage target) Translate the contents of the result set into the AdaptrisMessage object.Methods inherited from interface com.adaptris.core.ComponentLifecycle
close, init, start, stop
Methods inherited from interface com.adaptris.core.ComponentLifecycleExtension
prepare
-
Method Details
-
translate
Translate the contents of the result set into the AdaptrisMessage object. Only use this method for JdbcResults that are guaranteed to fit in memory.- Parameters:
source
- the result set from a database query executed byJdbcDataQueryService
target
- the adaptris message- Throws:
SQLException
- on errors accessing the result set.ServiceException
- wrapping any other exception
-