incubator-connectors-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From conflue...@apache.org
Subject [CONF] Apache Connectors Framework > How to Write an Output Connector
Date Thu, 14 Oct 2010 17:21:00 GMT
Space: Apache Connectors Framework (https://cwiki.apache.org/confluence/display/CONNECTORS)
Page: How to Write an Output Connector (https://cwiki.apache.org/confluence/display/CONNECTORS/How+to+Write+an+Output+Connector)
Comment: https://cwiki.apache.org/confluence/display/CONNECTORS/How+to+Write+an+Output+Connector?focusedCommentId=24183037#comment-24183037

Comment added by Farzad:
---------------------------------------------------------------------

Confused a bit with NullOutputConnector source.  So it seems, the only three methods you need
to implement are: addOrReplaceDocument, getOutputDescription, and removeDocument.  I see a
method called getSession that does nothing and it is being called in addOrReplaceDocument
and removeDocument methods of NullOutputConnector.  Is that just empty code?  Is it save to
assume, connect, disconnect are also not needed based on getSession?  Was my assumption true
about needing to implement only the three methods.  At this point, I just want to create code
that identifies duplicates.   Not worried about security just yet.


Change your notification preferences: https://cwiki.apache.org/confluence/users/viewnotifications.action

Mime
View raw message