public class SketchToString extends org.apache.pig.EvalFunc<String>
Constructor and Description |
---|
SketchToString()
Prints only the sketch summary using the default seed.
|
SketchToString(String isDetailed)
Prints the summary and details using the default seed.
|
SketchToString(String isDetailed,
String seed)
Prints the summary and details using a given seed.
|
Modifier and Type | Method and Description |
---|---|
String |
exec(org.apache.pig.data.Tuple sketchTuple) |
allowCompileTimeCalculation, finish, getArgToFuncMapping, getCacheFiles, getInputSchema, getLoadCaster, getLogger, getPigLogger, getReporter, getReturnType, getSchemaName, getSchemaType, getShipFiles, isAsynchronous, needEndOfAllInputProcessing, outputSchema, progress, setEndOfAllInput, setInputSchema, setPigLogger, setReporter, setUDFContextSignature, warn
public SketchToString()
public SketchToString(String isDetailed)
isDetailed
- flag to print the sketch detailpublic String exec(org.apache.pig.data.Tuple sketchTuple) throws IOException
exec
in class org.apache.pig.EvalFunc<String>
IOException
Copyright © 2015–2019 The Apache Software Foundation. All rights reserved.