use of org.apache.geode.redis.internal.executor.ListQuery in project geode by apache.
the class RegionProvider method doInitializeList.
private void doInitializeList(ByteArrayWrapper key, Region r) {
r.put("head", Integer.valueOf(0));
r.put("tail", Integer.valueOf(0));
String fullpath = r.getFullPath();
HashMap<Enum<?>, Query> queryList = new HashMap<Enum<?>, Query>();
for (ListQuery lq : ListQuery.values()) {
String queryString = lq.getQueryString(fullpath);
Query query = this.queryService.newQuery(queryString);
queryList.put(lq, query);
}
this.preparedQueries.put(key, queryList);
}
Aggregations