public class HiveShellBuilder extends Object
| Constructor and Description |
|---|
HiveShellBuilder() |
| Modifier and Type | Method and Description |
|---|---|
void |
addResource(String targetFile,
Path dataFile) |
void |
addResource(String targetFile,
String data) |
void |
addSetupScript(String script) |
HiveShellContainer |
buildShell() |
void |
overrideScriptsUnderTest(List<? extends Script> scripts) |
void |
putAllProperties(Map<String,String> props) |
void |
setCommandShellEmulation(CommandShellEmulator commandShellEmulator) |
void |
setHiveServerContainer(HiveServerContainer hiveServerContainer) |
void |
setScriptsUnderTest(List<Path> scripts,
Charset charset) |
public void setHiveServerContainer(HiveServerContainer hiveServerContainer)
public void addSetupScript(String script)
public void addResource(String targetFile, Path dataFile) throws IOException
IOExceptionpublic void addResource(String targetFile, String data) throws IOException
IOExceptionpublic void setCommandShellEmulation(CommandShellEmulator commandShellEmulator)
public HiveShellContainer buildShell()
Copyright © 2013–2020. All rights reserved.