public class SimpleRandomSampleWithReplacementElect
extends org.apache.pig.AlgebraicEvalFunc<org.apache.pig.data.DataBag>
SimpleRandomSampleWithReplacementVote.| Modifier and Type | Class and Description |
|---|---|
static class |
SimpleRandomSampleWithReplacementElect.Final |
static class |
SimpleRandomSampleWithReplacementElect.Initial |
static class |
SimpleRandomSampleWithReplacementElect.Intermediate |
| Modifier and Type | Field and Description |
|---|---|
static org.apache.pig.data.BagFactory |
bagFactory |
static java.lang.String |
OUTPUT_BAG_NAME_PREFIX
Prefix for the output bag name.
|
static org.apache.pig.data.TupleFactory |
tupleFactory |
| Constructor and Description |
|---|
SimpleRandomSampleWithReplacementElect() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getFinal() |
java.lang.String |
getInitial() |
java.lang.String |
getIntermed() |
org.apache.pig.impl.logicalLayer.schema.Schema |
outputSchema(org.apache.pig.impl.logicalLayer.schema.Schema input) |
allowCompileTimeCalculation, finish, getArgToFuncMapping, getCacheFiles, getInputSchema, getLogger, getPigLogger, getReporter, getReturnType, getSchemaName, getSchemaType, getShipFiles, isAsynchronous, progress, setInputSchema, setPigLogger, setReporter, setUDFContextSignature, warnpublic static final java.lang.String OUTPUT_BAG_NAME_PREFIX
public static final org.apache.pig.data.TupleFactory tupleFactory
public static final org.apache.pig.data.BagFactory bagFactory
public SimpleRandomSampleWithReplacementElect()
public java.lang.String getInitial()
getInitial in interface org.apache.pig.AlgebraicgetInitial in class org.apache.pig.AlgebraicEvalFunc<org.apache.pig.data.DataBag>public java.lang.String getIntermed()
getIntermed in interface org.apache.pig.AlgebraicgetIntermed in class org.apache.pig.AlgebraicEvalFunc<org.apache.pig.data.DataBag>public java.lang.String getFinal()
getFinal in interface org.apache.pig.AlgebraicgetFinal in class org.apache.pig.AlgebraicEvalFunc<org.apache.pig.data.DataBag>public org.apache.pig.impl.logicalLayer.schema.Schema outputSchema(org.apache.pig.impl.logicalLayer.schema.Schema input)
outputSchema in class org.apache.pig.EvalFunc<org.apache.pig.data.DataBag>