class ShardingUtil {

    public static SafeSQL mostSafeSQLAndWhiteFields(List<SQLStatement> sqlStatements,
        Predicate<String> whiteFieldsFilter) {
        return sqlStatements.size() == 1 ?
            singleMostSafeSQLAndWhiteFields(sqlStatements.get(0), whiteFieldsFilter) :
            multiMostSafeSQLAndWhiteFields(sqlStatements, whiteFieldsFilter);
    }

}