PageRenderTime 48ms CodeModel.GetById 20ms RepoModel.GetById 0ms app.codeStats 0ms

/solr/solr-details/docs/api/org/apache/solr/handler/component/StatsValuesFactory.html

https://bitbucket.org/zeroeth/punkscan
HTML | 272 lines | 217 code | 33 blank | 22 comment | 0 complexity | 403b178c4c3df2a6d67f2b361939e3dc MD5 | raw file
Possible License(s): Apache-2.0, BSD-3-Clause
  1. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
  2. <!--NewPage-->
  3. <HTML>
  4. <HEAD>
  5. <!-- Generated by javadoc (build 1.5.0_22) on Tue Dec 18 19:52:35 EST 2012 -->
  6. <META http-equiv="Content-Type" content="text/html; charset=utf-8">
  7. <TITLE>
  8. StatsValuesFactory (Solr 3.6.2 API)
  9. </TITLE>
  10. <META NAME="keywords" CONTENT="org.apache.solr.handler.component.StatsValuesFactory class">
  11. <LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../../stylesheet.css" TITLE="Style">
  12. <SCRIPT type="text/javascript">
  13. function windowTitle()
  14. {
  15. parent.document.title="StatsValuesFactory (Solr 3.6.2 API)";
  16. }
  17. </SCRIPT>
  18. <NOSCRIPT>
  19. </NOSCRIPT>
  20. </HEAD>
  21. <BODY BGCOLOR="white" onload="windowTitle();">
  22. <!-- ========= START OF TOP NAVBAR ======= -->
  23. <A NAME="navbar_top"><!-- --></A>
  24. <A HREF="#skip-navbar_top" title="Skip navigation links"></A>
  25. <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
  26. <TR>
  27. <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
  28. <A NAME="navbar_top_firstrow"><!-- --></A>
  29. <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
  30. <TR ALIGN="center" VALIGN="top">
  31. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
  32. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
  33. <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
  34. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/StatsValuesFactory.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
  35. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
  36. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
  37. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
  38. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
  39. </TR>
  40. </TABLE>
  41. </TD>
  42. <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
  43. </EM>
  44. </TD>
  45. </TR>
  46. <TR>
  47. <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  48. &nbsp;<A HREF="../../../../../org/apache/solr/handler/component/StatsValues.html" title="interface in org.apache.solr.handler.component"><B>PREV CLASS</B></A>&nbsp;
  49. &nbsp;<A HREF="../../../../../org/apache/solr/handler/component/TermsComponent.html" title="class in org.apache.solr.handler.component"><B>NEXT CLASS</B></A></FONT></TD>
  50. <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  51. <A HREF="../../../../../index.html?org/apache/solr/handler/component/StatsValuesFactory.html" target="_top"><B>FRAMES</B></A> &nbsp;
  52. &nbsp;<A HREF="StatsValuesFactory.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
  53. &nbsp;<SCRIPT type="text/javascript">
  54. <!--
  55. if(window==top) {
  56. document.writeln('<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>');
  57. }
  58. //-->
  59. </SCRIPT>
  60. <NOSCRIPT>
  61. <A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>
  62. </NOSCRIPT>
  63. </FONT></TD>
  64. </TR>
  65. <TR>
  66. <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  67. SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
  68. <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  69. DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
  70. </TR>
  71. </TABLE>
  72. <A NAME="skip-navbar_top"></A>
  73. <!-- ========= END OF TOP NAVBAR ========= -->
  74. <HR>
  75. <!-- ======== START OF CLASS DATA ======== -->
  76. <H2>
  77. <FONT SIZE="-1">
  78. org.apache.solr.handler.component</FONT>
  79. <BR>
  80. Class StatsValuesFactory</H2>
  81. <PRE>
  82. <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html" title="class or interface in java.lang">java.lang.Object</A>
  83. <IMG SRC="../../../../../resources/inherit.gif" ALT="extended by "><B>org.apache.solr.handler.component.StatsValuesFactory</B>
  84. </PRE>
  85. <HR>
  86. <DL>
  87. <DT><PRE>public class <B>StatsValuesFactory</B><DT>extends <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A></DL>
  88. </PRE>
  89. <P>
  90. Factory class for creating instance of <A HREF="../../../../../org/apache/solr/handler/component/StatsValues.html" title="interface in org.apache.solr.handler.component"><CODE>StatsValues</CODE></A>
  91. <P>
  92. <P>
  93. <HR>
  94. <P>
  95. <!-- ======== CONSTRUCTOR SUMMARY ======== -->
  96. <A NAME="constructor_summary"><!-- --></A>
  97. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  98. <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  99. <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
  100. <B>Constructor Summary</B></FONT></TH>
  101. </TR>
  102. <TR BGCOLOR="white" CLASS="TableRowColor">
  103. <TD><CODE><B><A HREF="../../../../../org/apache/solr/handler/component/StatsValuesFactory.html#StatsValuesFactory()">StatsValuesFactory</A></B>()</CODE>
  104. <BR>
  105. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
  106. </TR>
  107. </TABLE>
  108. &nbsp;
  109. <!-- ========== METHOD SUMMARY =========== -->
  110. <A NAME="method_summary"><!-- --></A>
  111. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  112. <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  113. <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
  114. <B>Method Summary</B></FONT></TH>
  115. </TR>
  116. <TR BGCOLOR="white" CLASS="TableRowColor">
  117. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  118. <CODE>static&nbsp;<A HREF="../../../../../org/apache/solr/handler/component/StatsValues.html" title="interface in org.apache.solr.handler.component">StatsValues</A></CODE></FONT></TD>
  119. <TD><CODE><B><A HREF="../../../../../org/apache/solr/handler/component/StatsValuesFactory.html#createStatsValues(org.apache.solr.schema.FieldType)">createStatsValues</A></B>(<A HREF="../../../../../org/apache/solr/schema/FieldType.html" title="class in org.apache.solr.schema">FieldType</A>&nbsp;fieldType)</CODE>
  120. <BR>
  121. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates an instance of StatsValues which supports values from a field of the given FieldType</TD>
  122. </TR>
  123. </TABLE>
  124. &nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
  125. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  126. <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
  127. <TH ALIGN="left"><B>Methods inherited from class java.lang.<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A></B></TH>
  128. </TR>
  129. <TR BGCOLOR="white" CLASS="TableRowColor">
  130. <TD><CODE><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html#clone()" title="class or interface in java.lang">clone</A>, <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html#equals(java.lang.Object)" title="class or interface in java.lang">equals</A>, <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html#finalize()" title="class or interface in java.lang">finalize</A>, <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html#getClass()" title="class or interface in java.lang">getClass</A>, <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html#hashCode()" title="class or interface in java.lang">hashCode</A>, <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html#notify()" title="class or interface in java.lang">notify</A>, <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html#notifyAll()" title="class or interface in java.lang">notifyAll</A>, <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html#toString()" title="class or interface in java.lang">toString</A>, <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html#wait()" title="class or interface in java.lang">wait</A>, <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html#wait(long)" title="class or interface in java.lang">wait</A>, <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html#wait(long, int)" title="class or interface in java.lang">wait</A></CODE></TD>
  131. </TR>
  132. </TABLE>
  133. &nbsp;
  134. <P>
  135. <!-- ========= CONSTRUCTOR DETAIL ======== -->
  136. <A NAME="constructor_detail"><!-- --></A>
  137. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  138. <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  139. <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
  140. <B>Constructor Detail</B></FONT></TH>
  141. </TR>
  142. </TABLE>
  143. <A NAME="StatsValuesFactory()"><!-- --></A><H3>
  144. StatsValuesFactory</H3>
  145. <PRE>
  146. public <B>StatsValuesFactory</B>()</PRE>
  147. <DL>
  148. </DL>
  149. <!-- ============ METHOD DETAIL ========== -->
  150. <A NAME="method_detail"><!-- --></A>
  151. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  152. <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  153. <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
  154. <B>Method Detail</B></FONT></TH>
  155. </TR>
  156. </TABLE>
  157. <A NAME="createStatsValues(org.apache.solr.schema.FieldType)"><!-- --></A><H3>
  158. createStatsValues</H3>
  159. <PRE>
  160. public static <A HREF="../../../../../org/apache/solr/handler/component/StatsValues.html" title="interface in org.apache.solr.handler.component">StatsValues</A> <B>createStatsValues</B>(<A HREF="../../../../../org/apache/solr/schema/FieldType.html" title="class in org.apache.solr.schema">FieldType</A>&nbsp;fieldType)</PRE>
  161. <DL>
  162. <DD>Creates an instance of StatsValues which supports values from a field of the given FieldType
  163. <P>
  164. <DD><DL>
  165. <DT><B>Parameters:</B><DD><CODE>fieldType</CODE> - Type of the field whose statistics will be created by the resulting StatsValues
  166. <DT><B>Returns:</B><DD>Instance of StatsValues that will create statistics from values from a field of the given type</DL>
  167. </DD>
  168. </DL>
  169. <!-- ========= END OF CLASS DATA ========= -->
  170. <HR>
  171. <!-- ======= START OF BOTTOM NAVBAR ====== -->
  172. <A NAME="navbar_bottom"><!-- --></A>
  173. <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
  174. <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
  175. <TR>
  176. <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
  177. <A NAME="navbar_bottom_firstrow"><!-- --></A>
  178. <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
  179. <TR ALIGN="center" VALIGN="top">
  180. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
  181. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
  182. <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
  183. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/StatsValuesFactory.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
  184. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
  185. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
  186. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
  187. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
  188. </TR>
  189. </TABLE>
  190. </TD>
  191. <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
  192. </EM>
  193. </TD>
  194. </TR>
  195. <TR>
  196. <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  197. &nbsp;<A HREF="../../../../../org/apache/solr/handler/component/StatsValues.html" title="interface in org.apache.solr.handler.component"><B>PREV CLASS</B></A>&nbsp;
  198. &nbsp;<A HREF="../../../../../org/apache/solr/handler/component/TermsComponent.html" title="class in org.apache.solr.handler.component"><B>NEXT CLASS</B></A></FONT></TD>
  199. <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  200. <A HREF="../../../../../index.html?org/apache/solr/handler/component/StatsValuesFactory.html" target="_top"><B>FRAMES</B></A> &nbsp;
  201. &nbsp;<A HREF="StatsValuesFactory.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
  202. &nbsp;<SCRIPT type="text/javascript">
  203. <!--
  204. if(window==top) {
  205. document.writeln('<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>');
  206. }
  207. //-->
  208. </SCRIPT>
  209. <NOSCRIPT>
  210. <A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>
  211. </NOSCRIPT>
  212. </FONT></TD>
  213. </TR>
  214. <TR>
  215. <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  216. SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
  217. <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  218. DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
  219. </TR>
  220. </TABLE>
  221. <A NAME="skip-navbar_bottom"></A>
  222. <!-- ======== END OF BOTTOM NAVBAR ======= -->
  223. <HR>
  224. <script src='../../../../../prettify.js' type='text/javascript'></script>
  225. <script type='text/javascript'>
  226. (function(){
  227. var oldonload = window.onload;
  228. if (typeof oldonload != 'function') {
  229. window.onload = prettyPrint;
  230. } else {
  231. window.onload = function() {
  232. oldonload();
  233. prettyPrint();
  234. }
  235. }
  236. })();
  237. </script>
  238. </BODY>
  239. </HTML>