EvalFunc.SchemaType
log, pigLogger, reporter, returnType
Constructor and Description |
---|
ReadScalars() |
Modifier and Type | Method and Description |
---|---|
Object |
exec(Tuple input)
Java level API
|
void |
setOutputBuffer(Map<String,DataBag> inputBuffer) |
allowCompileTimeCalculation, finish, getArgToFuncMapping, getCacheFiles, getInputSchema, getLogger, getPigLogger, getReporter, getReturnType, getSchemaName, getSchemaType, getShipFiles, isAsynchronous, needEndOfAllInputProcessing, outputSchema, progress, setEndOfAllInput, setInputSchema, setPigLogger, setReporter, setUDFContextSignature, warn
public Object exec(Tuple input) throws IOException
exec
in class EvalFunc<Object>
input
- expects a single constant that is the name of the file to be
readIOException
Copyright © 2007-2012 The Apache Software Foundation