|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectmondrian.rolap.BatchTestCase.TestCase
protected class BatchTestCase.TestCase
Runs an MDX query with a predefined resultLimit and checks the number of positions of the row axis. The reduced resultLimit ensures that the optimization is present.
Field Summary | |
---|---|
(package private) Connection |
con
Mondrian connection. |
(package private) String |
query
MDX query to execute. |
(package private) int |
resultLimit
Maximum number of rows to be read from SQL. |
(package private) int |
rowCount
Number of positions we expect on rows axis of result. |
Constructor Summary | |
---|---|
BatchTestCase.TestCase(Connection con,
int resultLimit,
int rowCount,
String query)
|
|
BatchTestCase.TestCase(int resultLimit,
int rowCount,
String query)
|
Method Summary | |
---|---|
protected Result |
run()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
final int resultLimit
final String query
final int rowCount
final Connection con
Constructor Detail |
---|
public BatchTestCase.TestCase(int resultLimit, int rowCount, String query)
public BatchTestCase.TestCase(Connection con, int resultLimit, int rowCount, String query)
Method Detail |
---|
protected Result run()
|
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |