public class SketchToEstimateAndErrorBounds
extends org.apache.pig.EvalFunc<org.apache.pig.data.Tuple>
The result is a tuple with three double values: estimate, lower bound and upper bound. The bounds are given at 95.5% confidence.
| Constructor and Description |
|---|
SketchToEstimateAndErrorBounds() |
| Modifier and Type | Method and Description |
|---|---|
org.apache.pig.data.Tuple |
exec(org.apache.pig.data.Tuple sketchTuple) |
org.apache.pig.impl.logicalLayer.schema.Schema |
outputSchema(org.apache.pig.impl.logicalLayer.schema.Schema input)
The output is a Sketch Result Tuple Schema.
|
allowCompileTimeCalculation, finish, getArgToFuncMapping, getCacheFiles, getInputSchema, getLoadCaster, getLogger, getPigLogger, getReporter, getReturnType, getSchemaName, getSchemaType, getShipFiles, isAsynchronous, needEndOfAllInputProcessing, progress, setEndOfAllInput, setInputSchema, setPigLogger, setReporter, setUDFContextSignature, warnpublic org.apache.pig.data.Tuple exec(org.apache.pig.data.Tuple sketchTuple)
throws IOException
exec in class org.apache.pig.EvalFunc<org.apache.pig.data.Tuple>IOExceptionpublic 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.Tuple>Copyright © 2015–2019 The Apache Software Foundation. All rights reserved.