⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 operatorservice.html

📁 数据挖掘方面最新软件
💻 HTML
📖 第 1 页 / 共 2 页
字号:
<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#com.rapidminer.tools.OperatorService.MAIN_OPERATORS_NAME">Constant Field Values</A></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="OperatorService()"><!-- --></A><H3>OperatorService</H3><PRE>public <B>OperatorService</B>()</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="getMainOperators()"><!-- --></A><H3>getMainOperators</H3><PRE>public static java.net.URL <B>getMainOperators</B>()</PRE><DL><DD>Returns the main operator description file (XML).<P><DD><DL></DL></DD></DL><HR><A NAME="registerOperators(java.lang.String, java.io.InputStream, java.lang.ClassLoader, boolean)"><!-- --></A><H3>registerOperators</H3><PRE>public static void <B>registerOperators</B>(java.lang.String&nbsp;name,                                     java.io.InputStream&nbsp;operatorsXML,                                     java.lang.ClassLoader&nbsp;classLoader,                                     boolean&nbsp;addWekaOperators)</PRE><DL><DD>Registers all operators from a given XML input stream.<P><DD><DL></DL></DD></DL><HR><A NAME="registerOperator(com.rapidminer.operator.OperatorDescription)"><!-- --></A><H3>registerOperator</H3><PRE>public static void <B>registerOperator</B>(<A HREF="../../../com/rapidminer/operator/OperatorDescription.html" title="class in com.rapidminer.operator">OperatorDescription</A>&nbsp;description)                             throws java.lang.Exception</PRE><DL><DD>Registers the given operator description. Please note that two different descriptions must not have the same name. Otherwise the second description overwrite the first in the description map.<P><DD><DL><DT><B>Throws:</B><DD><CODE>java.lang.Exception</CODE></DL></DD></DL><HR><A NAME="getIOObjectsNames()"><!-- --></A><H3>getIOObjectsNames</H3><PRE>public static java.util.Set&lt;java.lang.String&gt; <B>getIOObjectsNames</B>()</PRE><DL><DD>Returns a sorted set of all short IO object names.<P><DD><DL></DL></DD></DL><HR><A NAME="defineXMLAliasPairs()"><!-- --></A><H3>defineXMLAliasPairs</H3><PRE>public static void <B>defineXMLAliasPairs</B>()</PRE><DL><DD>Defines the alias pairs for the <A HREF="../../../com/rapidminer/tools/XMLSerialization.html" title="class in com.rapidminer.tools"><CODE>XMLSerialization</CODE></A> for all IOObject pairs.<P><DD><DL></DL></DD></DL><HR><A NAME="getOperatorsDelivering(java.lang.Class)"><!-- --></A><H3>getOperatorsDelivering</H3><PRE>public static java.util.Set&lt;<A HREF="../../../com/rapidminer/operator/OperatorDescription.html" title="class in com.rapidminer.operator">OperatorDescription</A>&gt; <B>getOperatorsDelivering</B>(java.lang.Class&nbsp;ioObject)</PRE><DL><DD>Returns a collection of all operator descriptions of operators which return the desired IO object as output.<P><DD><DL></DL></DD></DL><HR><A NAME="getOperatorsRequiring(java.lang.Class)"><!-- --></A><H3>getOperatorsRequiring</H3><PRE>public static java.util.Set&lt;<A HREF="../../../com/rapidminer/operator/OperatorDescription.html" title="class in com.rapidminer.operator">OperatorDescription</A>&gt; <B>getOperatorsRequiring</B>(java.lang.Class&nbsp;ioObject)</PRE><DL><DD>Returns a collection of all operator descriptions which requires the given IO object as input.<P><DD><DL></DL></DD></DL><HR><A NAME="getIOObjectClass(java.lang.String)"><!-- --></A><H3>getIOObjectClass</H3><PRE>public static java.lang.Class&lt;<A HREF="../../../com/rapidminer/operator/IOObject.html" title="interface in com.rapidminer.operator">IOObject</A>&gt; <B>getIOObjectClass</B>(java.lang.String&nbsp;name)</PRE><DL><DD>Returns the class for the short name of an IO object.<P><DD><DL></DL></DD></DL><HR><A NAME="getOperatorNames()"><!-- --></A><H3>getOperatorNames</H3><PRE>public static java.util.Set&lt;java.lang.String&gt; <B>getOperatorNames</B>()</PRE><DL><DD>Returns a collection of all operator names. A name has the structure classname|subclassname.<P><DD><DL></DL></DD></DL><HR><A NAME="getGroups()"><!-- --></A><H3>getGroups</H3><PRE>public static <A HREF="../../../com/rapidminer/tools/GroupTree.html" title="class in com.rapidminer.tools">GroupTree</A> <B>getGroups</B>()</PRE><DL><DD>Returns the group hierarchy of all operators.<P><DD><DL></DL></DD></DL><HR><A NAME="reloadIcons()"><!-- --></A><H3>reloadIcons</H3><PRE>public static void <B>reloadIcons</B>()</PRE><DL><DD>Reload all icons, e.g. after a look and feel change.<P><DD><DL></DL></DD></DL><HR><A NAME="getOperatorDescriptions(java.lang.Class)"><!-- --></A><H3>getOperatorDescriptions</H3><PRE>public static <A HREF="../../../com/rapidminer/operator/OperatorDescription.html" title="class in com.rapidminer.operator">OperatorDescription</A>[] <B>getOperatorDescriptions</B>(java.lang.Class&nbsp;clazz)</PRE><DL><DD>Returns the operator descriptions for the operators which uses the given class. Performs a linear seach through all operator descriptions.<P><DD><DL></DL></DD></DL><HR><A NAME="getOperatorDescription(java.lang.String)"><!-- --></A><H3>getOperatorDescription</H3><PRE>public static <A HREF="../../../com/rapidminer/operator/OperatorDescription.html" title="class in com.rapidminer.operator">OperatorDescription</A> <B>getOperatorDescription</B>(java.lang.String&nbsp;completeName)</PRE><DL><DD>Returns the operator description for a given class name from the operators.xml file, e.g. &quot;Process&quot; for a ProcessRootOperator.<P><DD><DL></DL></DD></DL><HR><A NAME="createOperator(java.lang.String)"><!-- --></A><H3>createOperator</H3><PRE>public static <A HREF="../../../com/rapidminer/operator/Operator.html" title="class in com.rapidminer.operator">Operator</A> <B>createOperator</B>(java.lang.String&nbsp;typeName)                               throws <A HREF="../../../com/rapidminer/operator/OperatorCreationException.html" title="class in com.rapidminer.operator">OperatorCreationException</A></PRE><DL><DD>Use this method to create an operator from the given class name (from operator description file operators.xml, not from the Java class name). For most operators, is is recommended to use the method  <A HREF="../../../com/rapidminer/tools/OperatorService.html#createOperator(java.lang.Class)"><CODE>createOperator(Class)</CODE></A> which can be checked during compile time. This is, however, not possible for some generic operators like the  Weka operators. In that case, you have to use this method with the  argument from the operators.xml file, e.g. <tt>createOperator(&quot;J48&quot;)</tt> for a J48 decision tree learner.<P><DD><DL><DT><B>Throws:</B><DD><CODE><A HREF="../../../com/rapidminer/operator/OperatorCreationException.html" title="class in com.rapidminer.operator">OperatorCreationException</A></CODE></DL></DD></DL><HR><A NAME="createOperator(com.rapidminer.operator.OperatorDescription)"><!-- --></A><H3>createOperator</H3><PRE>public static <A HREF="../../../com/rapidminer/operator/Operator.html" title="class in com.rapidminer.operator">Operator</A> <B>createOperator</B>(<A HREF="../../../com/rapidminer/operator/OperatorDescription.html" title="class in com.rapidminer.operator">OperatorDescription</A>&nbsp;description)                               throws <A HREF="../../../com/rapidminer/operator/OperatorCreationException.html" title="class in com.rapidminer.operator">OperatorCreationException</A></PRE><DL><DD>Use this method to create an operator of a given description object.<P><DD><DL><DT><B>Throws:</B><DD><CODE><A HREF="../../../com/rapidminer/operator/OperatorCreationException.html" title="class in com.rapidminer.operator">OperatorCreationException</A></CODE></DL></DD></DL><HR><A NAME="createOperator(java.lang.Class)"><!-- --></A><H3>createOperator</H3><PRE>public static &lt;T extends <A HREF="../../../com/rapidminer/operator/Operator.html" title="class in com.rapidminer.operator">Operator</A>&gt; T <B>createOperator</B>(java.lang.Class&lt;T&gt;&nbsp;clazz)                                         throws <A HREF="../../../com/rapidminer/operator/OperatorCreationException.html" title="class in com.rapidminer.operator">OperatorCreationException</A></PRE><DL><DD><p>Use this method to create an operator from an operator class. This is the only method which ensures operator existence checks during compile time (and not during runtime) and the usage  of this method is therefore the recommended way for operator creation. </p>  <p>It is, however, not possible to create some generic operators with this method (this mainly applies to the Weka operators). Please use the method <A HREF="../../../com/rapidminer/tools/OperatorService.html#createOperator(java.lang.String)"><CODE>createOperator(String)</CODE></A> for those generic operators.</p>  <p>If you try to create a generic operator with this method, the OperatorDescription will not be unique for the given class and an OperatorCreationException is thrown.</p>  <p>Please note that is is not necessary to cast the operator to the desired class.</p>  TODO: can we remove the supress warning here?<P><DD><DL><DT><B>Throws:</B><DD><CODE><A HREF="../../../com/rapidminer/operator/OperatorCreationException.html" title="class in com.rapidminer.operator">OperatorCreationException</A></CODE></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>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="class-use/OperatorService.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>  </TR></TABLE></TD><TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM><a href="http://sourceforge.net"><img src="http://sourceforge.net/sflogo.php?group_id=114160&amp;type=2" width="125" height="37" border="0" alt="SourceForge.net Logo" /></a></EM></TD></TR><TR><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">&nbsp;<A HREF="../../../com/rapidminer/tools/Ontology.html" title="class in com.rapidminer.tools"><B>PREV CLASS</B></A>&nbsp;&nbsp;<A HREF="../../../com/rapidminer/tools/OutputStreamMultiplier.html" title="class in com.rapidminer.tools"><B>NEXT CLASS</B></A></FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">  <A HREF="../../../index.html?com/rapidminer/tools/OperatorService.html" target="_top"><B>FRAMES</B></A>  &nbsp;&nbsp;<A HREF="OperatorService.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;&nbsp;<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:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD></TR></TABLE><A NAME="skip-navbar_bottom"></A><!-- ======== END OF BOTTOM NAVBAR ======= --><HR><i>Copyright &#169; 2001-2008 by <a href="http://rapid-i.com" target="_blank">Rapid-I</a></i></BODY></HTML>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -