mondrian.rolap.agg
public class AggregationOnDistinctCountMeasuresTest extends BatchTestCase
AggregationOnDistinctCountMeasureTest
tests the
Distinct Count functionality with tuples and members.BatchTestCase.TestCase
cubeNameSales, fieldGender, fieldProductDepartment, fieldProductFamily, fieldValueProductDepartment, fieldValuesGender, fieldValuesProductFamily, fieldValuesYear, fieldYear, measureUnitSales, tableCustomer, tableProductClass, tableTime
propSaver
Constructor and Description |
---|
AggregationOnDistinctCountMeasuresTest() |
assertNative, assertNoQuerySql, assertNotNative, assertQuerySql, assertQuerySql, assertQuerySql, assertQuerySqlOrNot, assertRequestSql, assertRequestSql, checkNative, checkNative, checkNative, checkNotNative, checkNotNative, checkNotNative, createBatch, createBatch, createRequest, createRequest, createRequest, createRequest, dialectize, executeQuery, getCube, getFoodMartConnection, getGroupingSet, getMeasure
allMember, assertAxisReturns, assertAxisThrows, assertBooleanExprReturns, assertExprReturns, assertExprThrows, assertQueriesReturnSimilarResults, assertQueryReturns, assertQueryThrows, assertSize, cubeByName, execute, executeExpr, executeQuery, executeSingletonAxis, genderMembersIncludingAll, getConnection, getDimensionWithName, isDefaultNullMemberRepresentation, isGroupingSetsSupported, member, productMembersPotScrubbersPotsAndPans, storeMembersCAAndOR, storeMembersUsaAndCanada, tearDown, warehouseMembersCanadaMexicoUsa
countTestCases, createResult, getName, run, run, runBare, runTest, setName, toString
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail, failNotEquals, failNotSame, failSame
public AggregationOnDistinctCountMeasuresTest()
public TestContext getTestContext()
FoodMartTestCase
getTestContext
in class FoodMartTestCase
public void testTupleWithAllLevelMembersOnly()
public void testCrossJoinOfAllMembers()
public void testCrossJoinMembersWithASingleMember()
public void testCrossJoinMembersWithSetOfMembers()
public void testCrossJoinParticularMembersFromTwoDimensions()
public void testDistinctCountOnSetOfMembersFromOneDimension()
public void testDistinctCountWithAMeasureAsPartOfTuple()
public void testDistinctCountOnSetOfMembers()
public void testDistinctCountOnTuplesWithSomeNonJoiningDimensions()
public void testAggregationListOptimizationForChildren()
public void testDistinctCountOnMembersWithNonJoiningDimensionNotAtAllLevel()
public void testNonJoiningDimensionWithAllMember()
public void testCrossJoinOfJoiningAndNonJoiningDimensionWithAllMember()
public void testCrossJoinOfJoiningAndNonJoiningDimension()
public void testAggregationOverLargeListGeneratesError()
public void testMultiLevelMembersNullParents()
public void testMultiLevelMembersMixedNullNonNullParent()
public void testMultiLevelsMixedNullNonNullChild()
public void testAggregationOnCJofMembersGeneratesOptimalQuery()
public void testCanNotBatchForDifferentCompoundPredicate()
public void testDistinctCountInNonGroupingSetsQuery()
public void testAggregationOfMembersAndDefaultMemberWithoutGroupingSets()
public void testOptimizeChildren()
public void testOptimizeListWhenTuplesAreFormedWithDifferentLevels()
public void testOptimizeListWithTuplesOfLength3()
public void testOptimizeChildrenForTuplesWithLength1()
public void testOptimizeChildrenForTuplesWithLength3()
public void testOptimizeChildrenWhenTuplesAreFormedWithDifferentLevels()
public void testWhetherCJOfChildren()
public void testShouldNotRemoveDuplicateTuples()
public void testMemberCountIsSameForAllMembersInTuple()
public void testMemberCountIsNotSameForAllMembersInTuple()
public void testAggregatesAtTheSameLevelForNormalAndDistinctCountMeasure()
public void testDistinctCountForAggregatesAtTheSameLevel()
public void testMondrian906()