private List<Object> buildBboxWhereParameters(List<Selector.Polygon> bboxSelectors) { List<Object> obj = new LinkedList<Object>(); for (Selector selector : bboxSelectors) { obj.addAll(selector.getWhereParam()); } return obj; }
private List<Object> buildSelectorWhereParameters(List<? extends Selector> tagSelectors) { List<Object> obj = new LinkedList<Object>(); for (Selector selector : tagSelectors) { obj.addAll(selector.getWhereParam()); } return obj; }
@Override public List<Object> getWhereParam() { List<Object> ret = new LinkedList<Object>(); for (Selector selector : selectors) { ret.addAll(selector.getWhereParam()); } return ret; }
private List<Object> buildTagSelectorWhereParameters(List<? extends Selector> tagSelectors) { List<Object> obj = new LinkedList<Object>(); for (Selector selector : tagSelectors) { if (selector instanceof Selector.Polygon) { } else { obj.addAll(selector.getWhereParam()); } } return obj; }