OLAP API does not finish Template code sample, can I get it?

I am using the OLAP API JavaDoc as well as the OLAPAPI Guide, specifically referring to the Templates and how to use them, Chapter 10 in the guide. Example 10-4...
Where is the code for the SingleSelectionTemplate as well as the MetadataState and Source Generator implementations that would have to be implemented for this? Both the javadoc and the code example talk about this, but there is not an example of implementation and I'd like to see what it is...Can you please provide all the code necessary to get example 10-4 to compile and run?
Thank you,
Lisa Cox
OCLC Inc.

You can get the complete code for the SingleSelectionTemplate class by downloading the
Oracle OLAP Java API Reference for Oracle Database Release 1 (10.1.0.4) from the Oracle OTN website at http://otn.oracle.com/products/bi/olap/olap.html.
After extracting the files from the zip file, open the toc.htm or index.html file in a browser. From the Overview page, select Example Oracle OLAP Java API Programs. At the bottom of the examples page are links to the Java files that contain the code for the TopBottomTemplate and SingleSelectionTemplate classes and the TopBottomTest class that uses the Template classes.
The MedatadataState and SourceGenerator classes for the TopBottomTemplate class are implemented as inner classes of TopBottomTemplate. The same is true for the SingleSelectionTemplate.
From that same OTN website you can download the Global Schema for Documentation, which is the schema that the example programs use.

