org.apache.hadoop.hive.ql
Class Context
java.lang.Object
org.apache.hadoop.hive.ql.Context
public class Context
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Context
public Context(HiveConf conf)
makeScratchDir
public void makeScratchDir()
throws Exception
- Throws:
Exception
getScratchDir
public String getScratchDir()
removeScratchDir
public void removeScratchDir()
throws Exception
- Throws:
Exception
getResFile
public org.apache.hadoop.fs.Path getResFile()
- Returns:
- the resFile
setResFile
public void setResFile(org.apache.hadoop.fs.Path resFile)
- Parameters:
resFile
- the resFile to set
getResDir
public org.apache.hadoop.fs.Path getResDir()
- Returns:
- the resDir
setResDir
public void setResDir(org.apache.hadoop.fs.Path resDir)
- Parameters:
resDir
- the resDir to set
clear
public void clear()
getStream
public DataInput getStream()
Copyright © 2009 The Apache Software Foundation