org.apache.hive.cli.beeline.util
Class QFileClient
java.lang.Object
org.apache.hive.cli.beeline.util.QFileClient
public class QFileClient
- extends Object
QTestClient.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
QFileClient
public QFileClient(HiveConf hiveConf,
String hiveRootDirectory,
String qFileDirectory,
String outputDirectory,
String expectedDirectory)
setUsername
public QFileClient setUsername(String username)
setPassword
public QFileClient setPassword(String password)
setJdbcUrl
public QFileClient setJdbcUrl(String jdbcUrl)
setJdbcDriver
public QFileClient setJdbcDriver(String jdbcDriver)
setQFileName
public QFileClient setQFileName(String qFileName)
setQFileDirectory
public QFileClient setQFileDirectory(String qFileDirectory)
setOutputDirectory
public QFileClient setOutputDirectory(String outputDirectory)
setExpectedDirectory
public QFileClient setExpectedDirectory(String expectedDirectory)
setTestDataDirectory
public QFileClient setTestDataDirectory(String testDataDirectory)
setTestScriptDirectory
public QFileClient setTestScriptDirectory(String testScriptDirectory)
hasErrors
public boolean hasErrors()
cleanup
public void cleanup()
run
public void run()
throws Exception
- Throws:
Exception
hasExpectedResults
public boolean hasExpectedResults()
- Does the test have a file with expected results to compare the log against.
False probably indicates that this is a new test and the caller should
copy the log to the expected results directory.
- Returns:
compareResults
public boolean compareResults()
throws IOException
- Throws:
IOException
overwriteResults
public void overwriteResults()
Copyright © 2013 The Apache Software Foundation