You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
package com.fr.plugin.db.redis.core.visit;
|
|
|
|
|
|
|
|
import com.fr.plugin.db.redis.core.DataWrapper;
|
|
|
|
import com.fr.stable.ParameterProvider;
|
|
|
|
import com.fr.stable.script.CalculatorProvider;
|
|
|
|
import redis.clients.jedis.Jedis;
|
|
|
|
|
|
|
|
import java.util.List;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Created by richie on 2017/5/2.
|
|
|
|
*/
|
|
|
|
public interface Visitor<T> {
|
|
|
|
|
|
|
|
String TOKEN_SPACE = "\\s+";
|
|
|
|
|
|
|
|
List<List<T>> getContent(CalculatorProvider calculator, ParameterProvider[] ps, Jedis client, String query, int rowCount) throws Exception;
|
|
|
|
|
|
|
|
DataWrapper<T> buildData(CalculatorProvider calculator, ParameterProvider[] ps, Jedis client, String query, int rowCount) throws Exception;
|
|
|
|
|
|
|
|
boolean match(String query);
|
|
|
|
|
|
|
|
String keyWord();
|
|
|
|
}
|