Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
MONDRIAN: Add CountDistinct aggregation function;
implement '*' alternative syntax for CrossJoin. [git-p4: depot-paths = "//open/mondrian/": change = 643]
- Loading branch information
1 parent
6c4708a
commit 7263680
Showing
15 changed files
with
817 additions
and
298 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
/* | ||
// $Id$ | ||
// This software is subject to the terms of the Common Public License | ||
// Agreement, available at the following URL: | ||
// http://www.opensource.org/licenses/cpl.html. | ||
// Copyright (C) 2003-2003 Julian Hyde | ||
// All Rights Reserved. | ||
// You must accept the terms of that agreement to use this software. | ||
*/ | ||
package mondrian.olap; | ||
|
||
import java.util.List; | ||
|
||
/** | ||
* Describes an aggregation operator, such as "sum" or "count". | ||
* | ||
* @see FunDef | ||
* @see Evaluator | ||
* | ||
* @author jhyde$ | ||
* @since Jul 9, 2003$ | ||
* @version $Id$ | ||
**/ | ||
public interface Aggregator { | ||
/** | ||
* Returns the aggregator used to combine sub-totals into a grand-total. | ||
*/ | ||
Aggregator getRollup(); | ||
|
||
/** | ||
* Applies this aggregator to an expression over a set of members and | ||
* returns the result. | ||
*/ | ||
Object aggregate(Evaluator evaluator, List members, Exp exp); | ||
} | ||
|
||
// End Aggregator.java |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.