package com.huigou.uasp.log.application;

import com.huigou.data.domain.query.QueryAbstractRequest;

import java.util.Map;

/**
 * 单表分页查询策略。
 *
 * @author yonghuan
 */
public interface SlicedQueryStrategy {

    boolean supports(String tableName, QueryAbstractRequest queryRequest);

    Map<String, Object> slicedQuery(String tableName, QueryAbstractRequest queryRequest, String whereClause, Object[] args);

}
