rowsetdefinition.column.html
来自「基于mondrian 开源框架进行OLAP多维分析」· HTML 代码 · 共 630 行 · 第 1/2 页
HTML
630 行
</TABLE><A NAME="RESTRICTION"><!-- --></A><H3>RESTRICTION</H3><PRE>static final boolean <B>RESTRICTION</B></PRE><DL><DD>This is used as the true value for the restriction parameter.<P><DL><DT><B>See Also:</B><DD><A HREF="../../constant-values.html#mondrian.xmla.RowsetDefinition.Column.RESTRICTION">Constant Field Values</A></DL></DL><HR><A NAME="NOT_RESTRICTION"><!-- --></A><H3>NOT_RESTRICTION</H3><PRE>static final boolean <B>NOT_RESTRICTION</B></PRE><DL><DD>This is used as the false value for the restriction parameter.<P><DL><DT><B>See Also:</B><DD><A HREF="../../constant-values.html#mondrian.xmla.RowsetDefinition.Column.NOT_RESTRICTION">Constant Field Values</A></DL></DL><HR><A NAME="REQUIRED"><!-- --></A><H3>REQUIRED</H3><PRE>static final boolean <B>REQUIRED</B></PRE><DL><DD>This is used as the false value for the nullable parameter.<P><DL><DT><B>See Also:</B><DD><A HREF="../../constant-values.html#mondrian.xmla.RowsetDefinition.Column.REQUIRED">Constant Field Values</A></DL></DL><HR><A NAME="OPTIONAL"><!-- --></A><H3>OPTIONAL</H3><PRE>static final boolean <B>OPTIONAL</B></PRE><DL><DD>This is used as the true value for the nullable parameter.<P><DL><DT><B>See Also:</B><DD><A HREF="../../constant-values.html#mondrian.xmla.RowsetDefinition.Column.OPTIONAL">Constant Field Values</A></DL></DL><HR><A NAME="ONE_MAX"><!-- --></A><H3>ONE_MAX</H3><PRE>static final boolean <B>ONE_MAX</B></PRE><DL><DD>This is used as the false value for the unbounded parameter.<P><DL><DT><B>See Also:</B><DD><A HREF="../../constant-values.html#mondrian.xmla.RowsetDefinition.Column.ONE_MAX">Constant Field Values</A></DL></DL><HR><A NAME="UNBOUNDED"><!-- --></A><H3>UNBOUNDED</H3><PRE>static final boolean <B>UNBOUNDED</B></PRE><DL><DD>This is used as the true value for the unbounded parameter.<P><DL><DT><B>See Also:</B><DD><A HREF="../../constant-values.html#mondrian.xmla.RowsetDefinition.Column.UNBOUNDED">Constant Field Values</A></DL></DL><HR><A NAME="name"><!-- --></A><H3>name</H3><PRE>final <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> <B>name</B></PRE><DL><DL></DL></DL><HR><A NAME="type"><!-- --></A><H3>type</H3><PRE>final <A HREF="../../mondrian/xmla/RowsetDefinition.Type.html" title="enum in mondrian.xmla">RowsetDefinition.Type</A> <B>type</B></PRE><DL><DL></DL></DL><HR><A NAME="enumeration"><!-- --></A><H3>enumeration</H3><PRE>final <A HREF="../../mondrian/xmla/Enumeration.html" title="class in mondrian.xmla">Enumeration</A> <B>enumeration</B></PRE><DL><DL></DL></DL><HR><A NAME="description"><!-- --></A><H3>description</H3><PRE>final <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> <B>description</B></PRE><DL><DL></DL></DL><HR><A NAME="restriction"><!-- --></A><H3>restriction</H3><PRE>final boolean <B>restriction</B></PRE><DL><DL></DL></DL><HR><A NAME="nullable"><!-- --></A><H3>nullable</H3><PRE>final boolean <B>nullable</B></PRE><DL><DL></DL></DL><HR><A NAME="unbounded"><!-- --></A><H3>unbounded</H3><PRE>final boolean <B>unbounded</B></PRE><DL><DL></DL></DL><!-- ========= CONSTRUCTOR DETAIL ======== --><A NAME="constructor_detail"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"><B>Constructor Detail</B></FONT></TH></TR></TABLE><A NAME="RowsetDefinition.Column(java.lang.String, mondrian.xmla.RowsetDefinition.Type, mondrian.xmla.Enumeration, boolean, boolean, java.lang.String)"><!-- --></A><H3>RowsetDefinition.Column</H3><PRE><B>RowsetDefinition.Column</B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> name, <A HREF="../../mondrian/xmla/RowsetDefinition.Type.html" title="enum in mondrian.xmla">RowsetDefinition.Type</A> type, <A HREF="../../mondrian/xmla/Enumeration.html" title="class in mondrian.xmla">Enumeration</A> enumeratedType, boolean restriction, boolean nullable, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> description)</PRE><DL><DD>Creates a column.<P><DL><DT><B>Parameters:</B><DD><CODE>name</CODE> - Name of column<DD><CODE>type</CODE> - A <A HREF="../../mondrian/xmla/RowsetDefinition.Type.html" title="enum in mondrian.xmla"><CODE>RowsetDefinition.Type</CODE></A> value<DD><CODE>enumeratedType</CODE> - Must be specified for enumeration or array of enumerations<DD><CODE>description</CODE> - Description of column<DD><CODE>restriction</CODE> - Whether column can be used as a filter on its rowset<DD><CODE>nullable</CODE> - Whether column can contain null values<DT><B>Pre-condition:</B></DT> <DD>type != null, (type == Type.Enumeration || type == Type.EnumerationArray || type == Type.EnumString) == (enumeratedType != null), description == null || description.indexOf('\r') == -1</DD></DL></DL><HR><A NAME="RowsetDefinition.Column(java.lang.String, mondrian.xmla.RowsetDefinition.Type, mondrian.xmla.Enumeration, boolean, boolean, boolean, java.lang.String)"><!-- --></A><H3>RowsetDefinition.Column</H3><PRE><B>RowsetDefinition.Column</B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> name, <A HREF="../../mondrian/xmla/RowsetDefinition.Type.html" title="enum in mondrian.xmla">RowsetDefinition.Type</A> type, <A HREF="../../mondrian/xmla/Enumeration.html" title="class in mondrian.xmla">Enumeration</A> enumeratedType, boolean restriction, boolean nullable, boolean unbounded, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> description)</PRE><DL></DL><!-- ============ METHOD DETAIL ========== --><A NAME="method_detail"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"><B>Method Detail</B></FONT></TH></TR></TABLE><A NAME="get(java.lang.Object)"><!-- --></A><H3>get</H3><PRE>protected <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A> <B>get</B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A> row)</PRE><DL><DD>Retrieves a value of this column from a row. The base implementation uses reflection to call an accessor method; a derived class may provide a different implementation.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>row</CODE> - Row</DL></DD></DL><HR><A NAME="getFromField(java.lang.Object)"><!-- --></A><H3>getFromField</H3><PRE>protected final <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A> <B>getFromField</B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A> row)</PRE><DL><DD>Retrieves the value of this column "MyColumn" from a field called "myColumn".<P><DD><DL><DT><B>Parameters:</B><DD><CODE>row</CODE> - Current row<DT><B>Returns:</B><DD>Value of given this property of the given row</DL></DD></DL><HR><A NAME="getFromAccessor(java.lang.Object)"><!-- --></A><H3>getFromAccessor</H3><PRE>protected final <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A> <B>getFromAccessor</B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A> row)</PRE><DL><DD>Retrieves the value of this column "MyColumn" by calling a method called "getMyColumn()".<P><DD><DL><DT><B>Parameters:</B><DD><CODE>row</CODE> - Current row<DT><B>Returns:</B><DD>Value of given this property of the given row</DL></DD></DL><HR><A NAME="getColumnType()"><!-- --></A><H3>getColumnType</H3><PRE>public <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> <B>getColumnType</B>()</PRE><DL><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/RowsetDefinition.html" title="enum in mondrian.xmla"><B>PREV CLASS</B></A> <A HREF="../../mondrian/xmla/RowsetDefinition.DbschemaCatalogsRowset.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/RowsetDefinition.Column.html" target="_top"><B>FRAMES</B></A> <A HREF="RowsetDefinition.Column.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: NESTED | <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 + -
显示快捷键?