1234567891011121314151617181920 |
- package com.primeton.damp.bigdata;
- import java.io.Closeable;
- import java.util.Properties;
- import javax.sql.DataSource;
- /**
- *
- * Hive DAtaSource 实现
- *
- * @author zhaopx
- */
- public interface PooledDataSource extends DataSource, Closeable {
- public void setProperties(Properties properties);
-
- public void setIdleValidationQuery(int idleInSeconds, String validationQuery);
- }
|