public static class Union.Initial
extends org.apache.pig.EvalFunc<org.apache.pig.data.Tuple>
The Initial class simply passes through all records unchanged so that they can be processed by the intermediate processor instead.
Constructor and Description |
---|
Initial()
Default constructor to make pig validation happy.
|
Initial(String nomEntriesStr)
Constructor for the initial pass of an Algebraic function.
|
Initial(String nomEntriesStr,
String pStr)
Constructor for the initial pass of an Algebraic function.
|
Initial(String nomEntriesStr,
String pStr,
String seedStr)
Constructor for the initial pass 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 Initial()
public Initial(String nomEntriesStr)
nomEntriesStr
- See Nominal Entries.public Initial(String nomEntriesStr, String pStr)
nomEntriesStr
- See Nominal Entries.pStr
- See Sampling Probability, p.
Although this functionality is implemented for SketchUnions, it rarely makes sense to use it
here. The proper use of upfront sampling is when building the sketches.public Initial(String nomEntriesStr, String pStr, String seedStr)
nomEntriesStr
- See Nominal Entries.pStr
- See Sampling Probability, p.
Although this functionality is implemented for SketchUnions, it rarely makes sense to use it
here. The proper use of upfront sampling is when building the sketches.seedStr
- 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.