1819202122232425262728
this.statVal = value; } public RefRowStat gerRowStat(Integer fieldIndex) { RefRowStat stat=statVal.stat[fieldIndex]; if (stat == null) { return null; } if(stat.issetup)
146147148149150151152153154155156
} return cmp; } public long getCompareValue(ShardGroupByTermNum g, Integer field) { RefRowStat s = g.gerRowStat(field); if (s != null) { return s.cnt; } return 0; }
194195196197198199200201202203204
} return cmp; } public double getCompareValue(ShardGroupByTermNum g, Integer field) { RefRowStat s = g.gerRowStat(field); if (s != null) { return s.sum; } return 0; }
217218219220221222223224225226227
} return cmp; } public double getCompareValue(ShardGroupByTermNum g, Integer field) { RefRowStat s = g.gerRowStat(field); if (s != null) { return s.max; } return 0; }
240241242243244245246247248249250
} return cmp; } public double getCompareValue(ShardGroupByTermNum g, Integer field) { RefRowStat s = g.gerRowStat(field); if (s != null) { return s.min; } return 0; }
263264265266267268269270271272273
} return cmp; } public double getCompareValue(ShardGroupByTermNum g,Integer field) { RefRowStat s=g.gerRowStat(field); if(s!=null) { if(s.cnt>0) { return s.sum/s.cnt;
284285286287288289290291292293294
if(this.parse.crossFs!=null) { cnt.stat=new RefRowStat[this.parse.crossFs.length]; for(int i=0;i<this.parse.crossFs.length;i++) { cnt.stat[i]=new RefRowStat(); } } if(this.parse.distFS!=null) {