All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.s24.search.solr.analysis.jdbc.JdbcReader Maven / Gradle / Ivy

There is a newer version: 2.3.10
Show newest version
package com.s24.search.solr.analysis.jdbc;

import java.io.Reader;

import org.apache.commons.dbutils.QueryRunner;

/**
 * Reads "lines" of configuration out of JDBC.
 *
 * @author Shopping24 GmbH, Torsten Bøgh Köster (@tboeghk)
 */
public interface JdbcReader {
   /**
    *
    * @return a {@linkplain Reader}, never null
    */
   Reader getReader();

   /**
    * @return direct {@link QueryRunner} to execute query. If no datasource is defined, it could be null.
    */
   QueryRunner getJdbcRunner();

   /**
    * @return plain SQL query.
    */
   String getSql();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy