datafu.pig.sampling
Class SimpleRandomSampleWithReplacementElect.Initial

java.lang.Object
  extended by org.apache.pig.EvalFunc<org.apache.pig.data.Tuple>
      extended by datafu.pig.sampling.SimpleRandomSampleWithReplacementElect.Initial
Enclosing class:
SimpleRandomSampleWithReplacementElect

public static class SimpleRandomSampleWithReplacementElect.Initial
extends org.apache.pig.EvalFunc<org.apache.pig.data.Tuple>


Field Summary
 
Fields inherited from class org.apache.pig.EvalFunc
log, pigLogger, reporter, returnType
 
Constructor Summary
SimpleRandomSampleWithReplacementElect.Initial()
           
 
Method Summary
 org.apache.pig.data.Tuple exec(org.apache.pig.data.Tuple input)
           
 
Methods inherited from class org.apache.pig.EvalFunc
finish, getArgToFuncMapping, getCacheFiles, getInputSchema, getLogger, getPigLogger, getReporter, getReturnType, getSchemaName, isAsynchronous, outputSchema, progress, setInputSchema, setPigLogger, setReporter, setUDFContextSignature, warn
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimpleRandomSampleWithReplacementElect.Initial

public SimpleRandomSampleWithReplacementElect.Initial()
Method Detail

exec

public org.apache.pig.data.Tuple exec(org.apache.pig.data.Tuple input)
                               throws java.io.IOException
Specified by:
exec in class org.apache.pig.EvalFunc<org.apache.pig.data.Tuple>
Throws:
java.io.IOException


Matthew Hayes, Sam Shah