T
- type of itempublic abstract static class UnionItemsSketch.UnionItemsSketchIntermediateFinal<T>
extends org.apache.pig.EvalFunc<org.apache.pig.data.Tuple>
Constructor and Description |
---|
UnionItemsSketchIntermediateFinal(int k,
Comparator<T> comparator,
org.apache.datasketches.ArrayOfItemsSerDe<T> serDe)
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, warn
public UnionItemsSketchIntermediateFinal(int k, Comparator<T> comparator, org.apache.datasketches.ArrayOfItemsSerDe<T> serDe)
k
- parameter that determines the accuracy and size of the sketch.comparator
- for items of type TserDe
- an instance of ArrayOfItemsSerDe for type Tpublic 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.