public static class DataToSketch.IntermediateFinal
extends org.apache.pig.EvalFunc<org.apache.pig.data.Tuple>
Constructor and Description |
---|
IntermediateFinal()
Default constructor to make pig validation happy.
|
IntermediateFinal(int nomEntries,
float p,
long seed)
Constructor with primitives for the intermediate and final passes of an Algebraic function.
|
IntermediateFinal(String nomEntriesStr)
Constructor for the intermediate and final passes of an Algebraic function.
|
IntermediateFinal(String nomEntriesStr,
String pStr)
Constructor for the intermediate and final passes of an Algebraic function.
|
IntermediateFinal(String nomEntriesStr,
String pStr,
String seedStr)
Constructor with strings for the intermediate and final passes 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, warn
public IntermediateFinal()
public IntermediateFinal(String nomEntriesStr)
nomEntriesStr
- See Nominal Entries.public IntermediateFinal(String nomEntriesStr, String pStr)
nomEntriesStr
- See Nominal Entries.pStr
- See Sampling Probability, p.public IntermediateFinal(String nomEntriesStr, String pStr, String seedStr)
nomEntriesStr
- See Nominal Entries.pStr
- See Sampling Probability, p.seedStr
- See Update Hash Seed.public IntermediateFinal(int nomEntries, float p, long seed)
nomEntries
- See Nominal Entries.p
- See Sampling Probability, p.seed
- 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>
IOException
Copyright © 2015–2019 The Apache Software Foundation. All rights reserved.