public static class DataToSketch.Initial
extends org.apache.pig.EvalFunc<org.apache.pig.data.Tuple>
The Initial class simply passes through all records unchanged so that they can be processed by the intermediate processor instead.
| Constructor and Description |
|---|
Initial()
Default constructor to make pig validation happy.
|
Initial(String nomEntriesStr)
Constructor for the initial pass of an Algebraic function.
|
Initial(String nomEntriesStr,
String pStr)
Constructor for the initial pass of an Algebraic function.
|
Initial(String nomEntriesStr,
String pStr,
String seedStr)
Constructor for the initial pass of an Algebraic function.
|
| Modifier and Type | Method and Description |
|---|---|
org.apache.pig.data.Tuple |
exec(org.apache.pig.data.Tuple inputTuple) |
allowCompileTimeCalculation, finish, getArgToFuncMapping, getCacheFiles, getInputSchema, getLoadCaster, getLogger, getPigLogger, getReporter, getReturnType, getSchemaName, getSchemaType, getShipFiles, isAsynchronous, needEndOfAllInputProcessing, outputSchema, progress, setEndOfAllInput, setInputSchema, setPigLogger, setReporter, setUDFContextSignature, warnpublic Initial()
public Initial(String nomEntriesStr)
nomEntriesStr - See Nominal Entries.public Initial(String nomEntriesStr, String pStr)
nomEntriesStr - See Nominal Entries.pStr - See Sampling Probability, p.public Initial(String nomEntriesStr, String pStr, String seedStr)
nomEntriesStr - See Nominal Entries.pStr - See Sampling Probability, p.seedStr - See Update Hash Seed.public org.apache.pig.data.Tuple exec(org.apache.pig.data.Tuple inputTuple)
throws IOException
exec in class org.apache.pig.EvalFunc<org.apache.pig.data.Tuple>IOExceptionCopyright © 2015–2020 The Apache Software Foundation. All rights reserved.