blob: e2d7efab6a829a8301384214e40b2d3490f0463f [file] [log] [blame]
<!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:24 PDT 2012 -->
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<TITLE>
PCollectionImpl (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="PCollectionImpl (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>&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/PCollectionImpl.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>
</EM>
</TD>
</TR>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
&nbsp;<A HREF="../../../../../../com/cloudera/crunch/impl/mr/collect/InputTable.html" title="class in com.cloudera.crunch.impl.mr.collect"><B>PREV CLASS</B></A>&nbsp;
&nbsp;<A HREF="../../../../../../com/cloudera/crunch/impl/mr/collect/PCollectionImpl.Visitor.html" title="interface in com.cloudera.crunch.impl.mr.collect"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../../../../index.html?com/cloudera/crunch/impl/mr/collect/PCollectionImpl.html" target="_top"><B>FRAMES</B></A> &nbsp;
&nbsp;<A HREF="PCollectionImpl.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;<A HREF="#nested_class_summary">NESTED</A>&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_top"></A>
<!-- ========= END OF TOP NAVBAR ========= -->
<HR>
<!-- ======== START OF CLASS DATA ======== -->
<H2>
<FONT SIZE="-1">
com.cloudera.crunch.impl.mr.collect</FONT>
<BR>
Class PCollectionImpl&lt;S&gt;</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 "><B>com.cloudera.crunch.impl.mr.collect.PCollectionImpl&lt;S&gt;</B>
</PRE>
<DL>
<DT><B>All Implemented Interfaces:</B> <DD><A HREF="../../../../../../com/cloudera/crunch/PCollection.html" title="interface in com.cloudera.crunch">PCollection</A>&lt;S&gt;</DD>
</DL>
<DL>
<DT><B>Direct Known Subclasses:</B> <DD><A HREF="../../../../../../com/cloudera/crunch/impl/mr/collect/DoCollectionImpl.html" title="class in com.cloudera.crunch.impl.mr.collect">DoCollectionImpl</A>, <A HREF="../../../../../../com/cloudera/crunch/impl/mr/collect/InputCollection.html" title="class in com.cloudera.crunch.impl.mr.collect">InputCollection</A>, <A HREF="../../../../../../com/cloudera/crunch/impl/mr/collect/PGroupedTableImpl.html" title="class in com.cloudera.crunch.impl.mr.collect">PGroupedTableImpl</A>, <A HREF="../../../../../../com/cloudera/crunch/impl/mr/collect/PTableBase.html" title="class in com.cloudera.crunch.impl.mr.collect">PTableBase</A>, <A HREF="../../../../../../com/cloudera/crunch/impl/mr/collect/UnionCollection.html" title="class in com.cloudera.crunch.impl.mr.collect">UnionCollection</A></DD>
</DL>
<HR>
<DL>
<DT><PRE>public abstract class <B>PCollectionImpl&lt;S&gt;</B><DT>extends <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><DT>implements <A HREF="../../../../../../com/cloudera/crunch/PCollection.html" title="interface in com.cloudera.crunch">PCollection</A>&lt;S&gt;</DL>
</PRE>
<P>
<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>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;interface</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../../com/cloudera/crunch/impl/mr/collect/PCollectionImpl.Visitor.html" title="interface in com.cloudera.crunch.impl.mr.collect">PCollectionImpl.Visitor</A></B></CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
</TABLE>
&nbsp;<!-- =========== 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>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected &nbsp;<A HREF="../../../../../../com/cloudera/crunch/impl/mr/MRPipeline.html" title="class in com.cloudera.crunch.impl.mr">MRPipeline</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../../com/cloudera/crunch/impl/mr/collect/PCollectionImpl.html#pipeline">pipeline</A></B></CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
</TABLE>
&nbsp;
<!-- ======== 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/impl/mr/collect/PCollectionImpl.html#PCollectionImpl(java.lang.String)">PCollectionImpl</A></B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;name)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
</TABLE>
&nbsp;
<!-- ========== 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>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../../com/cloudera/crunch/impl/mr/collect/PCollectionImpl.html#accept(com.cloudera.crunch.impl.mr.collect.PCollectionImpl.Visitor)">accept</A></B>(<A HREF="../../../../../../com/cloudera/crunch/impl/mr/collect/PCollectionImpl.Visitor.html" title="interface in com.cloudera.crunch.impl.mr.collect">PCollectionImpl.Visitor</A>&nbsp;visitor)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected abstract &nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../../com/cloudera/crunch/impl/mr/collect/PCollectionImpl.html#acceptInternal(com.cloudera.crunch.impl.mr.collect.PCollectionImpl.Visitor)">acceptInternal</A></B>(<A HREF="../../../../../../com/cloudera/crunch/impl/mr/collect/PCollectionImpl.Visitor.html" title="interface in com.cloudera.crunch.impl.mr.collect">PCollectionImpl.Visitor</A>&nbsp;visitor)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../../../com/cloudera/crunch/PTable.html" title="interface in com.cloudera.crunch">PTable</A>&lt;<A HREF="../../../../../../com/cloudera/crunch/impl/mr/collect/PCollectionImpl.html" title="type parameter in PCollectionImpl">S</A>,<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Long.html?is-external=true" title="class or interface in java.lang">Long</A>&gt;</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../../com/cloudera/crunch/impl/mr/collect/PCollectionImpl.html#count()">count</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a <code>PTable</code> instance that contains the counts of each unique
element of this PCollection.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>abstract &nbsp;<A HREF="../../../../../../com/cloudera/crunch/impl/mr/plan/DoNode.html" title="class in com.cloudera.crunch.impl.mr.plan">DoNode</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../../com/cloudera/crunch/impl/mr/collect/PCollectionImpl.html#createDoNode()">createDoNode</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../../../com/cloudera/crunch/PCollection.html" title="interface in com.cloudera.crunch">PCollection</A>&lt;<A HREF="../../../../../../com/cloudera/crunch/impl/mr/collect/PCollectionImpl.html" title="type parameter in PCollectionImpl">S</A>&gt;</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../../com/cloudera/crunch/impl/mr/collect/PCollectionImpl.html#filter(com.cloudera.crunch.FilterFn)">filter</A></B>(<A HREF="../../../../../../com/cloudera/crunch/FilterFn.html" title="class in com.cloudera.crunch">FilterFn</A>&lt;<A HREF="../../../../../../com/cloudera/crunch/impl/mr/collect/PCollectionImpl.html" title="type parameter in PCollectionImpl">S</A>&gt;&nbsp;filterFn)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Apply the given filter function to this instance and return the
resulting <code>PCollection</code>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../../com/cloudera/crunch/impl/mr/collect/PCollectionImpl.html#getDepth()">getDepth</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../../../com/cloudera/crunch/SourceTarget.html" title="interface in com.cloudera.crunch">SourceTarget</A>&lt;<A HREF="../../../../../../com/cloudera/crunch/impl/mr/collect/PCollectionImpl.html" title="type parameter in PCollectionImpl">S</A>&gt;</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../../com/cloudera/crunch/impl/mr/collect/PCollectionImpl.html#getMaterializedAt()">getMaterializedAt</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../../com/cloudera/crunch/impl/mr/collect/PCollectionImpl.html#getName()">getName</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a shorthand name for this PCollection.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../../../com/cloudera/crunch/impl/mr/collect/PCollectionImpl.html" title="class in com.cloudera.crunch.impl.mr.collect">PCollectionImpl</A>&lt;?&gt;</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../../com/cloudera/crunch/impl/mr/collect/PCollectionImpl.html#getOnlyParent()">getOnlyParent</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>abstract &nbsp;<A HREF="http://download.oracle.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</A>&lt;<A HREF="../../../../../../com/cloudera/crunch/impl/mr/collect/PCollectionImpl.html" title="class in com.cloudera.crunch.impl.mr.collect">PCollectionImpl</A>&lt;?&gt;&gt;</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../../com/cloudera/crunch/impl/mr/collect/PCollectionImpl.html#getParents()">getParents</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../../../com/cloudera/crunch/Pipeline.html" title="interface in com.cloudera.crunch">Pipeline</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../../com/cloudera/crunch/impl/mr/collect/PCollectionImpl.html#getPipeline()">getPipeline</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the <code>Pipeline</code> associated with this PCollection.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;long</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../../com/cloudera/crunch/impl/mr/collect/PCollectionImpl.html#getSize()">getSize</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the size of the data represented by this <code>PCollection</code> in bytes.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected abstract &nbsp;long</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../../com/cloudera/crunch/impl/mr/collect/PCollectionImpl.html#getSizeInternal()">getSizeInternal</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../../../com/cloudera/crunch/type/PTypeFamily.html" title="interface in com.cloudera.crunch.type">PTypeFamily</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../../com/cloudera/crunch/impl/mr/collect/PCollectionImpl.html#getTypeFamily()">getTypeFamily</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the <code>PTypeFamily</code> of this <code>PCollection</code>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<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>&lt;<A HREF="../../../../../../com/cloudera/crunch/impl/mr/collect/PCollectionImpl.html" title="type parameter in PCollectionImpl">S</A>&gt;</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../../com/cloudera/crunch/impl/mr/collect/PCollectionImpl.html#materialize()">materialize</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a reference to the data set represented by this PCollection that
may be used by the client to read the data locally.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../../com/cloudera/crunch/impl/mr/collect/PCollectionImpl.html#materializeAt(com.cloudera.crunch.SourceTarget)">materializeAt</A></B>(<A HREF="../../../../../../com/cloudera/crunch/SourceTarget.html" title="interface in com.cloudera.crunch">SourceTarget</A>&lt;<A HREF="../../../../../../com/cloudera/crunch/impl/mr/collect/PCollectionImpl.html" title="type parameter in PCollectionImpl">S</A>&gt;&nbsp;sourceTarget)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../../../com/cloudera/crunch/PCollection.html" title="interface in com.cloudera.crunch">PCollection</A>&lt;<A HREF="../../../../../../com/cloudera/crunch/impl/mr/collect/PCollectionImpl.html" title="type parameter in PCollectionImpl">S</A>&gt;</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../../com/cloudera/crunch/impl/mr/collect/PCollectionImpl.html#max()">max</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a <code>PCollection</code> made up of only the maximum element of this
instance.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../../../com/cloudera/crunch/PCollection.html" title="interface in com.cloudera.crunch">PCollection</A>&lt;<A HREF="../../../../../../com/cloudera/crunch/impl/mr/collect/PCollectionImpl.html" title="type parameter in PCollectionImpl">S</A>&gt;</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../../com/cloudera/crunch/impl/mr/collect/PCollectionImpl.html#min()">min</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a <code>PCollection</code> made up of only the minimum element of this
instance.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="0" SUMMARY="">
<TR ALIGN="right" VALIGN="">
<TD NOWRAP><FONT SIZE="-1">
<CODE>&lt;K,V&gt; <A HREF="../../../../../../com/cloudera/crunch/PTable.html" title="interface in com.cloudera.crunch">PTable</A>&lt;K,V&gt;</CODE></FONT></TD>
</TR>
</TABLE>
</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../../com/cloudera/crunch/impl/mr/collect/PCollectionImpl.html#parallelDo(com.cloudera.crunch.DoFn, com.cloudera.crunch.type.PTableType)">parallelDo</A></B>(<A HREF="../../../../../../com/cloudera/crunch/DoFn.html" title="class in com.cloudera.crunch">DoFn</A>&lt;<A HREF="../../../../../../com/cloudera/crunch/impl/mr/collect/PCollectionImpl.html" title="type parameter in PCollectionImpl">S</A>,<A HREF="../../../../../../com/cloudera/crunch/Pair.html" title="class in com.cloudera.crunch">Pair</A>&lt;K,V&gt;&gt;&nbsp;fn,
<A HREF="../../../../../../com/cloudera/crunch/type/PTableType.html" title="interface in com.cloudera.crunch.type">PTableType</A>&lt;K,V&gt;&nbsp;type)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Similar to the other <code>parallelDo</code> instance, but returns a
<code>PTable</code> instance instead of a <code>PCollection</code>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="0" SUMMARY="">
<TR ALIGN="right" VALIGN="">
<TD NOWRAP><FONT SIZE="-1">
<CODE>&lt;T&gt; <A HREF="../../../../../../com/cloudera/crunch/PCollection.html" title="interface in com.cloudera.crunch">PCollection</A>&lt;T&gt;</CODE></FONT></TD>
</TR>
</TABLE>
</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../../com/cloudera/crunch/impl/mr/collect/PCollectionImpl.html#parallelDo(com.cloudera.crunch.DoFn, com.cloudera.crunch.type.PType)">parallelDo</A></B>(<A HREF="../../../../../../com/cloudera/crunch/DoFn.html" title="class in com.cloudera.crunch">DoFn</A>&lt;<A HREF="../../../../../../com/cloudera/crunch/impl/mr/collect/PCollectionImpl.html" title="type parameter in PCollectionImpl">S</A>,T&gt;&nbsp;fn,
<A HREF="../../../../../../com/cloudera/crunch/type/PType.html" title="interface in com.cloudera.crunch.type">PType</A>&lt;T&gt;&nbsp;type)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Applies the given doFn to the elements of this <code>PCollection</code> and
returns a new <code>PCollection</code> that is the output of this processing.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="0" SUMMARY="">
<TR ALIGN="right" VALIGN="">
<TD NOWRAP><FONT SIZE="-1">
<CODE>&lt;K,V&gt; <A HREF="../../../../../../com/cloudera/crunch/PTable.html" title="interface in com.cloudera.crunch">PTable</A>&lt;K,V&gt;</CODE></FONT></TD>
</TR>
</TABLE>
</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../../com/cloudera/crunch/impl/mr/collect/PCollectionImpl.html#parallelDo(java.lang.String, com.cloudera.crunch.DoFn, com.cloudera.crunch.type.PTableType)">parallelDo</A></B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;name,
<A HREF="../../../../../../com/cloudera/crunch/DoFn.html" title="class in com.cloudera.crunch">DoFn</A>&lt;<A HREF="../../../../../../com/cloudera/crunch/impl/mr/collect/PCollectionImpl.html" title="type parameter in PCollectionImpl">S</A>,<A HREF="../../../../../../com/cloudera/crunch/Pair.html" title="class in com.cloudera.crunch">Pair</A>&lt;K,V&gt;&gt;&nbsp;fn,
<A HREF="../../../../../../com/cloudera/crunch/type/PTableType.html" title="interface in com.cloudera.crunch.type">PTableType</A>&lt;K,V&gt;&nbsp;type)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Similar to the other <code>parallelDo</code> instance, but returns a
<code>PTable</code> instance instead of a <code>PCollection</code>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="0" SUMMARY="">
<TR ALIGN="right" VALIGN="">
<TD NOWRAP><FONT SIZE="-1">
<CODE>&lt;T&gt; <A HREF="../../../../../../com/cloudera/crunch/PCollection.html" title="interface in com.cloudera.crunch">PCollection</A>&lt;T&gt;</CODE></FONT></TD>
</TR>
</TABLE>
</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../../com/cloudera/crunch/impl/mr/collect/PCollectionImpl.html#parallelDo(java.lang.String, com.cloudera.crunch.DoFn, com.cloudera.crunch.type.PType)">parallelDo</A></B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;name,
<A HREF="../../../../../../com/cloudera/crunch/DoFn.html" title="class in com.cloudera.crunch">DoFn</A>&lt;<A HREF="../../../../../../com/cloudera/crunch/impl/mr/collect/PCollectionImpl.html" title="type parameter in PCollectionImpl">S</A>,T&gt;&nbsp;fn,
<A HREF="../../../../../../com/cloudera/crunch/type/PType.html" title="interface in com.cloudera.crunch.type">PType</A>&lt;T&gt;&nbsp;type)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Applies the given doFn to the elements of this <code>PCollection</code> and
returns a new <code>PCollection</code> that is the output of this processing.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../../../com/cloudera/crunch/PCollection.html" title="interface in com.cloudera.crunch">PCollection</A>&lt;<A HREF="../../../../../../com/cloudera/crunch/impl/mr/collect/PCollectionImpl.html" title="type parameter in PCollectionImpl">S</A>&gt;</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../../com/cloudera/crunch/impl/mr/collect/PCollectionImpl.html#sample(double)">sample</A></B>(double&nbsp;acceptanceProbability)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Randomly sample items from this PCollection instance with the given
probability of an item being accepted.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../../../com/cloudera/crunch/PCollection.html" title="interface in com.cloudera.crunch">PCollection</A>&lt;<A HREF="../../../../../../com/cloudera/crunch/impl/mr/collect/PCollectionImpl.html" title="type parameter in PCollectionImpl">S</A>&gt;</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../../com/cloudera/crunch/impl/mr/collect/PCollectionImpl.html#sample(double, long)">sample</A></B>(double&nbsp;acceptanceProbability,
long&nbsp;seed)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Randomly sample items from this PCollection instance with the given
probability of an item being accepted and using the given seed.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../../../com/cloudera/crunch/PCollection.html" title="interface in com.cloudera.crunch">PCollection</A>&lt;<A HREF="../../../../../../com/cloudera/crunch/impl/mr/collect/PCollectionImpl.html" title="type parameter in PCollectionImpl">S</A>&gt;</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../../com/cloudera/crunch/impl/mr/collect/PCollectionImpl.html#sort(boolean)">sort</A></B>(boolean&nbsp;ascending)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a <code>PCollection</code> instance that contains all of the elements
of this instance in sorted order.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../../com/cloudera/crunch/impl/mr/collect/PCollectionImpl.html#toString()">toString</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../../../com/cloudera/crunch/PCollection.html" title="interface in com.cloudera.crunch">PCollection</A>&lt;<A HREF="../../../../../../com/cloudera/crunch/impl/mr/collect/PCollectionImpl.html" title="type parameter in PCollectionImpl">S</A>&gt;</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../../com/cloudera/crunch/impl/mr/collect/PCollectionImpl.html#union(com.cloudera.crunch.PCollection...)">union</A></B>(<A HREF="../../../../../../com/cloudera/crunch/PCollection.html" title="interface in com.cloudera.crunch">PCollection</A>&lt;<A HREF="../../../../../../com/cloudera/crunch/impl/mr/collect/PCollectionImpl.html" title="type parameter in PCollectionImpl">S</A>&gt;...&nbsp;collections)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a <code>PCollection</code> instance that acts as the union
of this <code>PCollection</code> and the input <code>PCollection</code>s.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../../../com/cloudera/crunch/PCollection.html" title="interface in com.cloudera.crunch">PCollection</A>&lt;<A HREF="../../../../../../com/cloudera/crunch/impl/mr/collect/PCollectionImpl.html" title="type parameter in PCollectionImpl">S</A>&gt;</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../../com/cloudera/crunch/impl/mr/collect/PCollectionImpl.html#write(com.cloudera.crunch.Target)">write</A></B>(<A HREF="../../../../../../com/cloudera/crunch/Target.html" title="interface in com.cloudera.crunch">Target</A>&nbsp;target)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Write the contents of this <code>PCollection</code> to the given <code>Target</code>,
using the storage format specified by the target.</TD>
</TR>
</TABLE>
&nbsp;<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#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>
&nbsp;<A NAME="methods_inherited_from_class_com.cloudera.crunch.PCollection"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TH ALIGN="left"><B>Methods inherited from interface com.cloudera.crunch.<A HREF="../../../../../../com/cloudera/crunch/PCollection.html" title="interface in com.cloudera.crunch">PCollection</A></B></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><A HREF="../../../../../../com/cloudera/crunch/PCollection.html#getPType()">getPType</A></CODE></TD>
</TR>
</TABLE>
&nbsp;
<P>
<!-- ============ FIELD DETAIL =========== -->
<A NAME="field_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>Field Detail</B></FONT></TH>
</TR>
</TABLE>
<A NAME="pipeline"><!-- --></A><H3>
pipeline</H3>
<PRE>
protected <A HREF="../../../../../../com/cloudera/crunch/impl/mr/MRPipeline.html" title="class in com.cloudera.crunch.impl.mr">MRPipeline</A> <B>pipeline</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="PCollectionImpl(java.lang.String)"><!-- --></A><H3>
PCollectionImpl</H3>
<PRE>
public <B>PCollectionImpl</B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;name)</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="getName()"><!-- --></A><H3>
getName</H3>
<PRE>
public <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>getName</B>()</PRE>
<DL>
<DD><B>Description copied from interface: <CODE><A HREF="../../../../../../com/cloudera/crunch/PCollection.html#getName()">PCollection</A></CODE></B></DD>
<DD>Returns a shorthand name for this PCollection.
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../../com/cloudera/crunch/PCollection.html#getName()">getName</A></CODE> in interface <CODE><A HREF="../../../../../../com/cloudera/crunch/PCollection.html" title="interface in com.cloudera.crunch">PCollection</A>&lt;<A HREF="../../../../../../com/cloudera/crunch/impl/mr/collect/PCollectionImpl.html" title="type parameter in PCollectionImpl">S</A>&gt;</CODE></DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="toString()"><!-- --></A><H3>
toString</H3>
<PRE>
public <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>toString</B>()</PRE>
<DL>
<DD><DL>
<DT><B>Overrides:</B><DD><CODE><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></CODE> in class <CODE><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></CODE></DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="union(com.cloudera.crunch.PCollection...)"><!-- --></A><H3>
union</H3>
<PRE>
public <A HREF="../../../../../../com/cloudera/crunch/PCollection.html" title="interface in com.cloudera.crunch">PCollection</A>&lt;<A HREF="../../../../../../com/cloudera/crunch/impl/mr/collect/PCollectionImpl.html" title="type parameter in PCollectionImpl">S</A>&gt; <B>union</B>(<A HREF="../../../../../../com/cloudera/crunch/PCollection.html" title="interface in com.cloudera.crunch">PCollection</A>&lt;<A HREF="../../../../../../com/cloudera/crunch/impl/mr/collect/PCollectionImpl.html" title="type parameter in PCollectionImpl">S</A>&gt;...&nbsp;collections)</PRE>
<DL>
<DD><B>Description copied from interface: <CODE><A HREF="../../../../../../com/cloudera/crunch/PCollection.html#union(com.cloudera.crunch.PCollection...)">PCollection</A></CODE></B></DD>
<DD>Returns a <code>PCollection</code> instance that acts as the union
of this <code>PCollection</code> and the input <code>PCollection</code>s.
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../../com/cloudera/crunch/PCollection.html#union(com.cloudera.crunch.PCollection...)">union</A></CODE> in interface <CODE><A HREF="../../../../../../com/cloudera/crunch/PCollection.html" title="interface in com.cloudera.crunch">PCollection</A>&lt;<A HREF="../../../../../../com/cloudera/crunch/impl/mr/collect/PCollectionImpl.html" title="type parameter in PCollectionImpl">S</A>&gt;</CODE></DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="parallelDo(com.cloudera.crunch.DoFn, com.cloudera.crunch.type.PType)"><!-- --></A><H3>
parallelDo</H3>
<PRE>
public &lt;T&gt; <A HREF="../../../../../../com/cloudera/crunch/PCollection.html" title="interface in com.cloudera.crunch">PCollection</A>&lt;T&gt; <B>parallelDo</B>(<A HREF="../../../../../../com/cloudera/crunch/DoFn.html" title="class in com.cloudera.crunch">DoFn</A>&lt;<A HREF="../../../../../../com/cloudera/crunch/impl/mr/collect/PCollectionImpl.html" title="type parameter in PCollectionImpl">S</A>,T&gt;&nbsp;fn,
<A HREF="../../../../../../com/cloudera/crunch/type/PType.html" title="interface in com.cloudera.crunch.type">PType</A>&lt;T&gt;&nbsp;type)</PRE>
<DL>
<DD><B>Description copied from interface: <CODE><A HREF="../../../../../../com/cloudera/crunch/PCollection.html#parallelDo(com.cloudera.crunch.DoFn, com.cloudera.crunch.type.PType)">PCollection</A></CODE></B></DD>
<DD>Applies the given doFn to the elements of this <code>PCollection</code> and
returns a new <code>PCollection</code> that is the output of this processing.
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../../com/cloudera/crunch/PCollection.html#parallelDo(com.cloudera.crunch.DoFn, com.cloudera.crunch.type.PType)">parallelDo</A></CODE> in interface <CODE><A HREF="../../../../../../com/cloudera/crunch/PCollection.html" title="interface in com.cloudera.crunch">PCollection</A>&lt;<A HREF="../../../../../../com/cloudera/crunch/impl/mr/collect/PCollectionImpl.html" title="type parameter in PCollectionImpl">S</A>&gt;</CODE></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>fn</CODE> - The <code>DoFn</code> to apply<DD><CODE>type</CODE> - The <A HREF="../../../../../../com/cloudera/crunch/type/PType.html" title="interface in com.cloudera.crunch.type"><CODE>PType</CODE></A> of the resulting <code>PCollection</code>
<DT><B>Returns:</B><DD>a new <code>PCollection</code></DL>
</DD>
</DL>
<HR>
<A NAME="parallelDo(java.lang.String, com.cloudera.crunch.DoFn, com.cloudera.crunch.type.PType)"><!-- --></A><H3>
parallelDo</H3>
<PRE>
public &lt;T&gt; <A HREF="../../../../../../com/cloudera/crunch/PCollection.html" title="interface in com.cloudera.crunch">PCollection</A>&lt;T&gt; <B>parallelDo</B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;name,
<A HREF="../../../../../../com/cloudera/crunch/DoFn.html" title="class in com.cloudera.crunch">DoFn</A>&lt;<A HREF="../../../../../../com/cloudera/crunch/impl/mr/collect/PCollectionImpl.html" title="type parameter in PCollectionImpl">S</A>,T&gt;&nbsp;fn,
<A HREF="../../../../../../com/cloudera/crunch/type/PType.html" title="interface in com.cloudera.crunch.type">PType</A>&lt;T&gt;&nbsp;type)</PRE>
<DL>
<DD><B>Description copied from interface: <CODE><A HREF="../../../../../../com/cloudera/crunch/PCollection.html#parallelDo(java.lang.String, com.cloudera.crunch.DoFn, com.cloudera.crunch.type.PType)">PCollection</A></CODE></B></DD>
<DD>Applies the given doFn to the elements of this <code>PCollection</code> and
returns a new <code>PCollection</code> that is the output of this processing.
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../../com/cloudera/crunch/PCollection.html#parallelDo(java.lang.String, com.cloudera.crunch.DoFn, com.cloudera.crunch.type.PType)">parallelDo</A></CODE> in interface <CODE><A HREF="../../../../../../com/cloudera/crunch/PCollection.html" title="interface in com.cloudera.crunch">PCollection</A>&lt;<A HREF="../../../../../../com/cloudera/crunch/impl/mr/collect/PCollectionImpl.html" title="type parameter in PCollectionImpl">S</A>&gt;</CODE></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>name</CODE> - An identifier for this processing step, useful for debugging<DD><CODE>fn</CODE> - The <code>DoFn</code> to apply<DD><CODE>type</CODE> - The <A HREF="../../../../../../com/cloudera/crunch/type/PType.html" title="interface in com.cloudera.crunch.type"><CODE>PType</CODE></A> of the resulting <code>PCollection</code>
<DT><B>Returns:</B><DD>a new <code>PCollection</code></DL>
</DD>
</DL>
<HR>
<A NAME="parallelDo(com.cloudera.crunch.DoFn, com.cloudera.crunch.type.PTableType)"><!-- --></A><H3>
parallelDo</H3>
<PRE>
public &lt;K,V&gt; <A HREF="../../../../../../com/cloudera/crunch/PTable.html" title="interface in com.cloudera.crunch">PTable</A>&lt;K,V&gt; <B>parallelDo</B>(<A HREF="../../../../../../com/cloudera/crunch/DoFn.html" title="class in com.cloudera.crunch">DoFn</A>&lt;<A HREF="../../../../../../com/cloudera/crunch/impl/mr/collect/PCollectionImpl.html" title="type parameter in PCollectionImpl">S</A>,<A HREF="../../../../../../com/cloudera/crunch/Pair.html" title="class in com.cloudera.crunch">Pair</A>&lt;K,V&gt;&gt;&nbsp;fn,
<A HREF="../../../../../../com/cloudera/crunch/type/PTableType.html" title="interface in com.cloudera.crunch.type">PTableType</A>&lt;K,V&gt;&nbsp;type)</PRE>
<DL>
<DD><B>Description copied from interface: <CODE><A HREF="../../../../../../com/cloudera/crunch/PCollection.html#parallelDo(com.cloudera.crunch.DoFn, com.cloudera.crunch.type.PTableType)">PCollection</A></CODE></B></DD>
<DD>Similar to the other <code>parallelDo</code> instance, but returns a
<code>PTable</code> instance instead of a <code>PCollection</code>.
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../../com/cloudera/crunch/PCollection.html#parallelDo(com.cloudera.crunch.DoFn, com.cloudera.crunch.type.PTableType)">parallelDo</A></CODE> in interface <CODE><A HREF="../../../../../../com/cloudera/crunch/PCollection.html" title="interface in com.cloudera.crunch">PCollection</A>&lt;<A HREF="../../../../../../com/cloudera/crunch/impl/mr/collect/PCollectionImpl.html" title="type parameter in PCollectionImpl">S</A>&gt;</CODE></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>fn</CODE> - The <code>DoFn</code> to apply<DD><CODE>type</CODE> - The <A HREF="../../../../../../com/cloudera/crunch/type/PTableType.html" title="interface in com.cloudera.crunch.type"><CODE>PTableType</CODE></A> of the resulting <code>PTable</code>
<DT><B>Returns:</B><DD>a new <code>PTable</code></DL>
</DD>
</DL>
<HR>
<A NAME="parallelDo(java.lang.String, com.cloudera.crunch.DoFn, com.cloudera.crunch.type.PTableType)"><!-- --></A><H3>
parallelDo</H3>
<PRE>
public &lt;K,V&gt; <A HREF="../../../../../../com/cloudera/crunch/PTable.html" title="interface in com.cloudera.crunch">PTable</A>&lt;K,V&gt; <B>parallelDo</B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;name,
<A HREF="../../../../../../com/cloudera/crunch/DoFn.html" title="class in com.cloudera.crunch">DoFn</A>&lt;<A HREF="../../../../../../com/cloudera/crunch/impl/mr/collect/PCollectionImpl.html" title="type parameter in PCollectionImpl">S</A>,<A HREF="../../../../../../com/cloudera/crunch/Pair.html" title="class in com.cloudera.crunch">Pair</A>&lt;K,V&gt;&gt;&nbsp;fn,
<A HREF="../../../../../../com/cloudera/crunch/type/PTableType.html" title="interface in com.cloudera.crunch.type">PTableType</A>&lt;K,V&gt;&nbsp;type)</PRE>
<DL>
<DD><B>Description copied from interface: <CODE><A HREF="../../../../../../com/cloudera/crunch/PCollection.html#parallelDo(java.lang.String, com.cloudera.crunch.DoFn, com.cloudera.crunch.type.PTableType)">PCollection</A></CODE></B></DD>
<DD>Similar to the other <code>parallelDo</code> instance, but returns a
<code>PTable</code> instance instead of a <code>PCollection</code>.
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../../com/cloudera/crunch/PCollection.html#parallelDo(java.lang.String, com.cloudera.crunch.DoFn, com.cloudera.crunch.type.PTableType)">parallelDo</A></CODE> in interface <CODE><A HREF="../../../../../../com/cloudera/crunch/PCollection.html" title="interface in com.cloudera.crunch">PCollection</A>&lt;<A HREF="../../../../../../com/cloudera/crunch/impl/mr/collect/PCollectionImpl.html" title="type parameter in PCollectionImpl">S</A>&gt;</CODE></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>name</CODE> - An identifier for this processing step<DD><CODE>fn</CODE> - The <code>DoFn</code> to apply<DD><CODE>type</CODE> - The <A HREF="../../../../../../com/cloudera/crunch/type/PTableType.html" title="interface in com.cloudera.crunch.type"><CODE>PTableType</CODE></A> of the resulting <code>PTable</code>
<DT><B>Returns:</B><DD>a new <code>PTable</code></DL>
</DD>
</DL>
<HR>
<A NAME="write(com.cloudera.crunch.Target)"><!-- --></A><H3>
write</H3>
<PRE>
public <A HREF="../../../../../../com/cloudera/crunch/PCollection.html" title="interface in com.cloudera.crunch">PCollection</A>&lt;<A HREF="../../../../../../com/cloudera/crunch/impl/mr/collect/PCollectionImpl.html" title="type parameter in PCollectionImpl">S</A>&gt; <B>write</B>(<A HREF="../../../../../../com/cloudera/crunch/Target.html" title="interface in com.cloudera.crunch">Target</A>&nbsp;target)</PRE>
<DL>
<DD><B>Description copied from interface: <CODE><A HREF="../../../../../../com/cloudera/crunch/PCollection.html#write(com.cloudera.crunch.Target)">PCollection</A></CODE></B></DD>
<DD>Write the contents of this <code>PCollection</code> to the given <code>Target</code>,
using the storage format specified by the target.
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../../com/cloudera/crunch/PCollection.html#write(com.cloudera.crunch.Target)">write</A></CODE> in interface <CODE><A HREF="../../../../../../com/cloudera/crunch/PCollection.html" title="interface in com.cloudera.crunch">PCollection</A>&lt;<A HREF="../../../../../../com/cloudera/crunch/impl/mr/collect/PCollectionImpl.html" title="type parameter in PCollectionImpl">S</A>&gt;</CODE></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>target</CODE> - The target to write to</DL>
</DD>
</DL>
<HR>
<A NAME="materialize()"><!-- --></A><H3>
materialize</H3>
<PRE>
public <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>&lt;<A HREF="../../../../../../com/cloudera/crunch/impl/mr/collect/PCollectionImpl.html" title="type parameter in PCollectionImpl">S</A>&gt; <B>materialize</B>()</PRE>
<DL>
<DD><B>Description copied from interface: <CODE><A HREF="../../../../../../com/cloudera/crunch/PCollection.html#materialize()">PCollection</A></CODE></B></DD>
<DD>Returns a reference to the data set represented by this PCollection that
may be used by the client to read the data locally.
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../../com/cloudera/crunch/PCollection.html#materialize()">materialize</A></CODE> in interface <CODE><A HREF="../../../../../../com/cloudera/crunch/PCollection.html" title="interface in com.cloudera.crunch">PCollection</A>&lt;<A HREF="../../../../../../com/cloudera/crunch/impl/mr/collect/PCollectionImpl.html" title="type parameter in PCollectionImpl">S</A>&gt;</CODE></DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="getMaterializedAt()"><!-- --></A><H3>
getMaterializedAt</H3>
<PRE>
public <A HREF="../../../../../../com/cloudera/crunch/SourceTarget.html" title="interface in com.cloudera.crunch">SourceTarget</A>&lt;<A HREF="../../../../../../com/cloudera/crunch/impl/mr/collect/PCollectionImpl.html" title="type parameter in PCollectionImpl">S</A>&gt; <B>getMaterializedAt</B>()</PRE>
<DL>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="materializeAt(com.cloudera.crunch.SourceTarget)"><!-- --></A><H3>
materializeAt</H3>
<PRE>
public void <B>materializeAt</B>(<A HREF="../../../../../../com/cloudera/crunch/SourceTarget.html" title="interface in com.cloudera.crunch">SourceTarget</A>&lt;<A HREF="../../../../../../com/cloudera/crunch/impl/mr/collect/PCollectionImpl.html" title="type parameter in PCollectionImpl">S</A>&gt;&nbsp;sourceTarget)</PRE>
<DL>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="filter(com.cloudera.crunch.FilterFn)"><!-- --></A><H3>
filter</H3>
<PRE>
public <A HREF="../../../../../../com/cloudera/crunch/PCollection.html" title="interface in com.cloudera.crunch">PCollection</A>&lt;<A HREF="../../../../../../com/cloudera/crunch/impl/mr/collect/PCollectionImpl.html" title="type parameter in PCollectionImpl">S</A>&gt; <B>filter</B>(<A HREF="../../../../../../com/cloudera/crunch/FilterFn.html" title="class in com.cloudera.crunch">FilterFn</A>&lt;<A HREF="../../../../../../com/cloudera/crunch/impl/mr/collect/PCollectionImpl.html" title="type parameter in PCollectionImpl">S</A>&gt;&nbsp;filterFn)</PRE>
<DL>
<DD><B>Description copied from interface: <CODE><A HREF="../../../../../../com/cloudera/crunch/PCollection.html#filter(com.cloudera.crunch.FilterFn)">PCollection</A></CODE></B></DD>
<DD>Apply the given filter function to this instance and return the
resulting <code>PCollection</code>.
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../../com/cloudera/crunch/PCollection.html#filter(com.cloudera.crunch.FilterFn)">filter</A></CODE> in interface <CODE><A HREF="../../../../../../com/cloudera/crunch/PCollection.html" title="interface in com.cloudera.crunch">PCollection</A>&lt;<A HREF="../../../../../../com/cloudera/crunch/impl/mr/collect/PCollectionImpl.html" title="type parameter in PCollectionImpl">S</A>&gt;</CODE></DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="sort(boolean)"><!-- --></A><H3>
sort</H3>
<PRE>
public <A HREF="../../../../../../com/cloudera/crunch/PCollection.html" title="interface in com.cloudera.crunch">PCollection</A>&lt;<A HREF="../../../../../../com/cloudera/crunch/impl/mr/collect/PCollectionImpl.html" title="type parameter in PCollectionImpl">S</A>&gt; <B>sort</B>(boolean&nbsp;ascending)</PRE>
<DL>
<DD><B>Description copied from interface: <CODE><A HREF="../../../../../../com/cloudera/crunch/PCollection.html#sort(boolean)">PCollection</A></CODE></B></DD>
<DD>Returns a <code>PCollection</code> instance that contains all of the elements
of this instance in sorted order.
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../../com/cloudera/crunch/PCollection.html#sort(boolean)">sort</A></CODE> in interface <CODE><A HREF="../../../../../../com/cloudera/crunch/PCollection.html" title="interface in com.cloudera.crunch">PCollection</A>&lt;<A HREF="../../../../../../com/cloudera/crunch/impl/mr/collect/PCollectionImpl.html" title="type parameter in PCollectionImpl">S</A>&gt;</CODE></DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="count()"><!-- --></A><H3>
count</H3>
<PRE>
public <A HREF="../../../../../../com/cloudera/crunch/PTable.html" title="interface in com.cloudera.crunch">PTable</A>&lt;<A HREF="../../../../../../com/cloudera/crunch/impl/mr/collect/PCollectionImpl.html" title="type parameter in PCollectionImpl">S</A>,<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Long.html?is-external=true" title="class or interface in java.lang">Long</A>&gt; <B>count</B>()</PRE>
<DL>
<DD><B>Description copied from interface: <CODE><A HREF="../../../../../../com/cloudera/crunch/PCollection.html#count()">PCollection</A></CODE></B></DD>
<DD>Returns a <code>PTable</code> instance that contains the counts of each unique
element of this PCollection.
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../../com/cloudera/crunch/PCollection.html#count()">count</A></CODE> in interface <CODE><A HREF="../../../../../../com/cloudera/crunch/PCollection.html" title="interface in com.cloudera.crunch">PCollection</A>&lt;<A HREF="../../../../../../com/cloudera/crunch/impl/mr/collect/PCollectionImpl.html" title="type parameter in PCollectionImpl">S</A>&gt;</CODE></DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="max()"><!-- --></A><H3>
max</H3>
<PRE>
public <A HREF="../../../../../../com/cloudera/crunch/PCollection.html" title="interface in com.cloudera.crunch">PCollection</A>&lt;<A HREF="../../../../../../com/cloudera/crunch/impl/mr/collect/PCollectionImpl.html" title="type parameter in PCollectionImpl">S</A>&gt; <B>max</B>()</PRE>
<DL>
<DD><B>Description copied from interface: <CODE><A HREF="../../../../../../com/cloudera/crunch/PCollection.html#max()">PCollection</A></CODE></B></DD>
<DD>Returns a <code>PCollection</code> made up of only the maximum element of this
instance.
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../../com/cloudera/crunch/PCollection.html#max()">max</A></CODE> in interface <CODE><A HREF="../../../../../../com/cloudera/crunch/PCollection.html" title="interface in com.cloudera.crunch">PCollection</A>&lt;<A HREF="../../../../../../com/cloudera/crunch/impl/mr/collect/PCollectionImpl.html" title="type parameter in PCollectionImpl">S</A>&gt;</CODE></DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="min()"><!-- --></A><H3>
min</H3>
<PRE>
public <A HREF="../../../../../../com/cloudera/crunch/PCollection.html" title="interface in com.cloudera.crunch">PCollection</A>&lt;<A HREF="../../../../../../com/cloudera/crunch/impl/mr/collect/PCollectionImpl.html" title="type parameter in PCollectionImpl">S</A>&gt; <B>min</B>()</PRE>
<DL>
<DD><B>Description copied from interface: <CODE><A HREF="../../../../../../com/cloudera/crunch/PCollection.html#min()">PCollection</A></CODE></B></DD>
<DD>Returns a <code>PCollection</code> made up of only the minimum element of this
instance.
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../../com/cloudera/crunch/PCollection.html#min()">min</A></CODE> in interface <CODE><A HREF="../../../../../../com/cloudera/crunch/PCollection.html" title="interface in com.cloudera.crunch">PCollection</A>&lt;<A HREF="../../../../../../com/cloudera/crunch/impl/mr/collect/PCollectionImpl.html" title="type parameter in PCollectionImpl">S</A>&gt;</CODE></DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="sample(double)"><!-- --></A><H3>
sample</H3>
<PRE>
public <A HREF="../../../../../../com/cloudera/crunch/PCollection.html" title="interface in com.cloudera.crunch">PCollection</A>&lt;<A HREF="../../../../../../com/cloudera/crunch/impl/mr/collect/PCollectionImpl.html" title="type parameter in PCollectionImpl">S</A>&gt; <B>sample</B>(double&nbsp;acceptanceProbability)</PRE>
<DL>
<DD><B>Description copied from interface: <CODE><A HREF="../../../../../../com/cloudera/crunch/PCollection.html#sample(double)">PCollection</A></CODE></B></DD>
<DD>Randomly sample items from this PCollection instance with the given
probability of an item being accepted.
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../../com/cloudera/crunch/PCollection.html#sample(double)">sample</A></CODE> in interface <CODE><A HREF="../../../../../../com/cloudera/crunch/PCollection.html" title="interface in com.cloudera.crunch">PCollection</A>&lt;<A HREF="../../../../../../com/cloudera/crunch/impl/mr/collect/PCollectionImpl.html" title="type parameter in PCollectionImpl">S</A>&gt;</CODE></DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="sample(double, long)"><!-- --></A><H3>
sample</H3>
<PRE>
public <A HREF="../../../../../../com/cloudera/crunch/PCollection.html" title="interface in com.cloudera.crunch">PCollection</A>&lt;<A HREF="../../../../../../com/cloudera/crunch/impl/mr/collect/PCollectionImpl.html" title="type parameter in PCollectionImpl">S</A>&gt; <B>sample</B>(double&nbsp;acceptanceProbability,
long&nbsp;seed)</PRE>
<DL>
<DD><B>Description copied from interface: <CODE><A HREF="../../../../../../com/cloudera/crunch/PCollection.html#sample(double, long)">PCollection</A></CODE></B></DD>
<DD>Randomly sample items from this PCollection instance with the given
probability of an item being accepted and using the given seed.
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../../com/cloudera/crunch/PCollection.html#sample(double, long)">sample</A></CODE> in interface <CODE><A HREF="../../../../../../com/cloudera/crunch/PCollection.html" title="interface in com.cloudera.crunch">PCollection</A>&lt;<A HREF="../../../../../../com/cloudera/crunch/impl/mr/collect/PCollectionImpl.html" title="type parameter in PCollectionImpl">S</A>&gt;</CODE></DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="getTypeFamily()"><!-- --></A><H3>
getTypeFamily</H3>
<PRE>
public <A HREF="../../../../../../com/cloudera/crunch/type/PTypeFamily.html" title="interface in com.cloudera.crunch.type">PTypeFamily</A> <B>getTypeFamily</B>()</PRE>
<DL>
<DD><B>Description copied from interface: <CODE><A HREF="../../../../../../com/cloudera/crunch/PCollection.html#getTypeFamily()">PCollection</A></CODE></B></DD>
<DD>Returns the <code>PTypeFamily</code> of this <code>PCollection</code>.
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../../com/cloudera/crunch/PCollection.html#getTypeFamily()">getTypeFamily</A></CODE> in interface <CODE><A HREF="../../../../../../com/cloudera/crunch/PCollection.html" title="interface in com.cloudera.crunch">PCollection</A>&lt;<A HREF="../../../../../../com/cloudera/crunch/impl/mr/collect/PCollectionImpl.html" title="type parameter in PCollectionImpl">S</A>&gt;</CODE></DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="createDoNode()"><!-- --></A><H3>
createDoNode</H3>
<PRE>
public abstract <A HREF="../../../../../../com/cloudera/crunch/impl/mr/plan/DoNode.html" title="class in com.cloudera.crunch.impl.mr.plan">DoNode</A> <B>createDoNode</B>()</PRE>
<DL>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="getParents()"><!-- --></A><H3>
getParents</H3>
<PRE>
public abstract <A HREF="http://download.oracle.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</A>&lt;<A HREF="../../../../../../com/cloudera/crunch/impl/mr/collect/PCollectionImpl.html" title="class in com.cloudera.crunch.impl.mr.collect">PCollectionImpl</A>&lt;?&gt;&gt; <B>getParents</B>()</PRE>
<DL>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="getOnlyParent()"><!-- --></A><H3>
getOnlyParent</H3>
<PRE>
public <A HREF="../../../../../../com/cloudera/crunch/impl/mr/collect/PCollectionImpl.html" title="class in com.cloudera.crunch.impl.mr.collect">PCollectionImpl</A>&lt;?&gt; <B>getOnlyParent</B>()</PRE>
<DL>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="getPipeline()"><!-- --></A><H3>
getPipeline</H3>
<PRE>
public <A HREF="../../../../../../com/cloudera/crunch/Pipeline.html" title="interface in com.cloudera.crunch">Pipeline</A> <B>getPipeline</B>()</PRE>
<DL>
<DD><B>Description copied from interface: <CODE><A HREF="../../../../../../com/cloudera/crunch/PCollection.html#getPipeline()">PCollection</A></CODE></B></DD>
<DD>Returns the <code>Pipeline</code> associated with this PCollection.
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../../com/cloudera/crunch/PCollection.html#getPipeline()">getPipeline</A></CODE> in interface <CODE><A HREF="../../../../../../com/cloudera/crunch/PCollection.html" title="interface in com.cloudera.crunch">PCollection</A>&lt;<A HREF="../../../../../../com/cloudera/crunch/impl/mr/collect/PCollectionImpl.html" title="type parameter in PCollectionImpl">S</A>&gt;</CODE></DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="getDepth()"><!-- --></A><H3>
getDepth</H3>
<PRE>
public int <B>getDepth</B>()</PRE>
<DL>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="accept(com.cloudera.crunch.impl.mr.collect.PCollectionImpl.Visitor)"><!-- --></A><H3>
accept</H3>
<PRE>
public void <B>accept</B>(<A HREF="../../../../../../com/cloudera/crunch/impl/mr/collect/PCollectionImpl.Visitor.html" title="interface in com.cloudera.crunch.impl.mr.collect">PCollectionImpl.Visitor</A>&nbsp;visitor)</PRE>
<DL>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="acceptInternal(com.cloudera.crunch.impl.mr.collect.PCollectionImpl.Visitor)"><!-- --></A><H3>
acceptInternal</H3>
<PRE>
protected abstract void <B>acceptInternal</B>(<A HREF="../../../../../../com/cloudera/crunch/impl/mr/collect/PCollectionImpl.Visitor.html" title="interface in com.cloudera.crunch.impl.mr.collect">PCollectionImpl.Visitor</A>&nbsp;visitor)</PRE>
<DL>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="getSize()"><!-- --></A><H3>
getSize</H3>
<PRE>
public long <B>getSize</B>()</PRE>
<DL>
<DD><B>Description copied from interface: <CODE><A HREF="../../../../../../com/cloudera/crunch/PCollection.html#getSize()">PCollection</A></CODE></B></DD>
<DD>Returns the size of the data represented by this <code>PCollection</code> in bytes.
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../../com/cloudera/crunch/PCollection.html#getSize()">getSize</A></CODE> in interface <CODE><A HREF="../../../../../../com/cloudera/crunch/PCollection.html" title="interface in com.cloudera.crunch">PCollection</A>&lt;<A HREF="../../../../../../com/cloudera/crunch/impl/mr/collect/PCollectionImpl.html" title="type parameter in PCollectionImpl">S</A>&gt;</CODE></DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="getSizeInternal()"><!-- --></A><H3>
getSizeInternal</H3>
<PRE>
protected abstract long <B>getSizeInternal</B>()</PRE>
<DL>
<DD><DL>
</DL>
</DD>
<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>&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/PCollectionImpl.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>
</EM>
</TD>
</TR>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
&nbsp;<A HREF="../../../../../../com/cloudera/crunch/impl/mr/collect/InputTable.html" title="class in com.cloudera.crunch.impl.mr.collect"><B>PREV CLASS</B></A>&nbsp;
&nbsp;<A HREF="../../../../../../com/cloudera/crunch/impl/mr/collect/PCollectionImpl.Visitor.html" title="interface in com.cloudera.crunch.impl.mr.collect"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../../../../index.html?com/cloudera/crunch/impl/mr/collect/PCollectionImpl.html" target="_top"><B>FRAMES</B></A> &nbsp;
&nbsp;<A HREF="PCollectionImpl.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;<A HREF="#nested_class_summary">NESTED</A>&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>
Copyright &#169; 2012. All Rights Reserved.
</BODY>
</HTML>