| Oracle9i OLAP Services Developer's Guide to the Oracle OLAP API Release 1 (9.0.1) Part Number A88756-01 |
|
Making Queries, 6 of 6
You create simple nondimensional Source objects that you can use as operands by using the createConstantSource, createListSource, and createRangeSource methods on the DataProvider class.
Assume that you have an object named myDataProvider that represents the DataProvider used by your application and that, for computational purposes, you want a Source with a single element that has a value of 4. To create this Source you issue the following code
NumberSource myConstantFour = myDataProvider.createConstantSource(4);
|
|
![]() Copyright © 1996-2001, Oracle Corporation. All Rights Reserved. |
|