Similar Messages

  • I have a ipod nano 1st and 2nd generation and am trying to put music on it but every time windows says one of the usb devices attached to this computer has malufunctioned and windows does not recognize it code 43 can someone help me please

    i have a ipod nano 1st and 2nd generation and am trying to put music on it but every time windows says one of the usb devices attached to this computer has malufunctioned and windows does not recognize it code 43 can someone help me please

    Try putting it into "Disk Mode" http://docs.info.apple.com/article.html?artnum=93651
    Then with it in this mode connect it to the PC and try to run the latest iPod updater to do a restore and update software if you have the option. the latest iPod updater is 2006-03-23 and can be downloaded here http://www.apple.com/ipod/download/

  • I have a DVD stock in my Imact and the finder does not recognice it. How can I get it out?

    I have a DVD stock in my Imact and the finder does not recognice it. How can I get it out?

    Hold down the mouse button when shutting down,  If that doesn't work, try holding the Mac sideways and shaking gently, then if you see the edge of the disc, use tweezers to pull it out.

  • I have typos in my podcast description. Updating the RSS does not correct this. How can I get iTunes to re-read my RSS???

    I have typos in my podcast description. Updating the RSS does not correct this. How can I get iTunes to re-read my RSS???

    Thanks for your help.
    Here are the RSS feeds:
    http://www.solidrockvista.com/Podcasts/Lite/rss.xml
    http://www.solidrockvista.com/Podcasts/Phat/rss.xml
    And here are the iTunes pages:
    http://itunes.apple.com/us/podcast/james-world-lite/id162059136
    http://itunes.apple.com/us/podcast/james-world-phat/id162296074
    Both Podcast Descriptions have typos.

  • My new iPhone 4 will not play on the iHome iP1 Speaker System. I have removed the case and seated it properly and it charges, but does not play music. How can I get it to work?

    My new iPhone 4 will not play on the iHome iP1 Speaker System. I have removed the case and seated it properly and it charges, but does not play music. How can I get it to work?

    Hi there Graham!
    I have a couple of articles that can help you troubleshoot this issue. First, if you are downloading HD content, you will need to know the system requirements for HD playback, which can be found here:
    iTunes: Purchasing and viewing HD videos
    http://support.apple.com/kb/ht3209
    Next, you will want to check your video playback settings on your Windows machine. The steps for that can be found right here:
    Troubleshooting iTunes for Windows Vista or Windows 7 video playback performance issues
    http://support.apple.com/kb/TS1718
    Hope that helps. Thanks for using the Apple Support Communities!
    Cheers,
    Braden

  • I have a new Macbook Pro but it does not have iDVD. How can I get this application?

    I have a new Macbook Pro but it does not have iDVD. How can I get this application?

    I have a new Macbook Pro but it does not have iDVD. How can I get this application?
    If you are still within your 15 day return period.  Call Apple they will sent out iDVD at no charge.  (There are no realistic substitutes.)
    Nicely explain that you may return the computer without iDVD. That usually does the trick.  You MUST speak to a senior advisor to get a free copy. The first tier people cannot do it.
    408-996-1010
    800-692-7753
    If that doesn't work you can purchase iLife 11  (includes iDVD) on disk.
    IDVD is a wonderful piece of software and well worth the low cost of $40.
    http://www.amazon.com/Apple-MC623Z-A-iLife-VERSION/dp/B003XKRZES/ref=sr_1_1?ie=U
    http://dealmac.com/lw/artclick.html?1,527850,1872219

  • I upgrate my iphone from 4S to 6, but my old apps does not appear on at, how can I get them back?

    I upgrate my iphone from 4S to 6, but my old apps does not appear on at, how can I get them back?

    Did you restore your 6 from a backup of the 4S?
    ~Lyssa

  • I am college student and my professors require we use Turnitin however Turnitin does not support Firefox 4 how can I get it to work with Firefox 4 or how can I return to Firefox 3

    Turnitin will not work with firefox 4 how can I return to firefox 3 or how can I get firefox 4 and Turnitin in sync

    The Turnitin system requirements on mention Firefox 3. If it does not support Firefox 4 you can downgrade to Firefox 3.6
    To downgrade to Firefox 3.6 first uninstall Firefox 4, but do not select the option to "Remove my Firefox personal data". If you select that option it will delete your bookmarks, passwords and other user data.
    You can then install the latest version of Firefox 3.6 available from http://www.mozilla.com/en-US/firefox/all-older.html - it will automatically use your current bookmarks, passwords etc.
    To avoid possible problems with downgrading, I recommend going to your profile folder and deleting the following files if they exist - extensions.cache, extensions.rdf, extensions.ini, extensions.sqlite and localstore.rdf. Deleting these files will force Firefox to rebuild the list of installed extensions, checking their compatibility, and reset toolbar customizations.
    For details of how to find your profile folder see https://support.mozilla.com/kb/Profiles

  • Trying to unblock iPhone 4s.  made all the steps, at the end of restoring i get an error no. 9, and does not finish the restoring, who can help me?

    trying to unblock my iphone 4s, because i moved to another country and need to use another carrier.  followed all the steps to restore but at the end i received an error no. 9 and can not finish the restoring.  i asked my older carrier for the unblock permission, it should not be a problem. can someone help me?

    Read here:
    http://support.apple.com/kb/TS3694#error9

  • Installed "NEW" Flashplayer 11 SIX times...still does not work...HOW can I get this to work???

    First...I am NOT a developer...Just a "regular" user who is now fed up that once again, a new Adobe product has been released with bugs, so now I can no longer see whast I need to on my laptop. 
    Here's what I do know:
    IE 9
    Windows 7 - Home Version
    64 bit platform
    Tried to install your latest version of Flash Player six times...all of these times I received a confirmation that it was successfully completed.  NONE of those time did it work (tried YouTube, and your own site...nada).  I used the troubleshooting tips for Windows 7 and IE9...did not work.  And now I can't find a way to reinstall the old program that at least worked!  I need to be able to use this functionality to work today...what do I do?????

    Hello!
    I own a small company and we are having the same problems.
    IE9 is not working with the latest flash update infact the update has messed up flash complety for all sites once installed.  I went to YouTube eariler and it warned that I needed to install to the new Flash Player upon instaling and returning to YouTube it had the same message. This led us to download both the x86 and x64 versions and useing the uninstaller went through each one and tried the updates. None of the downloadable updates from Adobes site works. I have also loaded up Windows XP in a virtual machine and trying IE 8 with the latest updates and it as well does not work and does the same thing upon updateing it just keeps saying to install the latest update allthough it has allready been done!
    Now on the other hand I loaded FireFox and it had the same update and upon restarting the browser after applying the update and it works just fine!
    Im on a Windows 7 x64 Ultimate box and ran the WindowsXP in the VM. FireFox was loaded on the main OS and worked fine after said update.
    Of Course I have allready double checked the running addons in IE 9 and the files within the /system32/ and all the flash files go there (x86 and x64 were differnt named files)
    Im guessing there is something conflicting betwen IE (IE 8 and 9 tested)
    Now this is not just happining on this machine but all of our desktops and laptops no one has any trouble with FireFox working
    Also this will break all flash objects in IE even localy as now no flash works it acts like it is not installed.
    Guess will see how long this takes to get fixed or aknowledged...  lol

  • ADEP - Experience service trail version does not have CQ5-WCM. how can i get a trail version ?

    Hi
    The Trail version of ADEP - Experience Service does not have CQ5 WCM.
    is that a package i have to download and install from package share ?
    am really interested in getting my hands dirty on WCM
    can someone help?
    thanks
    veesy

    Tiger Requirements...
    To use Mac OS X 10.4 Tiger, your Macintosh needs:
        * A PowerPC G3, G4, or G5 processor
        * Built-in FireWire
        * At least 256 MB of RAM (I recommend 1GB minimum)
        * DVD drive (DVD-ROM), Combo (CD-RW/DVD-ROM) or SuperDrive (DVD-R) for installation
        * At least 3 GB of free disk space; 4 GB if you install the XCode 2 Developer Tools  (I recommend 20GB minimum)
    http://support.apple.com/kb/HT1514
    Gray Discs are all machine specific...
    http://www.ebay.com/sch/i.html?_nkw=mac+os+x+tiger+retail+10.4
    See Tom's, (Texas Mac Man), great info on where/how to find/get Tiger...
    https://discussions.apple.com/message/15305521#15305521
    Or Ali Brown's great info on where/how to find/get Tiger...
    http://discussions.apple.com/thread.jspa?messageID=10381710#10381710

  • How can I downgrade an operating system our bluetooth worked ok on the 4.2.1 system but now we are on the latest system it does not work properly so how can we get the old system back

    how can I downgrade my operating system as my bluetooth work ok with my holde commodore on the 4.2.1 system but now it is upgraded to the latest system it does not operate properley

    thankyou but it looks like we won't be buying another iphone

  • Adobe CR 6.7 does not install into CS5, how can I get this installed to view CR files?

    Just installed CS5 onto new computer. Adobe bridge and CS5 do not recognize CR format. How can I get this installed. I have tried up dating and downloading the CR6.7 update, but can not get it to install. What do I do?

    Product updates

  • I have dial-up internet service an use hypernet with my service,Firefox does not recogize the hypernet how can I get them to connect?

    Kcnet provides a Hypernet to help with my dial-up service,Firefox doesn't allow the hypernet to work,how can I make this work.

    AirPort Express 3 is not actually "extending" the network at all, since Apple's "Extend a wireless network" will only allow the wireless signal to be extended one time or one level.
    The trick with AirPort Express 3.....which may nor may not be possible due to your home layout.....is that AirPort Express 3 must be about the same distance from Big AirPort as AirPort Express 1 and 2.......AND......it needs to be closer to Big AirPort than it is to either AirPort Express 1 and 2.
    That way AirPort 3 will pick up a stronger signal from Big AirPort and it extend the network correctly.

  • GetEdgeCurrentSlice API does not work

    Hi
    I am trying to use the dataAccess.getEdgeCurrentSlice API to get the current selected value of a drop down box in the Page Item. However, every time when I pressed the "Go" button, the return value of the getEdgeCurrentSlice API does not return the current selected value but instead it display the previous value of the drop down box.
    For example: The first time I selected the 3rd element in the drop down list and pressed "Go", the return value is 0 and the second time I selected the 4th element of the drop down list and pressed "Go", it returned 3 and the third time when I selected the 2nd element and pressed "Go", it returned 4.
    I am not sure if this API is returning the current slice value or it returns the previous slice value.
    Thanks
    Byron

    Try using this code sample:
    String pgDim, pgDimMbr;
    int pgLayerCount = DataAccess.getLayerCount(DataDirector.PAGE_EDGE);
    int pgCurrSlice =
    DataAccess.getEdgeCurrentSlice(DataDirector.PAGE_EDGE);
    for (int i = 0; i++; i < pgLayerCount)
    pgDim =
    (String)DataAccess.getLayerMetadata(DataDirector.PAGE_EDGE, i,
    LayerMetadataMap.LAYER_METADATA_NAME);
    pgDimMbr =
    (String)DataAccess.getMemberMetadata(DataDirector.PAGE_EDGE, i,
    pgCurrSlice, METADATA_VALUE);

