Skip to content

Commit

Permalink
Changes the references to "mdx query model" to "mdx object model". Th…
Browse files Browse the repository at this point in the history
…is section refers to the object model. The query model is the org.olap4j.query package.

Removes the Catalog parameter form the SSAS connection example.

git-svn-id: https://olap4j.svn.sourceforge.net/svnroot/olap4j/trunk@442 c6a108a4-781c-0410-a6c6-c2d559e19af0
  • Loading branch information
lucboudreau committed Apr 11, 2011
1 parent bd99422 commit 5a52a1e
Showing 1 changed file with 12 additions and 13 deletions.
25 changes: 12 additions & 13 deletions doc/olap4j_fs.html
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ <h2><a name="Contents">Contents</a></h2>
CellSetMetaData interface</a></li>
</ol>
</li>
<li><a href="#MDX_query_model">MDX parse tree model</a>
<li><a href="#MDX_object_model">MDX parse tree model</a>
<ol>
<li><a href="#The_ParseTreeWriter_class">The ParseTreeWriter
class</a></li>
Expand Down Expand Up @@ -623,8 +623,7 @@ <h3>2.2. <a name="Connections">Connections</a></h3>
Class.forName(&quot;org.olap4j.driver.xmla.XmlaOlap4jDriver&quot;);<br/>
Connection connection =<br/>
&nbsp;&nbsp;&nbsp; DriverManager.getConnection(<br/>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &quot;jdbc:xmla:Server=http://localhost/xmla/msxisapi.dll;&quot;<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
+ &quot;Catalog=FoodMart&quot;);<br/>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &quot;jdbc:xmla:Server=http://localhost/xmla/msxisapi.dll&quot;<br/>
OlapWrapper wrapper = (OlapWrapper) connection;<br/>
OlapConnection olapConnection = wrapper.unwrap(OlapConnection.class);<br/>
OlapStatement statement = connection.createStatement();<br/>
Expand Down Expand Up @@ -1078,30 +1077,30 @@ <h4>2.3.10. <a name="The_CellSetMetaData_interface">The
<li><code>CellSetAxisMetaData getSlicerAxisMetaData()</code></li>
</ul>

<h3>2.4. <a name="MDX_query_model">MDX query model</a></h3>
<h3>2.4. <a name="MDX_object_model">MDX object model</a></h3>

<p>The MDX query model represents a parsed MDX statement.</p>
<p>The MDX object model represents a parsed MDX statement.</p>

<p>An MDX query model can be created in three ways:</p>
<p>An MDX object model can be created in three ways:</p>

<ul>

<li>The MDX parser parses an MDX string to create an MDX query model;</li>
<li>Client code programmatically builds a query model by calling API methods;</li>
<li>Code in the transform package manipulates query model in response to
<li>The MDX parser parses an MDX string to create an MDX object model;</li>
<li>Client code programmatically builds a model by calling API methods;</li>
<li>Code in the transform package manipulates the model in response to
graphical operations.</li>
</ul>

<p>An MDX query model can exist in an <i>un-validated</i> and <i>validated</i>
<p>An MDX object model can exist in an <i>un-validated</i> and <i>validated</i>
state. In the un-validated state, identifiers and function calls exist as raw
strings, and no type information has been assigned. During validation,
identifiers are resolved to specific MDX objects (members, etc.), type
information is assigned, and if a function exists in several overloaded forms, a
specific instance is chosen based upon the types of its arguments.</p>

<p>Any MDX query model can be serialized to a string containing MDX text.</p>
<p>Any MDX object model can be serialized to a string containing MDX text.</p>

<p>An MDX query model can be converted into a statement. For example,</p>
<p>An MDX object model can be converted into a statement. For example,</p>

<div class="code">
import org.olap.*;<br/>
Expand Down Expand Up @@ -1132,7 +1131,7 @@ <h3>2.4. <a name="MDX_query_model">MDX query model</a></h3>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
new IdentifierNode(IdentifierNode.ofNames(&quot;Unit Sales&quot;).getSegmentList()))));<br/>
<br/>
// Create a statement based upon the query model.<br/>
// Create a statement based upon the object model.<br/>
OlapStatement stmt;<br/>
try {<br/>
&nbsp;&nbsp;&nbsp; stmt = connection.createStatement();<br/>
Expand Down

0 comments on commit 5a52a1e

Please sign in to comment.