4.1 number count(node-set) @author bob mcwhirter (bob @ werken.com)
number count(node-set)
238239240241242243244245
return rangeProperty; } public void setRangeProperty(DataProperty property) { rangeProperty = property; rangeScalarFunction = new CountFunction(); if (rangeProperty == null) rangeConfig = null; }
244245246247248249250
if (rangeProperty == null) rangeConfig = null; } public ScalarFunction getRangeScalarFunction() { if (rangeScalarFunction != null) return rangeScalarFunction; return rangeScalarFunction = new CountFunction(); }
224225226227228229230231
230231232233234235236
8485868788899091929394
? ( suffix.equals("0") ? new SumFunction() : suffix.equals("1") ? new MinFunction() : suffix.equals("2") ? new MaxFunction() : null ) : new CountFunction(); customFieldsToDefaultFunctions.put(prefix + suffix, function); } } }