public class QFileClient extends Object
Constructor and Description |
---|
QFileClient(HiveConf hiveConf,
String hiveRootDirectory,
String qFileDirectory,
String outputDirectory,
String expectedDirectory) |
Modifier and Type | Method and Description |
---|---|
void |
cleanup() |
boolean |
compareResults() |
boolean |
hasErrors() |
boolean |
hasExpectedResults()
Does the test have a file with expected results to compare the log against.
|
void |
overwriteResults() |
void |
run() |
QFileClient |
setExpectedDirectory(String expectedDirectory) |
QFileClient |
setJdbcDriver(String jdbcDriver) |
QFileClient |
setJdbcUrl(String jdbcUrl) |
QFileClient |
setOutputDirectory(String outputDirectory) |
QFileClient |
setPassword(String password) |
QFileClient |
setQFileDirectory(String qFileDirectory) |
QFileClient |
setQFileName(String qFileName) |
QFileClient |
setTestDataDirectory(String testDataDirectory) |
QFileClient |
setTestScriptDirectory(String testScriptDirectory) |
QFileClient |
setUsername(String username) |
public QFileClient setUsername(String username)
public QFileClient setPassword(String password)
public QFileClient setJdbcUrl(String jdbcUrl)
public QFileClient setJdbcDriver(String jdbcDriver)
public QFileClient setQFileName(String qFileName)
public QFileClient setQFileDirectory(String qFileDirectory)
public QFileClient setOutputDirectory(String outputDirectory)
public QFileClient setExpectedDirectory(String expectedDirectory)
public QFileClient setTestDataDirectory(String testDataDirectory)
public QFileClient setTestScriptDirectory(String testScriptDirectory)
public boolean hasErrors()
public void cleanup()
public boolean hasExpectedResults()
public boolean compareResults() throws IOException
IOException
public void overwriteResults()
Copyright © 2017 The Apache Software Foundation. All rights reserved.