package org.opencloudb.route.handler;
import org.opencloudb.cache.LayerCachePool;
import org.opencloudb.config.model.SchemaConfig;
import org.opencloudb.config.model.SystemConfig;
import org.opencloudb.route.RouteResultset;
import java.sql.SQLNonTransientException;
/**
* 按照注释中包含指定类型的内容做路由解析
*
*/
public interface HintHandler {
public RouteResultset route(SystemConfig sysConfig,
SchemaConfig schema, int sqlType, String realSQL, String charset,
Object info, LayerCachePool cachePool,String hintSQLValue)
throws SQLNonTransientException;
}