forked from fanruan/demo-tabledata-redis
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.
25 lines
671 B
25 lines
671 B
package com.fr.plugin.db.redis.core.visit; |
|
|
|
import com.fr.base.Parameter; |
|
import com.fr.plugin.db.redis.core.DataWrapper; |
|
import com.fr.script.Calculator; |
|
import com.fr.stable.StringUtils; |
|
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(Calculator calculator, Parameter[] ps, Jedis client, String query, int rowCount) throws Exception; |
|
|
|
DataWrapper<T> buildData(Calculator calculator, Parameter[] ps, Jedis client, String query, int rowCount) throws Exception; |
|
|
|
boolean match(String query); |
|
|
|
String keyWord(); |
|
}
|
|
|