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
public interface ResultSetTranslator extends ComponentLifecycle, ComponentLifecycleExtension
Interface used to format output from aJdbcDataQueryService
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
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 Detail
-
translate
void translate(JdbcResult source, AdaptrisMessage target) throws java.sql.SQLException, ServiceException
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:
java.sql.SQLException
- on errors accessing the result set.ServiceException
- wrapping any other exception
-
-