Maybe you are looking for

  • Difference between Unique key and Unique index

    Hi All, I've got confused in the difference between unique index & unique key in a table. While we create a unique index on a table, its created as a unique index. On the other hand, if we create a unique key/constraint on the table, Oracle also crea

  • How to do a last command before closing JFrame?

    Hi, I'm working on a GUI, and there is a TextArea, which is set to the System.out.print commands, and i'd like it to save into a file, when i close the jframe, by pressing the X in the upper right corner. I've made a working saving void, the only pro

  • Problem accessing Infosets using Query with SQL

    Hi, I have Lumira desktop version 1.18.0. Using the Query with SQL connection, I successfully connected to SAP R/3 6. I was able to view the User Groups under CATALOG_VIEW, but it seems I cannot go beyong this point and select an Infoset. When I clic

  • Broken Links Index Keyword

    Hello All, I have a bunch of index keywords that show up under Broken Links and I can't seem to resolve them. RoboHelp help has a topic, "Removing topic references from keywords" but their procedure doesn't work for me. If anyone has figured out a fi

  • Slide show only plays Theme Music

    Using iPhoto 9.5.1 and Mavericks 10.9.4 I made a new slide show and after selecting it and clicking on Music, I have clicked the check box for Play Music during Slideshow. Theme music plays perfectly.  I can see my iTunes library and select music, bu