public static Array call(PageContext pc, Query query, String columnName) throws PageException {
return call(pc, query, columnName, null);
}
public static Array call(PageContext pc, Query query, String columnName, UDF udf) throws PageException {
Array arr=new ArrayImpl();
QueryColumn column = query.getColumn(KeyImpl.init(columnName));
Iterator<Object> it = column.valueIterator();
Object value;
while(it.hasNext()) {
value=it.next();
if(!NullSupportHelper.full() && value==null) value="";
if(udf!=null)arr.append(udf.call(pc, new Object[]{value}, true));