public class PrestoCliLauncher extends io.prestosql.tempto.ProductTest
| Modifier and Type | Field and Description |
|---|---|
protected static String |
EXIT_COMMAND |
protected List<String> |
nationTableBatchLines |
protected List<String> |
nationTableInteractiveLines |
protected PrestoCliProcess |
presto |
protected String |
serverAddress |
protected String |
serverHost |
protected static long |
TIMEOUT |
| Modifier | Constructor and Description |
|---|---|
protected |
PrestoCliLauncher() |
| Modifier and Type | Method and Description |
|---|---|
protected ProcessBuilder |
getProcessBuilder(List<String> arguments) |
protected void |
launchPrestoCli(List<String> arguments) |
protected void |
launchPrestoCli(String... arguments) |
protected void |
stopPresto() |
protected static final long TIMEOUT
protected static final String EXIT_COMMAND
@Inject protected String serverHost
@Inject protected String serverAddress
protected PrestoCliProcess presto
protected PrestoCliLauncher()
throws IOException
IOExceptionprotected void stopPresto()
throws InterruptedException
InterruptedExceptionprotected void launchPrestoCli(String... arguments) throws IOException
IOExceptionprotected void launchPrestoCli(List<String> arguments) throws IOException
IOExceptionprotected ProcessBuilder getProcessBuilder(List<String> arguments)
Copyright © 2012–2019. All rights reserved.