xmlahandler.html
来自「基于mondrian 开源框架进行OLAP多维分析」· HTML 代码 · 共 995 行 · 第 1/4 页
HTML
995 行
<PRE>public <A HREF="http://java.sun.com/javase/6/docs/api/java/util/Map.html" title="class or interface in java.util">Map</A><<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A>,<A HREF="../../mondrian/xmla/DataSourcesConfig.DataSource.html" title="class in mondrian.xmla">DataSourcesConfig.DataSource</A>> <B>getDataSourceEntries</B>()</PRE><DL><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="process(mondrian.xmla.XmlaRequest, mondrian.xmla.XmlaResponse)"><!-- --></A><H3>process</H3><PRE>public void <B>process</B>(<A HREF="../../mondrian/xmla/XmlaRequest.html" title="interface in mondrian.xmla">XmlaRequest</A> request, <A HREF="../../mondrian/xmla/XmlaResponse.html" title="interface in mondrian.xmla">XmlaResponse</A> response) throws <A HREF="../../mondrian/xmla/XmlaException.html" title="class in mondrian.xmla">XmlaException</A></PRE><DL><DD>Processes a request.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>request</CODE> - XML request, for example, "<SOAP-ENV:Envelope ...>".<DD><CODE>response</CODE> - Destination for response<DT><B>Throws:</B><DD><CODE><A HREF="../../mondrian/xmla/XmlaException.html" title="class in mondrian.xmla">XmlaException</A></CODE> - on error</DL></DD></DL><HR><A NAME="writeDatasetXmlSchema(mondrian.xmla.SaxWriter, mondrian.xmla.XmlaHandler.SetType)"><!-- --></A><H3>writeDatasetXmlSchema</H3><PRE>static void <B>writeDatasetXmlSchema</B>(<A HREF="../../mondrian/xmla/SaxWriter.html" title="interface in mondrian.xmla">SaxWriter</A> writer, mondrian.xmla.XmlaHandler.SetType settype)</PRE><DL><DD>Computes the XML Schema for a dataset.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>writer</CODE> - SAX writer<DD><CODE>settype</CODE> - rowset or dataset?<DT><B>See Also:</B><DD><A HREF="../../mondrian/xmla/RowsetDefinition.html#writeRowsetXmlSchema(mondrian.xmla.SaxWriter)"><CODE>RowsetDefinition.writeRowsetXmlSchema(SaxWriter)</CODE></A></DL></DD></DL><HR><A NAME="writeEmptyDatasetXmlSchema(mondrian.xmla.SaxWriter, mondrian.xmla.XmlaHandler.SetType)"><!-- --></A><H3>writeEmptyDatasetXmlSchema</H3><PRE>static void <B>writeEmptyDatasetXmlSchema</B>(<A HREF="../../mondrian/xmla/SaxWriter.html" title="interface in mondrian.xmla">SaxWriter</A> writer, mondrian.xmla.XmlaHandler.SetType setType)</PRE><DL><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="getConnection(mondrian.xmla.DataSourcesConfig.Catalog, mondrian.olap.Role, java.lang.String)"><!-- --></A><H3>getConnection</H3><PRE>protected <A HREF="../../mondrian/olap/Connection.html" title="interface in mondrian.olap">Connection</A> <B>getConnection</B>(<A HREF="../../mondrian/xmla/DataSourcesConfig.Catalog.html" title="class in mondrian.xmla">DataSourcesConfig.Catalog</A> catalog, <A HREF="../../mondrian/olap/Role.html" title="interface in mondrian.olap">Role</A> role, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> roleName) throws <A HREF="../../mondrian/xmla/XmlaException.html" title="class in mondrian.xmla">XmlaException</A></PRE><DL><DD>Gets a Connection given a catalog (and implicitly the catalog's data source) and a user role.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>catalog</CODE> - Catalog<DD><CODE>role</CODE> - User role<DD><CODE>roleName</CODE> - User role name<DT><B>Returns:</B><DD>Connection<DT><B>Throws:</B><DD><CODE><A HREF="../../mondrian/xmla/XmlaException.html" title="class in mondrian.xmla">XmlaException</A></CODE> - If error occurs</DL></DD></DL><HR><A NAME="getDataSource(mondrian.xmla.XmlaRequest)"><!-- --></A><H3>getDataSource</H3><PRE>public <A HREF="../../mondrian/xmla/DataSourcesConfig.DataSource.html" title="class in mondrian.xmla">DataSourcesConfig.DataSource</A> <B>getDataSource</B>(<A HREF="../../mondrian/xmla/XmlaRequest.html" title="interface in mondrian.xmla">XmlaRequest</A> request) throws <A HREF="../../mondrian/xmla/XmlaException.html" title="class in mondrian.xmla">XmlaException</A></PRE><DL><DD>Returns the DataSource associated with the request property or null if one was not specified.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>request</CODE> - Request<DT><B>Returns:</B><DD>DataSource for this request<DT><B>Throws:</B><DD><CODE><A HREF="../../mondrian/xmla/XmlaException.html" title="class in mondrian.xmla">XmlaException</A></CODE> - If error occurs</DL></DD></DL><HR><A NAME="getCatalog(mondrian.xmla.DataSourcesConfig.DataSource, java.lang.String)"><!-- --></A><H3>getCatalog</H3><PRE>public <A HREF="../../mondrian/xmla/DataSourcesConfig.Catalog.html" title="class in mondrian.xmla">DataSourcesConfig.Catalog</A> <B>getCatalog</B>(<A HREF="../../mondrian/xmla/DataSourcesConfig.DataSource.html" title="class in mondrian.xmla">DataSourcesConfig.DataSource</A> ds, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> catalogName)</PRE><DL><DD>Get the DataSourcesConfig.Catalog with the given catalog name from the DataSource's catalogs if there is a match and otherwise return null.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>ds</CODE> - DataSource<DD><CODE>catalogName</CODE> - Catalog name<DT><B>Returns:</B><DD>DataSourcesConfig.Catalog or null</DL></DD></DL><HR><A NAME="getCatalogs(mondrian.xmla.XmlaRequest, mondrian.xmla.DataSourcesConfig.DataSource)"><!-- --></A><H3>getCatalogs</H3><PRE>public <A HREF="../../mondrian/xmla/DataSourcesConfig.Catalog.html" title="class in mondrian.xmla">DataSourcesConfig.Catalog</A>[] <B>getCatalogs</B>(<A HREF="../../mondrian/xmla/XmlaRequest.html" title="interface in mondrian.xmla">XmlaRequest</A> request, <A HREF="../../mondrian/xmla/DataSourcesConfig.DataSource.html" title="class in mondrian.xmla">DataSourcesConfig.DataSource</A> ds)</PRE><DL><DD>Get array of DataSourcesConfig.Catalog returning only one entry if the catalog was specified as a property in the request or all catalogs associated with the Datasource if there was no catalog property.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>request</CODE> - Request<DD><CODE>ds</CODE> - DataSource<DT><B>Returns:</B><DD>Array of DataSourcesConfig.Catalog</DL></DD></DL><HR><A NAME="getCatalog(mondrian.xmla.XmlaRequest, mondrian.xmla.DataSourcesConfig.DataSource, boolean)"><!-- --></A><H3>getCatalog</H3><PRE>public <A HREF="../../mondrian/xmla/DataSourcesConfig.Catalog.html" title="class in mondrian.xmla">DataSourcesConfig.Catalog</A> <B>getCatalog</B>(<A HREF="../../mondrian/xmla/XmlaRequest.html" title="interface in mondrian.xmla">XmlaRequest</A> request, <A HREF="../../mondrian/xmla/DataSourcesConfig.DataSource.html" title="class in mondrian.xmla">DataSourcesConfig.DataSource</A> ds, boolean required) throws <A HREF="../../mondrian/xmla/XmlaException.html" title="class in mondrian.xmla">XmlaException</A></PRE><DL><DD>Returns the DataSourcesConfig.Catalog associated with the catalog name that is part of the request properties or null if there is no catalog with that name.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>request</CODE> - Request<DD><CODE>ds</CODE> - DataSource<DD><CODE>required</CODE> - Whether to throw an error if catalog name is not specified<DT><B>Returns:</B><DD>DataSourcesConfig Catalog or null<DT><B>Throws:</B><DD><CODE><A HREF="../../mondrian/xmla/XmlaException.html" title="class in mondrian.xmla">XmlaException</A></CODE> - If error occurs</DL></DD></DL><HR><A NAME="main(java.lang.String[])"><!-- --></A><H3>main</H3><PRE>public static void <B>main</B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A>[] args)</PRE><DL><DD><DL></DL></DD><DD><DL></DL></DD></DL><!-- ========= END OF CLASS DATA ========= --><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="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-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><a href="http://sourceforge.net/projects/mondrian"><img src="http://sourceforge.net/sflogo.php?group_id=35302&type=1" width="88" height="31" border="0" alt="SourceForge.net_Logo"></a></EM></TD></TR><TR><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../mondrian/xmla/XmlaException.html" title="class in mondrian.xmla"><B>PREV CLASS</B></A> <A HREF="../../mondrian/xmla/XmlaHandler.CellColumnHandler.html" title="class in mondrian.xmla"><B>NEXT CLASS</B></A></FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../index.html?mondrian/xmla/XmlaHandler.html" target="_top"><B>FRAMES</B></A> <A HREF="XmlaHandler.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><TR><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> SUMMARY: <A HREF="#nested_class_summary">NESTED</A> | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD></TR></TABLE><A NAME="skip-navbar_bottom"></A><!-- ======== END OF BOTTOM NAVBAR ======= --><HR></BODY></HTML>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?