Class ExporterObjectProcessor<T>

    • Field Detail

      • LOG

        protected static final org.apache.logging.log4j.Logger LOG
    • Constructor Detail

      • ExporterObjectProcessor

        public ExporterObjectProcessor​(java.io.Writer out,
                                       java.lang.String outName,
                                       long logFreq)
        Parameters:
        out -
        outName - The name of the Writer
        logFreq -
      • ExporterObjectProcessor

        public ExporterObjectProcessor​(java.lang.String outFile,
                                       long logFreq)
                                throws java.io.FileNotFoundException
        Parameters:
        outFile -
        logFreq -
        Throws:
        java.io.FileNotFoundException
    • Method Detail

      • process

        public boolean process​(int count,
                               java.sql.ResultSet RS)
                        throws java.lang.Exception
        Description copied from interface: RecordProcessor
        Called for each record
        Specified by:
        process in interface RecordProcessor
        Parameters:
        count - the count of the record being processed starting at 0 for the first record
        RS - the result set to be processed
        Returns:
        whether this was successful or not. If false is returned, the process will be aborted.
        Throws:
        java.lang.Exception