Package mondrian.rolap
Class FastBatchingCellReaderTest
- java.lang.Object
-
- TestCase
-
- mondrian.test.FoodMartTestCase
-
- mondrian.rolap.BatchTestCase
-
- mondrian.rolap.FastBatchingCellReaderTest
-
public class FastBatchingCellReaderTest extends BatchTestCase
Test forFastBatchingCellReader
.- Since:
- 24-May-2007
- Author:
- Thiyagu
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
FastBatchingCellReaderTest.MyDelegatingInvocationHandler
-
Nested classes/interfaces inherited from class mondrian.rolap.BatchTestCase
BatchTestCase.Bomb, BatchTestCase.CellRequestConstraint, BatchTestCase.TestCase, BatchTestCase.TestListener
-
-
Field Summary
-
Fields inherited from class mondrian.rolap.BatchTestCase
cubeNameSales, fieldGender, fieldProductDepartment, fieldProductFamily, fieldValueProductDepartment, fieldValuesGender, fieldValuesProductFamily, fieldValuesYear, fieldYear, measureUnitSales, tableCustomer, tableProductClass, tableTime
-
Fields inherited from class mondrian.test.FoodMartTestCase
propSaver
-
-
Constructor Summary
Constructors Constructor Description FastBatchingCellReaderTest()
-
Method Summary
-
Methods inherited from class mondrian.rolap.BatchTestCase
assertNative, assertNoQuerySql, assertNotNative, assertQuerySql, assertQuerySql, assertQuerySql, assertQuerySqlOrNot, assertRequestSql, assertRequestSql, checkNative, checkNative, checkNative, checkNotNative, checkNotNative, checkNotNative, clearAndHardenCache, createBatch, createBatch, createRequest, createRequest, createRequest, createRequest, dialectize, executeQuery, getCube, getFoodMartConnection, getGroupingSet, getMeasure, getRegistry, makeConstraintCountryState, makeConstraintProductFamilyDepartment, makeConstraintYearQuarterMonth, mysqlPattern, sqlPattern
-
Methods inherited from class mondrian.test.FoodMartTestCase
allMember, assertAxisReturns, assertAxisThrows, assertBooleanExprReturns, assertExprReturns, assertExprThrows, assertQueriesReturnSimilarResults, assertQueryReturns, assertQueryThrows, assertSize, cubeByName, execute, executeExpr, executeQuery, executeSingletonAxis, genderMembersIncludingAll, getConnection, getDimensionWithName, getTestContext, isDefaultNullMemberRepresentation, isGroupingSetsSupported, member, productMembersPotScrubbersPotsAndPans, storeMembersCAAndOR, storeMembersUsaAndCanada, verifySameNativeAndNot, warehouseMembersCanadaMexicoUsa
-
-
-
-
Method Detail
-
setUp
protected void setUp() throws java.lang.Exception
- Throws:
java.lang.Exception
-
tearDown
protected void tearDown() throws java.lang.Exception
- Overrides:
tearDown
in classFoodMartTestCase
- Throws:
java.lang.Exception
-
testMissingSubtotalBugMetricFilter
public void testMissingSubtotalBugMetricFilter()
-
testMissingSubtotalBugMultiLevelMetricFilter
public void testMissingSubtotalBugMultiLevelMetricFilter()
-
testShouldUseGroupingFunctionOnPropertyTrueAndOnSupportedDB
public void testShouldUseGroupingFunctionOnPropertyTrueAndOnSupportedDB()
-
testShouldUseGroupingFunctionOnPropertyTrueAndOnNonSupportedDB
public void testShouldUseGroupingFunctionOnPropertyTrueAndOnNonSupportedDB()
-
testShouldUseGroupingFunctionOnPropertyFalseOnSupportedDB
public void testShouldUseGroupingFunctionOnPropertyFalseOnSupportedDB()
-
testShouldUseGroupingFunctionOnPropertyFalseOnNonSupportedDB
public void testShouldUseGroupingFunctionOnPropertyFalseOnNonSupportedDB()
-
testDoesDBSupportGroupingSets
public void testDoesDBSupportGroupingSets()
-
testGroupBatchesForNonGroupableBatchesWithSorting
public void testGroupBatchesForNonGroupableBatchesWithSorting()
-
testGroupBatchesForNonGroupableBatchesWithConstraints
public void testGroupBatchesForNonGroupableBatchesWithConstraints()
-
testGroupBatchesForGroupableBatches
public void testGroupBatchesForGroupableBatches()
-
testGroupBatchesForGroupableBatchesAndNonGroupableBatches
public void testGroupBatchesForGroupableBatchesAndNonGroupableBatches()
-
testGroupBatchesForTwoSetOfGroupableBatches
public void testGroupBatchesForTwoSetOfGroupableBatches()
-
testAddToCompositeBatchForBothBatchesNotPartOfCompositeBatch
public void testAddToCompositeBatchForBothBatchesNotPartOfCompositeBatch()
-
testAddToCompositeBatchForDetailedBatchAlreadyPartOfACompositeBatch
public void testAddToCompositeBatchForDetailedBatchAlreadyPartOfACompositeBatch()
-
testAddToCompositeBatchForAggregationBatchAlreadyPartOfACompositeBatch
public void testAddToCompositeBatchForAggregationBatchAlreadyPartOfACompositeBatch()
-
testAddToCompositeBatchForBothBatchAlreadyPartOfACompositeBatch
public void testAddToCompositeBatchForBothBatchAlreadyPartOfACompositeBatch()
-
testCanBatchForSuperSet
public void testCanBatchForSuperSet()
Tests that can batch for batch with super set of contraint column bit key and all values for additional condition.
-
testCanBatchForBatchWithConstraint
public void testCanBatchForBatchWithConstraint()
-
testCanBatchForBatchWithConstraint2
public void testCanBatchForBatchWithConstraint2()
-
testCanBatchForBatchWithDistinctCountInDetailedBatch
public void testCanBatchForBatchWithDistinctCountInDetailedBatch()
-
testCanBatchForBatchWithDistinctCountInAggregateBatch
public void testCanBatchForBatchWithDistinctCountInAggregateBatch()
-
testCanBatchSummaryBatchWithDetailedBatchWithDistinctCount
public void testCanBatchSummaryBatchWithDetailedBatchWithDistinctCount()
-
testNonSuperSet
public void testNonSuperSet()
Test that can batch for batch with non superset of constraint column bit key and all values for additional condition.
-
testSuperSetAndNotAllValues
public void testSuperSetAndNotAllValues()
Tests that can batch for batch with super set of constraint column bit key and NOT all values for additional condition.
-
testCanBatchForBatchesFromSameAggregationButDifferentRollupOption
public void testCanBatchForBatchesFromSameAggregationButDifferentRollupOption()
-
testSuperSetDifferentValues
public void testSuperSetDifferentValues()
Tests that Can Batch For Batch With Super Set Of Constraint Column Bit Key And Different Values For Overlapping Columns.
-
testCanBatchForBatchWithDifferentAggregationTable
public void testCanBatchForBatchWithDifferentAggregationTable()
-
testCannotBatchTwoBatchesAtTheSameLevel
public void testCannotBatchTwoBatchesAtTheSameLevel()
-
testCompositeBatchLoadAggregation
public void testCompositeBatchLoadAggregation() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testLoadDistinctSqlMeasure
public void testLoadDistinctSqlMeasure()
Checks that in dialects that request it (e.g. LucidDB), distinct aggregates based on SQL expressions, e.g.count(distinct "col1" + "col2"), count(distinct query)
, are loaded individually, and separately from the other aggregates.
-
testAggregateDistinctCount
public void testAggregateDistinctCount()
-
testAggregateDistinctCount2
public void testAggregateDistinctCount2()
AstestAggregateDistinctCount()
, but (a) calc member includes members from different levels and (b) also display [unit sales].
-
testAggregateDistinctCount3
public void testAggregateDistinctCount3()
AstestAggregateDistinctCount2()
, but with two calc members simultaneously.
-
testAggregateDistinctCount4
public void testAggregateDistinctCount4()
Distinct count over aggregate member which contains overlapping members. Need to count them twice for rollable measures such as [Unit Sales], but not for distinct-count measures such as [Customer Count].
-
testAggregateDistinctCount5
public void testAggregateDistinctCount5()
Fix a problem when genergating predicates for distinct count aggregate loading and using the aggregate function in the slicer.
-
testAggregateDistinctCount6
public void testAggregateDistinctCount6()
-
testDistinctCountBug1785406
public void testDistinctCountBug1785406()
Test case for bug 1785406 to fix "query already contains alias" exception.Note: 1785406 is a regression from checkin 9710. Code changes made in 9710 is no longer in use (and removed). So this bug will not occur; however, keeping the test case here to get some coverage for a query with a slicer.
-
testDistinctCountBug1785406_2
public void testDistinctCountBug1785406_2()
-
testAggregateDistinctCount2ndParameter
public void testAggregateDistinctCount2ndParameter()
-
testCountDistinctAggWithOtherCountDistinctInContext
public void testCountDistinctAggWithOtherCountDistinctInContext()
-
testContextSetCorrectlyWith2ParamAggregate
public void testContextSetCorrectlyWith2ParamAggregate()
-
testAggregateDistinctCountInDimensionFilter
public void testAggregateDistinctCountInDimensionFilter()
-
testInMemoryAggSum
public void testInMemoryAggSum() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testInMemoryAggMin
public void testInMemoryAggMin() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testInMemoryAggMax
public void testInMemoryAggMax() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testCellBatchSizeWithUdf
public void testCellBatchSizeWithUdf()
Tests if UdfResolver processes CellRequestQuantumExceededException. It should be catch in . No exceptions should be throw outside- See Also:
- Jira issue
-
-