Deprecated API


Contents
Deprecated Classes
org.apache.pig.builtin.ARITY
          Use SIZE instead. 
org.apache.pig.ComparisonFunc
           
org.apache.pig.data.DefaultTupleFactory
          Use TupleFactory 
org.apache.pig.impl.util.WrappedIOException
          This class was introduced to overcome the limitation that before Java 1.6, IOException did not have a constructor which took a Throwable argument. Since Pig code is now compiled with Java 1.6 and EvalFunc and LoadFunc user implementations should also use Java 1.6, they can use IOException instead. From Java 1.6, IOException has constructors which take a Throwable argument. 
 

Deprecated Fields
org.apache.pig.backend.hadoop.executionengine.mapReduceLayer.PigInputFormat.sJob
          Use UDFContext instead in the following way to get the job's Configuration:
UdfContext.getUdfContext().getJobConf()
 
org.apache.pig.backend.hadoop.executionengine.mapReduceLayer.PigMapReduce.sJobConf
          Use UDFContext instead in the following way to get the job's Configuration:
UdfContext.getUdfContext().getJobConf()
 
 

Deprecated Methods
org.apache.pig.LoadCaster.bytesToMap(byte[])
           
org.apache.pig.impl.io.FileLocalizer.fileExists(String, DataStorage)
          Use FileLocalizer.fileExists(String, PigContext) instead 
org.apache.pig.impl.io.FileLocalizer.fullPath(String, DataStorage)
          Use FileLocalizer.fullPath(String, PigContext) instead 
org.apache.pig.impl.PigContext.getConf()
          use PigContext.getProperties() instead 
org.apache.pig.impl.io.FileLocalizer.getTemporaryPath(ElementDescriptor, PigContext)
          Use FileLocalizer.getTemporaryPath(PigContext) instead 
org.apache.pig.EvalFunc.isAsynchronous()
           
org.apache.pig.impl.io.FileLocalizer.isDirectory(String, DataStorage)
          Use FileLocalizer.isDirectory(String, PigContext) instead. 
org.apache.pig.impl.io.FileLocalizer.isFile(String, DataStorage)
          Use FileLocalizer.isFile(String, PigContext) instead 
org.apache.pig.impl.logicalLayer.schema.Schema.isTwoLevelAccessRequired()
          twoLevelAccess is no longer needed 
org.apache.pig.impl.io.FileLocalizer.open(String, ExecType, DataStorage)
          Use FileLocalizer.open(String, PigContext) instead 
org.apache.pig.impl.logicalLayer.schema.Schema.setTwoLevelAccessRequired(boolean)
          twoLevelAccess is no longer needed 
 



Copyright © ${year} The Apache Software Foundation