public static class DataToArrayOfDoublesSketch.IntermediateFinal
extends org.apache.pig.EvalFunc<org.apache.pig.data.Tuple>
| Constructor and Description |
|---|
IntermediateFinal()
Constructor for the intermediate and final passes of an Algebraic function.
|
IntermediateFinal(String numValues)
Constructor for the intermediate and final passes of an Algebraic function.
|
IntermediateFinal(String sketchSize,
String numValues)
Constructor for the intermediate and final passes of an Algebraic function.
|
IntermediateFinal(String sketchSize,
String samplingProbability,
String numValues)
Constructor 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, warnpublic IntermediateFinal()
public IntermediateFinal(String numValues)
numValues - Number of double values to keep for each keypublic IntermediateFinal(String sketchSize, String numValues)
sketchSize - String representation of sketch sizenumValues - Number of double values to keep for each keypublic IntermediateFinal(String sketchSize, String samplingProbability, String numValues)
sketchSize - String representation of sketch sizesamplingProbability - probability from 0 to 1numValues - Number of double values to keep for each keypublic 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.