query.html
来自「基于mondrian 开源框架进行OLAP多维分析」· HTML 代码 · 共 1,467 行 · 第 1/5 页
HTML
1,467 行
<TD><CODE><B><A HREF="../../mondrian/olap/Query.html#cancel()">cancel</A></B>()</CODE><BR> Issues a cancel request on this Query object.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../mondrian/olap/Query.html#canRemoveFormula(java.lang.String)">canRemoveFormula</A></B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> uniqueName)</CODE><BR> Returns whether a formula can safely be removed from the query.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../mondrian/olap/Query.html#checkCancelOrTimeout()">checkCancelOrTimeout</A></B>()</CODE><BR> Checks if either a cancel request has been issued on the query or the execution time has exceeded the timeout value (if one has been set).</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../mondrian/olap/Query.html#clearEvalCache()">clearEvalCache</A></B>()</CODE><BR> Remove all entries in the evaluation cache</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../mondrian/olap/Query.html#clone()">clone</A></B>()</CODE><BR> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../mondrian/calc/Calc.html" title="interface in mondrian.calc">Calc</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../mondrian/olap/Query.html#compileExpression(mondrian.olap.Exp, boolean, mondrian.calc.ResultStyle)">compileExpression</A></B>(<A HREF="../../mondrian/olap/Exp.html" title="interface in mondrian.olap">Exp</A> exp, boolean scalar, <A HREF="../../mondrian/calc/ResultStyle.html" title="enum in mondrian.calc">ResultStyle</A> resultStyle)</CODE><BR> Compiles an expression, using a cached compiled expression if available.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../mondrian/calc/ExpCompiler.html" title="interface in mondrian.calc">ExpCompiler</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../mondrian/olap/Query.html#createCompiler()">createCompiler</A></B>()</CODE><BR> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../mondrian/olap/Validator.html" title="interface in mondrian.olap">Validator</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../mondrian/olap/Query.html#createValidator()">createValidator</A></B>()</CODE><BR> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../mondrian/olap/Validator.html" title="interface in mondrian.olap">Validator</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../mondrian/olap/Query.html#createValidator(mondrian.olap.FunTable)">createValidator</A></B>(<A HREF="../../mondrian/olap/FunTable.html" title="interface in mondrian.olap">FunTable</A> functionTable)</CODE><BR> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../mondrian/olap/Formula.html" title="class in mondrian.olap">Formula</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../mondrian/olap/Query.html#findFormula(java.lang.String)">findFormula</A></B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> uniqueName)</CODE><BR> Looks up a calculated member or set defined in this Query.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../mondrian/olap/QueryAxis.html" title="class in mondrian.olap">QueryAxis</A>[]</CODE></FONT></TD><TD><CODE><B><A HREF="../../mondrian/olap/Query.html#getAxes()">getAxes</A></B>()</CODE><BR> Returns an array of this query's axes.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="http://java.sun.com/javase/6/docs/api/java/util/Set.html" title="class or interface in java.util">Set</A><<A HREF="../../mondrian/rolap/RolapCube.html" title="class in mondrian.rolap">RolapCube</A>></CODE></FONT></TD><TD><CODE><B><A HREF="../../mondrian/olap/Query.html#getBaseCubes()">getBaseCubes</A></B>()</CODE><BR> return the set of base cubes associated with the virtual cube referenced in this query</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A>[]</CODE></FONT></TD><TD><CODE><B><A HREF="../../mondrian/olap/Query.html#getChildren()">getChildren</A></B>()</CODE><BR> Returns an array of the object's children.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../mondrian/olap/Connection.html" title="interface in mondrian.olap">Connection</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../mondrian/olap/Query.html#getConnection()">getConnection</A></B>()</CODE><BR> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../mondrian/olap/Cube.html" title="interface in mondrian.olap">Cube</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../mondrian/olap/Query.html#getCube()">getCube</A></B>()</CODE><BR> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>(package private) <A HREF="http://java.sun.com/javase/6/docs/api/java/util/List.html" title="class or interface in java.util">List</A><<A HREF="../../mondrian/olap/Member.html" title="interface in mondrian.olap">Member</A>></CODE></FONT></TD><TD><CODE><B><A HREF="../../mondrian/olap/Query.html#getDefinedMembers()">getDefinedMembers</A></B>()</CODE><BR> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../mondrian/olap/Query.html#getEvalCache(java.lang.String)">getEvalCache</A></B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> key)</CODE><BR> Gets the Object associated with the value.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../mondrian/olap/Formula.html" title="class in mondrian.olap">Formula</A>[]</CODE></FONT></TD><TD><CODE><B><A HREF="../../mondrian/olap/Query.html#getFormulas()">getFormulas</A></B>()</CODE><BR> Returns an array of the formulas used in this query.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../mondrian/olap/Hierarchy.html" title="interface in mondrian.olap">Hierarchy</A>[]</CODE></FONT></TD><TD><CODE><B><A HREF="../../mondrian/olap/Query.html#getMdxHierarchiesOnAxis(mondrian.olap.AxisOrdinal)">getMdxHierarchiesOnAxis</A></B>(<A HREF="../../mondrian/olap/AxisOrdinal.html" title="enum in mondrian.olap">AxisOrdinal</A> axis)</CODE><BR> Returns <code>Hierarchy[]</code> used on <code>axis</code>.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="http://java.sun.com/javase/6/docs/api/java/util/Set.html" title="class or interface in java.util">Set</A><<A HREF="../../mondrian/olap/Member.html" title="interface in mondrian.olap">Member</A>></CODE></FONT></TD><TD><CODE><B><A HREF="../../mondrian/olap/Query.html#getMeasuresMembers()">getMeasuresMembers</A></B>()</CODE><BR> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../mondrian/olap/Parameter.html" title="interface in mondrian.olap">Parameter</A>[]</CODE></FONT></TD><TD><CODE><B><A HREF="../../mondrian/olap/Query.html#getParameters()">getParameters</A></B>()</CODE><BR> Returns the parameters defined in this query.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> long</CODE></FONT></TD><TD><CODE><B><A HREF="../../mondrian/olap/Query.html#getQueryStartTime()">getQueryStartTime</A></B>()</CODE><BR> Gets the query start time</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../mondrian/calc/ResultStyle.html" title="enum in mondrian.calc">ResultStyle</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../mondrian/olap/Query.html#getResultStyle()">getResultStyle</A></B>()</CODE><BR> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../mondrian/olap/SchemaReader.html" title="interface in mondrian.olap">SchemaReader</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../mondrian/olap/Query.html#getSchemaReader(boolean)">getSchemaReader</A></B>(boolean accessControlled)</CODE><BR> Returns a schema reader.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../mondrian/olap/QueryAxis.html" title="class in mondrian.olap">QueryAxis</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../mondrian/olap/Query.html#getSlicerAxis()">getSlicerAxis</A></B>()</CODE><BR> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../mondrian/olap/Query.html#hasCellProperty(java.lang.String)">hasCellProperty</A></B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> propertyName)</CODE><BR> Checks whether the property name is present in the query.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../mondrian/olap/Query.html#ignoreInvalidMembers()">ignoreInvalidMembers</A></B>()</CODE><BR> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../mondrian/olap/Query.html#isCellPropertyEmpty()">isCellPropertyEmpty</A></B>()</CODE><BR> Checks whether any cell property present in the query</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../mondrian/olap/Member.html" title="interface in mondrian.olap">Member</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../mondrian/olap/Query.html#lookupMemberFromCache(java.lang.String)">lookupMemberFromCache</A></B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> memberUniqueName)</CODE><BR> Looks up a member whose unique name is <code>memberUniqueName</code> from cache.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../mondrian/olap/Query.html#nativeCrossJoinVirtualCube()">nativeCrossJoinVirtualCube</A></B>()</CODE><BR> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../mondrian/olap/Query.html#putEvalCache(java.lang.String, java.lang.Object)">putEvalCache</A></B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> key, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A> value)</CODE><BR> Put an Object value into the evaluation cache with given key.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../mondrian/olap/Query.html#removeFormula(java.lang.String, boolean)">removeFormula</A></B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> uniqueName, boolean failIfUsedInQuery)</CODE><BR> Remove a formula from the query.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../mondrian/olap/Query.html#renameFormula(java.lang.String, java.lang.String)">renameFormula</A></B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> uniqueName, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> newName)</CODE><BR> Finds formula by name and renames it to new name.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../mondrian/olap/Query.html#resolve()">resolve</A></B>()</CODE><BR> Performs type-checking and validates internal consistency of a query, using the default resolver.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../mondrian/olap/Query.html#resolve(mondrian.olap.Validator)">resolve</A></B>(<A HREF="../../mondrian/olap/Validator.html" title="interface in mondrian.olap">Validator</A> validator)</CODE><BR> Performs type-checking and validates internal consistency of a query.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../mondrian/olap/Query.html" title="class in mondrian.olap">Query</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../mondrian/olap/Query.html#safeClone()">safeClone</A></B>()</CODE><BR> </TD>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?