| <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> |
| <!--NewPage--> |
| <HTML> |
| <HEAD> |
| <!-- Generated by javadoc (build 1.6.0_31) on Thu Apr 05 22:07:26 PDT 2012 --> |
| <META http-equiv="Content-Type" content="text/html; charset=UTF-8"> |
| <TITLE> |
| Aggregate.TopKCombineFn (crunch 0.2.0 API) |
| </TITLE> |
| |
| <META NAME="date" CONTENT="2012-04-05"> |
| |
| <LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style"> |
| |
| <SCRIPT type="text/javascript"> |
| function windowTitle() |
| { |
| if (location.href.indexOf('is-external=true') == -1) { |
| parent.document.title="Aggregate.TopKCombineFn (crunch 0.2.0 API)"; |
| } |
| } |
| </SCRIPT> |
| <NOSCRIPT> |
| </NOSCRIPT> |
| |
| </HEAD> |
| |
| <BODY BGCOLOR="white" onload="windowTitle();"> |
| <HR> |
| |
| |
| <!-- ========= START OF TOP NAVBAR ======= --> |
| <A NAME="navbar_top"><!-- --></A> |
| <A HREF="#skip-navbar_top" 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_top_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="class-use/Aggregate.TopKCombineFn.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </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> |
| </EM> |
| </TD> |
| </TR> |
| |
| <TR> |
| <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
| <A HREF="../../../../com/cloudera/crunch/lib/Aggregate.PairValueComparator.html" title="class in com.cloudera.crunch.lib"><B>PREV CLASS</B></A> |
| <A HREF="../../../../com/cloudera/crunch/lib/Aggregate.TopKFn.html" title="class in com.cloudera.crunch.lib"><B>NEXT CLASS</B></A></FONT></TD> |
| <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
| <A HREF="../../../../index.html?com/cloudera/crunch/lib/Aggregate.TopKCombineFn.html" target="_top"><B>FRAMES</B></A> |
| <A HREF="Aggregate.TopKCombineFn.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_classes_inherited_from_class_com.cloudera.crunch.CombineFn">NESTED</A> | <A HREF="#fields_inherited_from_class_com.cloudera.crunch.CombineFn">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: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD> |
| </TR> |
| </TABLE> |
| <A NAME="skip-navbar_top"></A> |
| <!-- ========= END OF TOP NAVBAR ========= --> |
| |
| <HR> |
| <!-- ======== START OF CLASS DATA ======== --> |
| <H2> |
| <FONT SIZE="-1"> |
| com.cloudera.crunch.lib</FONT> |
| <BR> |
| Class Aggregate.TopKCombineFn<K,V></H2> |
| <PRE> |
| <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</A> |
| <IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><A HREF="../../../../com/cloudera/crunch/DoFn.html" title="class in com.cloudera.crunch">com.cloudera.crunch.DoFn</A><<A HREF="../../../../com/cloudera/crunch/Pair.html" title="class in com.cloudera.crunch">Pair</A><S,<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Iterable.html?is-external=true" title="class or interface in java.lang">Iterable</A><T>>,<A HREF="../../../../com/cloudera/crunch/Pair.html" title="class in com.cloudera.crunch">Pair</A><S,T>> |
| <IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><A HREF="../../../../com/cloudera/crunch/CombineFn.html" title="class in com.cloudera.crunch">com.cloudera.crunch.CombineFn</A><<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang">Boolean</A>,<A HREF="../../../../com/cloudera/crunch/Pair.html" title="class in com.cloudera.crunch">Pair</A><K,V>> |
| <IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><B>com.cloudera.crunch.lib.Aggregate.TopKCombineFn<K,V></B> |
| </PRE> |
| <DL> |
| <DT><B>All Implemented Interfaces:</B> <DD><A HREF="http://download.oracle.com/javase/6/docs/api/java/io/Serializable.html?is-external=true" title="class or interface in java.io">Serializable</A></DD> |
| </DL> |
| <DL> |
| <DT><B>Enclosing class:</B><DD><A HREF="../../../../com/cloudera/crunch/lib/Aggregate.html" title="class in com.cloudera.crunch.lib">Aggregate</A></DD> |
| </DL> |
| <HR> |
| <DL> |
| <DT><PRE>public static class <B>Aggregate.TopKCombineFn<K,V></B><DT>extends <A HREF="../../../../com/cloudera/crunch/CombineFn.html" title="class in com.cloudera.crunch">CombineFn</A><<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang">Boolean</A>,<A HREF="../../../../com/cloudera/crunch/Pair.html" title="class in com.cloudera.crunch">Pair</A><K,V>></DL> |
| </PRE> |
| |
| <P> |
| <DL> |
| <DT><B>See Also:</B><DD><A HREF="../../../../serialized-form.html#com.cloudera.crunch.lib.Aggregate.TopKCombineFn">Serialized Form</A></DL> |
| <HR> |
| |
| <P> |
| <!-- ======== NESTED CLASS SUMMARY ======== --> |
| |
| <A NAME="nested_class_summary"><!-- --></A> |
| <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
| <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
| <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> |
| <B>Nested Class Summary</B></FONT></TH> |
| </TR> |
| </TABLE> |
| <A NAME="nested_classes_inherited_from_class_com.cloudera.crunch.CombineFn"><!-- --></A> |
| <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
| <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> |
| <TH ALIGN="left"><B>Nested classes/interfaces inherited from class com.cloudera.crunch.<A HREF="../../../../com/cloudera/crunch/CombineFn.html" title="class in com.cloudera.crunch">CombineFn</A></B></TH> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD><CODE><A HREF="../../../../com/cloudera/crunch/CombineFn.Aggregator.html" title="interface in com.cloudera.crunch">CombineFn.Aggregator</A><<A HREF="../../../../com/cloudera/crunch/CombineFn.Aggregator.html" title="type parameter in CombineFn.Aggregator">T</A>>, <A HREF="../../../../com/cloudera/crunch/CombineFn.AggregatorCombineFn.html" title="class in com.cloudera.crunch">CombineFn.AggregatorCombineFn</A><<A HREF="../../../../com/cloudera/crunch/CombineFn.AggregatorCombineFn.html" title="type parameter in CombineFn.AggregatorCombineFn">K</A>,<A HREF="../../../../com/cloudera/crunch/CombineFn.AggregatorCombineFn.html" title="type parameter in CombineFn.AggregatorCombineFn">V</A>>, <A HREF="../../../../com/cloudera/crunch/CombineFn.AggregatorFactory.html" title="interface in com.cloudera.crunch">CombineFn.AggregatorFactory</A><<A HREF="../../../../com/cloudera/crunch/CombineFn.AggregatorFactory.html" title="type parameter in CombineFn.AggregatorFactory">T</A>>, <A HREF="../../../../com/cloudera/crunch/CombineFn.FirstNAggregator.html" title="class in com.cloudera.crunch">CombineFn.FirstNAggregator</A><<A HREF="../../../../com/cloudera/crunch/CombineFn.FirstNAggregator.html" title="type parameter in CombineFn.FirstNAggregator">V</A>>, <A HREF="../../../../com/cloudera/crunch/CombineFn.LastNAggregator.html" title="class in com.cloudera.crunch">CombineFn.LastNAggregator</A><<A HREF="../../../../com/cloudera/crunch/CombineFn.LastNAggregator.html" title="type parameter in CombineFn.LastNAggregator">V</A>>, <A HREF="../../../../com/cloudera/crunch/CombineFn.MaxBigInts.html" title="class in com.cloudera.crunch">CombineFn.MaxBigInts</A>, <A HREF="../../../../com/cloudera/crunch/CombineFn.MaxDoubles.html" title="class in com.cloudera.crunch">CombineFn.MaxDoubles</A>, <A HREF="../../../../com/cloudera/crunch/CombineFn.MaxFloats.html" title="class in com.cloudera.crunch">CombineFn.MaxFloats</A>, <A HREF="../../../../com/cloudera/crunch/CombineFn.MaxInts.html" title="class in com.cloudera.crunch">CombineFn.MaxInts</A>, <A HREF="../../../../com/cloudera/crunch/CombineFn.MaxLongs.html" title="class in com.cloudera.crunch">CombineFn.MaxLongs</A>, <A HREF="../../../../com/cloudera/crunch/CombineFn.MaxNAggregator.html" title="class in com.cloudera.crunch">CombineFn.MaxNAggregator</A><<A HREF="../../../../com/cloudera/crunch/CombineFn.MaxNAggregator.html" title="type parameter in CombineFn.MaxNAggregator">V</A> extends <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Comparable.html?is-external=true" title="class or interface in java.lang">Comparable</A><<A HREF="../../../../com/cloudera/crunch/CombineFn.MaxNAggregator.html" title="type parameter in CombineFn.MaxNAggregator">V</A>>>, <A HREF="../../../../com/cloudera/crunch/CombineFn.MinBigInts.html" title="class in com.cloudera.crunch">CombineFn.MinBigInts</A>, <A HREF="../../../../com/cloudera/crunch/CombineFn.MinDoubles.html" title="class in com.cloudera.crunch">CombineFn.MinDoubles</A>, <A HREF="../../../../com/cloudera/crunch/CombineFn.MinFloats.html" title="class in com.cloudera.crunch">CombineFn.MinFloats</A>, <A HREF="../../../../com/cloudera/crunch/CombineFn.MinInts.html" title="class in com.cloudera.crunch">CombineFn.MinInts</A>, <A HREF="../../../../com/cloudera/crunch/CombineFn.MinLongs.html" title="class in com.cloudera.crunch">CombineFn.MinLongs</A>, <A HREF="../../../../com/cloudera/crunch/CombineFn.MinNAggregator.html" title="class in com.cloudera.crunch">CombineFn.MinNAggregator</A><<A HREF="../../../../com/cloudera/crunch/CombineFn.MinNAggregator.html" title="type parameter in CombineFn.MinNAggregator">V</A> extends <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Comparable.html?is-external=true" title="class or interface in java.lang">Comparable</A><<A HREF="../../../../com/cloudera/crunch/CombineFn.MinNAggregator.html" title="type parameter in CombineFn.MinNAggregator">V</A>>>, <A HREF="../../../../com/cloudera/crunch/CombineFn.PairAggregator.html" title="class in com.cloudera.crunch">CombineFn.PairAggregator</A><<A HREF="../../../../com/cloudera/crunch/CombineFn.PairAggregator.html" title="type parameter in CombineFn.PairAggregator">V1</A>,<A HREF="../../../../com/cloudera/crunch/CombineFn.PairAggregator.html" title="type parameter in CombineFn.PairAggregator">V2</A>>, <A HREF="../../../../com/cloudera/crunch/CombineFn.QuadAggregator.html" title="class in com.cloudera.crunch">CombineFn.QuadAggregator</A><<A HREF="../../../../com/cloudera/crunch/CombineFn.QuadAggregator.html" title="type parameter in CombineFn.QuadAggregator">A</A>,<A HREF="../../../../com/cloudera/crunch/CombineFn.QuadAggregator.html" title="type parameter in CombineFn.QuadAggregator">B</A>,<A HREF="../../../../com/cloudera/crunch/CombineFn.QuadAggregator.html" title="type parameter in CombineFn.QuadAggregator">C</A>,<A HREF="../../../../com/cloudera/crunch/CombineFn.QuadAggregator.html" title="type parameter in CombineFn.QuadAggregator">D</A>>, <A HREF="../../../../com/cloudera/crunch/CombineFn.SumBigInts.html" title="class in com.cloudera.crunch">CombineFn.SumBigInts</A>, <A HREF="../../../../com/cloudera/crunch/CombineFn.SumDoubles.html" title="class in com.cloudera.crunch">CombineFn.SumDoubles</A>, <A HREF="../../../../com/cloudera/crunch/CombineFn.SumFloats.html" title="class in com.cloudera.crunch">CombineFn.SumFloats</A>, <A HREF="../../../../com/cloudera/crunch/CombineFn.SumInts.html" title="class in com.cloudera.crunch">CombineFn.SumInts</A>, <A HREF="../../../../com/cloudera/crunch/CombineFn.SumLongs.html" title="class in com.cloudera.crunch">CombineFn.SumLongs</A>, <A HREF="../../../../com/cloudera/crunch/CombineFn.TripAggregator.html" title="class in com.cloudera.crunch">CombineFn.TripAggregator</A><<A HREF="../../../../com/cloudera/crunch/CombineFn.TripAggregator.html" title="type parameter in CombineFn.TripAggregator">A</A>,<A HREF="../../../../com/cloudera/crunch/CombineFn.TripAggregator.html" title="type parameter in CombineFn.TripAggregator">B</A>,<A HREF="../../../../com/cloudera/crunch/CombineFn.TripAggregator.html" title="type parameter in CombineFn.TripAggregator">C</A>>, <A HREF="../../../../com/cloudera/crunch/CombineFn.TupleNAggregator.html" title="class in com.cloudera.crunch">CombineFn.TupleNAggregator</A></CODE></TD> |
| </TR> |
| </TABLE> |
| |
| <!-- =========== FIELD SUMMARY =========== --> |
| |
| <A NAME="field_summary"><!-- --></A> |
| <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
| <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
| <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> |
| <B>Field Summary</B></FONT></TH> |
| </TR> |
| </TABLE> |
| <A NAME="fields_inherited_from_class_com.cloudera.crunch.CombineFn"><!-- --></A> |
| <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
| <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> |
| <TH ALIGN="left"><B>Fields inherited from class com.cloudera.crunch.<A HREF="../../../../com/cloudera/crunch/CombineFn.html" title="class in com.cloudera.crunch">CombineFn</A></B></TH> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD><CODE><A HREF="../../../../com/cloudera/crunch/CombineFn.html#MAX_BIGINTS">MAX_BIGINTS</A>, <A HREF="../../../../com/cloudera/crunch/CombineFn.html#MAX_DOUBLES">MAX_DOUBLES</A>, <A HREF="../../../../com/cloudera/crunch/CombineFn.html#MAX_FLOATS">MAX_FLOATS</A>, <A HREF="../../../../com/cloudera/crunch/CombineFn.html#MAX_INTS">MAX_INTS</A>, <A HREF="../../../../com/cloudera/crunch/CombineFn.html#MAX_LONGS">MAX_LONGS</A>, <A HREF="../../../../com/cloudera/crunch/CombineFn.html#MIN_BIGINTS">MIN_BIGINTS</A>, <A HREF="../../../../com/cloudera/crunch/CombineFn.html#MIN_DOUBLES">MIN_DOUBLES</A>, <A HREF="../../../../com/cloudera/crunch/CombineFn.html#MIN_FLOATS">MIN_FLOATS</A>, <A HREF="../../../../com/cloudera/crunch/CombineFn.html#MIN_INTS">MIN_INTS</A>, <A HREF="../../../../com/cloudera/crunch/CombineFn.html#MIN_LONGS">MIN_LONGS</A>, <A HREF="../../../../com/cloudera/crunch/CombineFn.html#SUM_BIGINTS">SUM_BIGINTS</A>, <A HREF="../../../../com/cloudera/crunch/CombineFn.html#SUM_DOUBLES">SUM_DOUBLES</A>, <A HREF="../../../../com/cloudera/crunch/CombineFn.html#SUM_FLOATS">SUM_FLOATS</A>, <A HREF="../../../../com/cloudera/crunch/CombineFn.html#SUM_INTS">SUM_INTS</A>, <A HREF="../../../../com/cloudera/crunch/CombineFn.html#SUM_LONGS">SUM_LONGS</A></CODE></TD> |
| </TR> |
| </TABLE> |
| |
| <!-- ======== CONSTRUCTOR SUMMARY ======== --> |
| |
| <A NAME="constructor_summary"><!-- --></A> |
| <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
| <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
| <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> |
| <B>Constructor Summary</B></FONT></TH> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD><CODE><B><A HREF="../../../../com/cloudera/crunch/lib/Aggregate.TopKCombineFn.html#Aggregate.TopKCombineFn(int, boolean)">Aggregate.TopKCombineFn</A></B>(int limit, |
| boolean maximize)</CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| </TABLE> |
| |
| <!-- ========== METHOD SUMMARY =========== --> |
| |
| <A NAME="method_summary"><!-- --></A> |
| <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
| <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
| <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> |
| <B>Method Summary</B></FONT></TH> |
| </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="../../../../com/cloudera/crunch/lib/Aggregate.TopKCombineFn.html#process(com.cloudera.crunch.Pair, com.cloudera.crunch.Emitter)">process</A></B>(<A HREF="../../../../com/cloudera/crunch/Pair.html" title="class in com.cloudera.crunch">Pair</A><<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang">Boolean</A>,<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Iterable.html?is-external=true" title="class or interface in java.lang">Iterable</A><<A HREF="../../../../com/cloudera/crunch/Pair.html" title="class in com.cloudera.crunch">Pair</A><<A HREF="../../../../com/cloudera/crunch/lib/Aggregate.TopKCombineFn.html" title="type parameter in Aggregate.TopKCombineFn">K</A>,<A HREF="../../../../com/cloudera/crunch/lib/Aggregate.TopKCombineFn.html" title="type parameter in Aggregate.TopKCombineFn">V</A>>>> input, |
| <A HREF="../../../../com/cloudera/crunch/Emitter.html" title="interface in com.cloudera.crunch">Emitter</A><<A HREF="../../../../com/cloudera/crunch/Pair.html" title="class in com.cloudera.crunch">Pair</A><<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang">Boolean</A>,<A HREF="../../../../com/cloudera/crunch/Pair.html" title="class in com.cloudera.crunch">Pair</A><<A HREF="../../../../com/cloudera/crunch/lib/Aggregate.TopKCombineFn.html" title="type parameter in Aggregate.TopKCombineFn">K</A>,<A HREF="../../../../com/cloudera/crunch/lib/Aggregate.TopKCombineFn.html" title="type parameter in Aggregate.TopKCombineFn">V</A>>>> emitter)</CODE> |
| |
| <BR> |
| Processes the records from a <A HREF="../../../../com/cloudera/crunch/PCollection.html" title="interface in com.cloudera.crunch"><CODE>PCollection</CODE></A>.</TD> |
| </TR> |
| </TABLE> |
| <A NAME="methods_inherited_from_class_com.cloudera.crunch.CombineFn"><!-- --></A> |
| <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
| <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> |
| <TH ALIGN="left"><B>Methods inherited from class com.cloudera.crunch.<A HREF="../../../../com/cloudera/crunch/CombineFn.html" title="class in com.cloudera.crunch">CombineFn</A></B></TH> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD><CODE><A HREF="../../../../com/cloudera/crunch/CombineFn.html#aggregator(com.cloudera.crunch.CombineFn.Aggregator)">aggregator</A>, <A HREF="../../../../com/cloudera/crunch/CombineFn.html#aggregatorFactory(com.cloudera.crunch.CombineFn.AggregatorFactory)">aggregatorFactory</A>, <A HREF="../../../../com/cloudera/crunch/CombineFn.html#FIRST_N(int)">FIRST_N</A>, <A HREF="../../../../com/cloudera/crunch/CombineFn.html#LAST_N(int)">LAST_N</A>, <A HREF="../../../../com/cloudera/crunch/CombineFn.html#MAX_BIGINTS()">MAX_BIGINTS</A>, <A HREF="../../../../com/cloudera/crunch/CombineFn.html#MAX_BIGINTS(int)">MAX_BIGINTS</A>, <A HREF="../../../../com/cloudera/crunch/CombineFn.html#MAX_DOUBLES()">MAX_DOUBLES</A>, <A HREF="../../../../com/cloudera/crunch/CombineFn.html#MAX_DOUBLES(int)">MAX_DOUBLES</A>, <A HREF="../../../../com/cloudera/crunch/CombineFn.html#MAX_FLOATS()">MAX_FLOATS</A>, <A HREF="../../../../com/cloudera/crunch/CombineFn.html#MAX_FLOATS(int)">MAX_FLOATS</A>, <A HREF="../../../../com/cloudera/crunch/CombineFn.html#MAX_INTS()">MAX_INTS</A>, <A HREF="../../../../com/cloudera/crunch/CombineFn.html#MAX_INTS(int)">MAX_INTS</A>, <A HREF="../../../../com/cloudera/crunch/CombineFn.html#MAX_LONGS()">MAX_LONGS</A>, <A HREF="../../../../com/cloudera/crunch/CombineFn.html#MAX_LONGS(int)">MAX_LONGS</A>, <A HREF="../../../../com/cloudera/crunch/CombineFn.html#MIN_BIGINTS()">MIN_BIGINTS</A>, <A HREF="../../../../com/cloudera/crunch/CombineFn.html#MIN_BIGINTS(int)">MIN_BIGINTS</A>, <A HREF="../../../../com/cloudera/crunch/CombineFn.html#MIN_DOUBLES()">MIN_DOUBLES</A>, <A HREF="../../../../com/cloudera/crunch/CombineFn.html#MIN_DOUBLES(int)">MIN_DOUBLES</A>, <A HREF="../../../../com/cloudera/crunch/CombineFn.html#MIN_FLOATS()">MIN_FLOATS</A>, <A HREF="../../../../com/cloudera/crunch/CombineFn.html#MIN_FLOATS(int)">MIN_FLOATS</A>, <A HREF="../../../../com/cloudera/crunch/CombineFn.html#MIN_INTS()">MIN_INTS</A>, <A HREF="../../../../com/cloudera/crunch/CombineFn.html#MIN_INTS(int)">MIN_INTS</A>, <A HREF="../../../../com/cloudera/crunch/CombineFn.html#MIN_LONGS()">MIN_LONGS</A>, <A HREF="../../../../com/cloudera/crunch/CombineFn.html#MIN_LONGS(int)">MIN_LONGS</A>, <A HREF="../../../../com/cloudera/crunch/CombineFn.html#pairAggregator(com.cloudera.crunch.CombineFn.AggregatorFactory, com.cloudera.crunch.CombineFn.AggregatorFactory)">pairAggregator</A>, <A HREF="../../../../com/cloudera/crunch/CombineFn.html#quadAggregator(com.cloudera.crunch.CombineFn.AggregatorFactory, com.cloudera.crunch.CombineFn.AggregatorFactory, com.cloudera.crunch.CombineFn.AggregatorFactory, com.cloudera.crunch.CombineFn.AggregatorFactory)">quadAggregator</A>, <A HREF="../../../../com/cloudera/crunch/CombineFn.html#SUM_BIGINTS()">SUM_BIGINTS</A>, <A HREF="../../../../com/cloudera/crunch/CombineFn.html#SUM_DOUBLES()">SUM_DOUBLES</A>, <A HREF="../../../../com/cloudera/crunch/CombineFn.html#SUM_FLOATS()">SUM_FLOATS</A>, <A HREF="../../../../com/cloudera/crunch/CombineFn.html#SUM_INTS()">SUM_INTS</A>, <A HREF="../../../../com/cloudera/crunch/CombineFn.html#SUM_LONGS()">SUM_LONGS</A>, <A HREF="../../../../com/cloudera/crunch/CombineFn.html#tripAggregator(com.cloudera.crunch.CombineFn.AggregatorFactory, com.cloudera.crunch.CombineFn.AggregatorFactory, com.cloudera.crunch.CombineFn.AggregatorFactory)">tripAggregator</A>, <A HREF="../../../../com/cloudera/crunch/CombineFn.html#tupleAggregator(com.cloudera.crunch.CombineFn.AggregatorFactory...)">tupleAggregator</A></CODE></TD> |
| </TR> |
| </TABLE> |
| <A NAME="methods_inherited_from_class_com.cloudera.crunch.DoFn"><!-- --></A> |
| <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
| <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> |
| <TH ALIGN="left"><B>Methods inherited from class com.cloudera.crunch.<A HREF="../../../../com/cloudera/crunch/DoFn.html" title="class in com.cloudera.crunch">DoFn</A></B></TH> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD><CODE><A HREF="../../../../com/cloudera/crunch/DoFn.html#cleanup(com.cloudera.crunch.Emitter)">cleanup</A>, <A HREF="../../../../com/cloudera/crunch/DoFn.html#configure(org.apache.hadoop.conf.Configuration)">configure</A>, <A HREF="../../../../com/cloudera/crunch/DoFn.html#getConfiguration()">getConfiguration</A>, <A HREF="../../../../com/cloudera/crunch/DoFn.html#getCounter(java.lang.Enum)">getCounter</A>, <A HREF="../../../../com/cloudera/crunch/DoFn.html#getCounter(java.lang.String, java.lang.String)">getCounter</A>, <A HREF="../../../../com/cloudera/crunch/DoFn.html#getStatus()">getStatus</A>, <A HREF="../../../../com/cloudera/crunch/DoFn.html#getTaskAttemptID()">getTaskAttemptID</A>, <A HREF="../../../../com/cloudera/crunch/DoFn.html#initialize()">initialize</A>, <A HREF="../../../../com/cloudera/crunch/DoFn.html#progress()">progress</A>, <A HREF="../../../../com/cloudera/crunch/DoFn.html#scaleFactor()">scaleFactor</A>, <A HREF="../../../../com/cloudera/crunch/DoFn.html#setConfigurationForTest(org.apache.hadoop.conf.Configuration)">setConfigurationForTest</A>, <A HREF="../../../../com/cloudera/crunch/DoFn.html#setContext(org.apache.hadoop.mapreduce.TaskInputOutputContext)">setContext</A>, <A HREF="../../../../com/cloudera/crunch/DoFn.html#setStatus(java.lang.String)">setStatus</A></CODE></TD> |
| </TR> |
| </TABLE> |
| <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A> |
| <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
| <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> |
| <TH ALIGN="left"><B>Methods inherited from class java.lang.<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A></B></TH> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD><CODE><A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#clone()" title="class or interface in java.lang">clone</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.lang">equals</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#finalize()" title="class or interface in java.lang">finalize</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#getClass()" title="class or interface in java.lang">getClass</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#hashCode()" title="class or interface in java.lang">hashCode</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#notify()" title="class or interface in java.lang">notify</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#notifyAll()" title="class or interface in java.lang">notifyAll</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#toString()" title="class or interface in java.lang">toString</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait()" title="class or interface in java.lang">wait</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait(long)" title="class or interface in java.lang">wait</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait(long, int)" title="class or interface in java.lang">wait</A></CODE></TD> |
| </TR> |
| </TABLE> |
| |
| <P> |
| |
| <!-- ========= 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="Aggregate.TopKCombineFn(int, boolean)"><!-- --></A><H3> |
| Aggregate.TopKCombineFn</H3> |
| <PRE> |
| public <B>Aggregate.TopKCombineFn</B>(int limit, |
| boolean maximize)</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="process(com.cloudera.crunch.Pair, com.cloudera.crunch.Emitter)"><!-- --></A><H3> |
| process</H3> |
| <PRE> |
| public void <B>process</B>(<A HREF="../../../../com/cloudera/crunch/Pair.html" title="class in com.cloudera.crunch">Pair</A><<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang">Boolean</A>,<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Iterable.html?is-external=true" title="class or interface in java.lang">Iterable</A><<A HREF="../../../../com/cloudera/crunch/Pair.html" title="class in com.cloudera.crunch">Pair</A><<A HREF="../../../../com/cloudera/crunch/lib/Aggregate.TopKCombineFn.html" title="type parameter in Aggregate.TopKCombineFn">K</A>,<A HREF="../../../../com/cloudera/crunch/lib/Aggregate.TopKCombineFn.html" title="type parameter in Aggregate.TopKCombineFn">V</A>>>> input, |
| <A HREF="../../../../com/cloudera/crunch/Emitter.html" title="interface in com.cloudera.crunch">Emitter</A><<A HREF="../../../../com/cloudera/crunch/Pair.html" title="class in com.cloudera.crunch">Pair</A><<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang">Boolean</A>,<A HREF="../../../../com/cloudera/crunch/Pair.html" title="class in com.cloudera.crunch">Pair</A><<A HREF="../../../../com/cloudera/crunch/lib/Aggregate.TopKCombineFn.html" title="type parameter in Aggregate.TopKCombineFn">K</A>,<A HREF="../../../../com/cloudera/crunch/lib/Aggregate.TopKCombineFn.html" title="type parameter in Aggregate.TopKCombineFn">V</A>>>> emitter)</PRE> |
| <DL> |
| <DD><B>Description copied from class: <CODE><A HREF="../../../../com/cloudera/crunch/DoFn.html#process(S, com.cloudera.crunch.Emitter)">DoFn</A></CODE></B></DD> |
| <DD>Processes the records from a <A HREF="../../../../com/cloudera/crunch/PCollection.html" title="interface in com.cloudera.crunch"><CODE>PCollection</CODE></A>. |
| <P> |
| <DD><DL> |
| <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../com/cloudera/crunch/DoFn.html#process(S, com.cloudera.crunch.Emitter)">process</A></CODE> in class <CODE><A HREF="../../../../com/cloudera/crunch/DoFn.html" title="class in com.cloudera.crunch">DoFn</A><<A HREF="../../../../com/cloudera/crunch/Pair.html" title="class in com.cloudera.crunch">Pair</A><<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang">Boolean</A>,<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Iterable.html?is-external=true" title="class or interface in java.lang">Iterable</A><<A HREF="../../../../com/cloudera/crunch/Pair.html" title="class in com.cloudera.crunch">Pair</A><<A HREF="../../../../com/cloudera/crunch/lib/Aggregate.TopKCombineFn.html" title="type parameter in Aggregate.TopKCombineFn">K</A>,<A HREF="../../../../com/cloudera/crunch/lib/Aggregate.TopKCombineFn.html" title="type parameter in Aggregate.TopKCombineFn">V</A>>>>,<A HREF="../../../../com/cloudera/crunch/Pair.html" title="class in com.cloudera.crunch">Pair</A><<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang">Boolean</A>,<A HREF="../../../../com/cloudera/crunch/Pair.html" title="class in com.cloudera.crunch">Pair</A><<A HREF="../../../../com/cloudera/crunch/lib/Aggregate.TopKCombineFn.html" title="type parameter in Aggregate.TopKCombineFn">K</A>,<A HREF="../../../../com/cloudera/crunch/lib/Aggregate.TopKCombineFn.html" title="type parameter in Aggregate.TopKCombineFn">V</A>>>></CODE></DL> |
| </DD> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>input</CODE> - The input record<DD><CODE>emitter</CODE> - The emitter to send the output to</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="class-use/Aggregate.TopKCombineFn.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </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> |
| </EM> |
| </TD> |
| </TR> |
| |
| <TR> |
| <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
| <A HREF="../../../../com/cloudera/crunch/lib/Aggregate.PairValueComparator.html" title="class in com.cloudera.crunch.lib"><B>PREV CLASS</B></A> |
| <A HREF="../../../../com/cloudera/crunch/lib/Aggregate.TopKFn.html" title="class in com.cloudera.crunch.lib"><B>NEXT CLASS</B></A></FONT></TD> |
| <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
| <A HREF="../../../../index.html?com/cloudera/crunch/lib/Aggregate.TopKCombineFn.html" target="_top"><B>FRAMES</B></A> |
| <A HREF="Aggregate.TopKCombineFn.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_classes_inherited_from_class_com.cloudera.crunch.CombineFn">NESTED</A> | <A HREF="#fields_inherited_from_class_com.cloudera.crunch.CombineFn">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: FIELD | <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> |
| Copyright © 2012. All Rights Reserved. |
| </BODY> |
| </HTML> |