Edit D:\app\Administrator\product\11.2.0\dbhome_1\olap\api\doc\overview-summary.html
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!--NewPage--> <HTML> <HEAD> <!-- Generated by javadoc (build 1.5.0_17) on Wed Aug 12 19:50:37 UTC 2009 --> <TITLE> Overview (Oracle OLAP Java API Reference) </TITLE> <META NAME="keywords" CONTENT="Overview"> <LINK REL ="stylesheet" TYPE="text/css" HREF="stylesheet.css" TITLE="Style"> <SCRIPT type="text/javascript"> function windowTitle() { parent.document.title="Overview (Oracle OLAP Java API Reference)"; } </SCRIPT> <NOSCRIPT> </NOSCRIPT> </HEAD> <BODY BGCOLOR="white" onload="windowTitle();"> <!-- ========= START OF TOP NAVBAR ======= --> <A NAME="navbar_top"><!-- --></A> <A HREF="#skip-navbar_top" title="Skip navigation links"></A> <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> <TR> <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A NAME="navbar_top_firstrow"><!-- --></A> <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> <TR ALIGN="center" VALIGN="top"> <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Overview</B></FONT> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Package</FONT> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Class</FONT> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="overview-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> </TR> </TABLE> </TD> <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> <b>Oracle® OLAP Java API Reference<br>11<i>g</i> Release 2 (11.2)</b><br>E10794-01<br>Beta Draft</EM> </TD> </TR> <TR> <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> PREV NEXT</FONT></TD> <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="index.html?overview-summary.html" target="_top"><B>FRAMES</B></A> <A HREF="overview-summary.html" target="_top"><B>NO FRAMES</B></A> <SCRIPT type="text/javascript"> <!-- if(window==top) { document.writeln('<A HREF="allclasses-noframe.html"><B>All Classes</B></A>'); } //--> </SCRIPT> <NOSCRIPT> <A HREF="allclasses-noframe.html"><B>All Classes</B></A> </NOSCRIPT> </FONT></TD> </TR> </TABLE> <A NAME="skip-navbar_top"></A> <!-- ========= END OF TOP NAVBAR ========= --> <HR> <P ALIGN=CENTER><FONT face="arial,helvetica" size=+2><B>Oracle® OLAP Java API Reference</B></font> <P> <B>See:</B> <BR> <A HREF="#overview_description"><B>Description</B></A> <P> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> <B>Packages</B></FONT></TH> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD WIDTH="20%"><B><A HREF="oracle/express/package-summary.html">oracle.express</A></B></TD> <TD>Contains classes that support processing in Oracle OLAP.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD WIDTH="20%"><B><A HREF="oracle/express/olapi/data/full/package-summary.html">oracle.express.olapi.data.full</A></B></TD> <TD>Contains an <CODE>Exception</CODE> class that might be encountered by a client application.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD WIDTH="20%"><B><A HREF="oracle/express/spl/package-summary.html">oracle.express.spl</A></B></TD> <TD>Contains classes that support the execution of OLAP DML commands in Oracle OLAP.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD WIDTH="20%"><B><A HREF="oracle/olapi/package-summary.html">oracle.olapi</A></B></TD> <TD>Contains an interface, a class, and exceptions that are of general use in the Oracle OLAP Java API.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD WIDTH="20%"><B><A HREF="oracle/olapi/data/cursor/package-summary.html">oracle.olapi.data.cursor</A></B></TD> <TD>Contains interfaces and classes for retrieving and accessing the result set of a query.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD WIDTH="20%"><B><A HREF="oracle/olapi/data/source/package-summary.html">oracle.olapi.data.source</A></B></TD> <TD>Contains classes that construct a query of the data in an Oracle Database.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD WIDTH="20%"><B><A HREF="oracle/olapi/metadata/package-summary.html">oracle.olapi.metadata</A></B></TD> <TD>Contains interfaces and classes that represent Oracle OLAP metadata objects and that provide those objects to an application.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD WIDTH="20%"><B><A HREF="oracle/olapi/metadata/deployment/package-summary.html">oracle.olapi.metadata.deployment</A></B></TD> <TD>Contains classes that specify the deployment of a logical OLAP model as relational OLAP (ROLAP) objects or as analytic workspace (AW) objects.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD WIDTH="20%"><B><A HREF="oracle/olapi/metadata/mapping/package-summary.html">oracle.olapi.metadata.mapping</A></B></TD> <TD>Contains classes that map the <CODE>MdmObject</CODE> objects of a logical OLAP model to physical storage structures in the Oracle Database.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD WIDTH="20%"><B><A HREF="oracle/olapi/metadata/mdm/package-summary.html">oracle.olapi.metadata.mdm</A></B></TD> <TD>Contains classes that represent data supporting the multidimensional model (MDM) for metadata.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD WIDTH="20%"><B><A HREF="oracle/olapi/resource/package-summary.html">oracle.olapi.resource</A></B></TD> <TD>Provides support for the internationalization of messages for <CODE>Exception</CODE> classes in the Oracle OLAP Java API.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD WIDTH="20%"><B><A HREF="oracle/olapi/session/package-summary.html">oracle.olapi.session</A></B></TD> <TD>Contains a class that represents a session that is associated with a specific connection to an Oracle Database instance.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD WIDTH="20%"><B><A HREF="oracle/olapi/syntax/package-summary.html">oracle.olapi.syntax</A></B></TD> <TD>Contains classes that represent data types, functions, commands, and data objects.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD WIDTH="20%"><B><A HREF="oracle/olapi/transaction/package-summary.html">oracle.olapi.transaction</A></B></TD> <TD>Contains interfaces that define classes that are involved in transactions between Oracle OLAP and an OLAP client application and <CODE>Exception</CODE> classes that an application might encounter.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD WIDTH="20%"><B><A HREF="oracle/olapi/transaction/metadataStateManager/package-summary.html">oracle.olapi.transaction.metadataStateManager</A></B></TD> <TD>Contains an interface to implement and associate with a <code>Template</code> object.</TD> </TR> </TABLE> <P> <A NAME="overview_description"><!-- --></A> <P> <P ALIGN=CENTER><FONT face="arial,helvetica" size=+2><B>Oracle® OLAP Java API Reference</B></font> </P> <P> <center>March 25, 2009</center> <P> This is the reference documentation for the Oracle OLAP Java API, the Java application programming interface for Oracle OLAP. This overview contains the following topics. <UL> <LI><a href="#changes"><font face="Helvetica" size=-1><B>Changes to the API</B></font> <LI><a href="#audience"><font face="Helvetica" size=-1><B>Intended Audience</B></font> <LI><a href="#before"><font face="Helvetica" size=-1><B>Before You Begin</B></font> <LI><a href="#jdkreq"><font face="Helvetica" size=-1><B>JDK Version Required</B></font> <LI><a href="#examples"><font face="Helvetica" size=-1><B>Examples of Using the Oracle OLAP Java API</B></font> <LI><a href="#compat"><font face="Helvetica" size=-1><B>Compatibility with Previous Releases</B></font> <LI><a href="#vals"><font face="Helvetica" size=-1><B>Unique and Local Values in the Oracle OLAP Java AP</B></font> <LI><a href="#accessdoc"><font face="Helvetica" size=-1><B>Documentation Accessibility</B></font> <LI><a href="#accesscode"><font face="Helvetica" size=-1><B>Accessibility of Code Examples in Documentation</B></font> <LI><a href="#accesslinks"><font face="Helvetica" size=-1><B>Accessibility of Links to External Web Sites in Documentation</B></font> <LI><a href="#reldoc"><font face="Helvetica" size=-1><B>Related Documentation</B></font> </UL> <a name="changes"></a> <P><font face="Helvetica"><B>Changes to the API</B></font> <P> For a description of the new features of the Oracle OLAP Java API for this release, see <a href="./doc-files/whatsnew.html">New Features</a>. <a name="audience"></a> <P><font face="Helvetica"><B>Intended Audience</B></font> <P> This documentation assumes that you are already familiar with Java, relational database management systems, data warehousing, and online analytical processing (OLAP) concepts. It is intended for Java programmers who are responsible for creating applications that create and maintain OLAP objects, build and maintain analytic workspaces, and perform online analytical processing. </P> <a name="before"></a> <P><font face="Helvetica"><B>Before You Begin</B></font> <P> To use the Oracle OLAP Java API, you must have access to an Oracle Database instance that has the OLAP option installed. An Oracle Database with the OLAP option provides the Oracle OLAP Java API classes, and other required classes, in JAR files. Before you can compile an Oracle OLAP Java API program, you must get the required JAR files and add them to your Java development environment. <P> The following table lists the required JAR files and their location under the <code>ORACLE_HOME</code> directory in an Oracle Database installation. <P> <table summary="List of required class libraries and their locations." border=1 cellspacing=0 cellpadding=3 hspace=10 width=300> <tr> <th id="c1">File Name</th> <th id="c2">Location</th> </tr> <tr> <td headers="c1"><CODE> olap_api.jar</CODE></td> <td headers="c2"><CODE> /olap/api/lib</CODE></td> </tr> <tr> <td headers="c1"><CODE> ojdbc5.jar</CODE></td> <td headers="c2"><CODE> /jdbc/lib</CODE></td> </tr> <tr> <td headers="c1"><CODE> xmlparserv2.jar</CODE></td> <td headers="c2"><CODE> /lib</CODE></td> </tr> </table> <P> You must use the JDBC files included in your Oracle Database installation and not those from another Oracle product or from another vendor. <P> For information on installing an Oracle Database with the OLAP option, see your Oracle Database installation documentation. For more information on administering the OLAP option, see <i>Oracle OLAP User's Guide</i>. <a name="jdkreq"></a> <P><font face="Helvetica"><B>JDK Version Required</B></font> <P> This release of the Oracle OLAP Java API requires J2SE Development Kit 5.0 (JDK 5.0). <a name="examples"></a> <P><font face="Helvetica"><B>Examples of Using the Oracle OLAP Java API</B></font> <P> In the examples of the Oracle OLAP Java API code in this documentation, the metadata objects are mapped to columns of the tables of the Global sample schema. You can download SQL scripts that create the Global schema from the Documentation section of the Oracle Technology Network (OTN) Web site at <P> <a href="http://www.oracle.com/technology/products/bi/olap/olap.html">http://www.oracle.com/technology/bi/olap/olap.html</a> <P> To download the sample schema, in the Download section select <b>Sample Code and Schemas</b> and then select <b>Global Schema 11<i>g</i></b>. <P> From the OTN Web site You can also download a compressed file that contains example programs that include the code from the examples in this documentation and the examples in <I>Oracle OLAP Java API Developer's Guide</I>. To download the example programs, in the Download section select <b>Sample Code and Schemas</b> and then select <b>Example Programs for Documentation</b>. <P> For more information on the example programs, see <a href="./doc-files/ExamplePrograms.html">Example Oracle OLAP Java API Programs</a>. <a name="compat"></a> <P><font face="Helvetica"><B>Compatibility with Previous Releases</B></font> <P> Programs that use previous releases of the Oracle OLAP Java API can run on Oracle Database, 11<i>g</i> Release 1 (11.1), depending on the metadata reader mode. You can specify the metadata reader mode when you create a <CODE>DataProvider</CODE>, or a <CODE>UserSession</CODE> for a <CODE>DataProvider</CODE>. The mode specifies the type of metadata that Oracle OLAP recognizes and makes available to the client application. By default, Oracle OLAP recognizes all types of metadata. For information about setting the metadata reader mode, see the <CODE>DataProvider</CODE> class description. For information about using namespaces to specify an Oracle OLAP metadata object that was created in a 10<i>g</i> release see <a href="./oracle/olapi/metadata/mdm/MdmMetadataProvider.html#namespaces">Using Namespaces</a> in the description of <CODE>MdmMetadataProvider</CODE>. You can use 10<i>g</i> metadata objects to query data but you cannot modify the metadata objects or create new persistent objects. <a name="vals"></a> <P><font face="Helvetica"><B>Unique and Local Values in the Oracle OLAP Java API</B></font> <P> The members of an Oracle OLAP dimension are often organized into one or more hierarchies. Some hierarchies have parent-child relationships based on levels and some have those relationships based on values. The Oracle OLAP Java API uses a three-part format to specify the hierarchy, the level, and the value of a dimension member, and thereby identify a <I>unique value</I>. The first part of a unique value is the name of the hierarchy object, the second part is the name of the level object, and the third part is the value of the member in the level. The parts of the unique value are separated by a value separation string, which by default is double colons (<code>::</code>). The following is an example of unique value in the <CODE>YEAR</CODE> level of the <CODE>CALENDAR</CODE> hierarchy of the <CODE>TIME</CODE> dimension: <P> <CODE>CALENDAR_YEAR::YEAR::CY2001</CODE> <P> The third part of a unique value is the <I>local value</I>. In the preceding example, the local value is <CODE>CY2001</CODE>, which is the identifier for the year 2001 in the Global schema. The Oracle OLAP Java API has classes and methods that you can use to get the local values of dimension members. See the descriptions of the <CODE>MdmPrimaryDimension</CODE> and <CODE>MdmDimensionMemberInfo</CODE> classes for more information about unique and local values. <P> An application can specify that Oracle OLAP use unique or local dimension hierarchy values by setting the <CODE>HierarchyValueType</CODE> property in a <CODE>java.util.Properties</CODE> object and using the <CODE>Properties</CODE> object to construct an <CODE>DataProvider</CODE>. The use of <CODE>Model</CODE> objects requires unique hierarchy values. <P> The selection of dimension members in the query must match the setting of the property. For a complex query, using unique dimension hierarchy values generally provides faster performance when Oracle OLAP fetches the data. <a name="accessdoc"></a> <P><font face="Helvetica"><B>Documentation Accessibility</B></font> <P> Our goal is to make Oracle products, services, and supporting documentation accessible to all users, including users that are disabled. To that end, our documentation includes features that make information available to users of assistive technology. This documentation is available in HTML format, and contains markup to facilitate access by the disabled community. Accessibility standards will continue to evolve over time, and Oracle is actively engaged with other market-leading technology vendors to address technical obstacles so that our documentation can be accessible to all of our customers. For more information, visit the Oracle Accessibility Program Web site at <P> <a href="http://www.oracle.com/accessibility/">http://www.oracle.com/accessibility/</a>. <a name="accesscode"></a> <P><font face="Helvetica"><B>Accessibility of Code Examples in Documentation</B></font> <P> Screen readers may not always correctly read the code examples in this document. The conventions for writing code require that closing braces should appear on an otherwise empty line; however, some screen readers may not always read a line of text that consists solely of a bracket or brace. <a name="accesslinks"></a> <P><font face="Helvetica"><B>Accessibility of Links to External Web Sites in Documentation</B></font> <P> This documentation may contain links to Web sites of other companies or organizations that Oracle does not own or control. Oracle neither evaluates nor makes any representations regarding the accessibility of these Web sites. <a name="reldoc"></a> <P><font face="Helvetica"><B>Related Documentation</B></font> <P> The following documentation is helpful when using Oracle OLAP. <UL> <LI><I>Oracle OLAP Java API Developer's Guide</I> – Introduces the Oracle OLAP Java API, a Java application programming interface for defining, building, and maintaining Oracle OLAP analytic workspaces, and for performing online analytical processing of the data stored in an Oracle Database instance. Describes the API and how to create or discover Oracle OLAP metadata, create and maintain OLAP objects and analytic workspaces, and create queries and retrieve data. <P> <LI><I>Oracle OLAP User's Guide</I> – Explains how SQL and Java applications can extend their analytic processing capabilities by using the OLAP option in the Enterprise Edition of Oracle Database. <P> <LI><I>Oracle OLAP DML Reference</I> – Describes the OLAP Data Manipulation Language (OLAP DML), which is the native language for defining and manipulating analytic workspace objects. <P> <LI><I>Oracle Warehouse Builder Concepts</I> – Discusses the database structures, concepts, and issues involved in creating a data warehouse to support online analytical processing solutions. </UL> <P> <P> <HR> <!-- ======= START OF BOTTOM NAVBAR ====== --> <A NAME="navbar_bottom"><!-- --></A> <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A> <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> <TR> <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A NAME="navbar_bottom_firstrow"><!-- --></A> <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> <TR ALIGN="center" VALIGN="top"> <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Overview</B></FONT> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Package</FONT> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Class</FONT> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="overview-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> </TR> </TABLE> </TD> <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> <center>Copyright © 2002, 2009, Oracle. All rights reserved.</center></EM> </TD> </TR> <TR> <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> PREV NEXT</FONT></TD> <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="index.html?overview-summary.html" target="_top"><B>FRAMES</B></A> <A HREF="overview-summary.html" target="_top"><B>NO FRAMES</B></A> <SCRIPT type="text/javascript"> <!-- if(window==top) { document.writeln('<A HREF="allclasses-noframe.html"><B>All Classes</B></A>'); } //--> </SCRIPT> <NOSCRIPT> <A HREF="allclasses-noframe.html"><B>All Classes</B></A> </NOSCRIPT> </FONT></TD> </TR> </TABLE> <A NAME="skip-navbar_bottom"></A> <!-- ======== END OF BOTTOM NAVBAR ======= --> <HR> </BODY> </HTML>
Ms-Dos/Windows
Unix
Write backup
jsp File Browser version 1.2 by
www.vonloesch.de