com.servingxml.components.sql
Class SqlGrepFactory

java.lang.Object
  extended by com.servingxml.components.recordio.AbstractRecordReaderFactory
      extended by com.servingxml.components.sql.SqlGrepFactory
All Implemented Interfaces:
RecordFilterAppender, RecordPipelineAppender, RecordReaderFactory

public class SqlGrepFactory
extends AbstractRecordReaderFactory
implements RecordReaderFactory, RecordFilterAppender

A SqlGrepFactory instance may be used to obtain objects that implement the RecordReaderFactory interface.


Field Summary
 
Fields inherited from interface com.servingxml.components.recordio.RecordPipelineAppender
EMPTY_ARRAY
 
Fields inherited from interface com.servingxml.components.recordio.RecordPipelineAppender
EMPTY_ARRAY
 
Constructor Summary
SqlGrepFactory(java.lang.String[] catalogs, java.lang.String tablePattern, java.lang.String columnPattern, SubstitutionExpr valuePattern, java.lang.String[] tableType, int maxRowsPerTable, int maxLength, JdbcConnectionPool connectionPool)
           
 
Method Summary
protected  RecordReader createRecordReader(ServiceContext context, Flow flow)
           
 
Methods inherited from class com.servingxml.components.recordio.AbstractRecordReaderFactory
appendToRecordPipeline, createRecordPipeline
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.servingxml.components.recordio.RecordPipelineAppender
appendToRecordPipeline, createRecordPipeline
 
Methods inherited from interface com.servingxml.components.recordio.RecordPipelineAppender
appendToRecordPipeline, createRecordPipeline
 

Constructor Detail

SqlGrepFactory

public SqlGrepFactory(java.lang.String[] catalogs,
                      java.lang.String tablePattern,
                      java.lang.String columnPattern,
                      SubstitutionExpr valuePattern,
                      java.lang.String[] tableType,
                      int maxRowsPerTable,
                      int maxLength,
                      JdbcConnectionPool connectionPool)
Method Detail

createRecordReader

protected RecordReader createRecordReader(ServiceContext context,
                                          Flow flow)
Specified by:
createRecordReader in class AbstractRecordReaderFactory