long maxCoordinates = 1024 * 1024 / 28; // this results 1MB of Coordinate object max
public QueryLayerFunctionFactory() {
FilterFactory ff = CommonFactoryFinder.getFilterFactory(null);
List<FunctionName> names = new ArrayList<FunctionName>();
names.add(ff.functionName(QUERY_SINGLE, -1)); // 2 or 3 args
names.add(ff.functionName(QUERY_COLLECTION, -1)); // 2 or 3 args
names.add(ff.functionName(COLLECT_GEOMETRIES, 1));
functionNames = Collections.unmodifiableList(names);
}