public class RestServerTest extends ClusterTest
DrillTest.MemWatcher
client, cluster, dirTestWatcher
logOutcome, objectMapper, REPEAT_RULE, thrownException, TIMEOUT
Constructor and Description |
---|
RestServerTest() |
Modifier and Type | Method and Description |
---|---|
protected UserBitShared.QueryProfile |
getQueryProfile(RestQueryRunner.QueryResult result) |
protected RestQueryRunner.QueryResult |
runQuery(QueryWrapper q) |
protected RestQueryRunner.QueryResult |
runQuery(String sql) |
protected RestQueryRunner.QueryResult |
runQueryWithUsername(String sql,
String userName) |
getFile, queryBuilder, run, runAndLog, runAndPrint, runAndPrint, shutdown, startCluster, testBuilder
escapeJsonString, finishDrillTest, initDrillTest
protected RestQueryRunner.QueryResult runQuery(String sql) throws Exception
Exception
protected RestQueryRunner.QueryResult runQueryWithUsername(String sql, String userName) throws Exception
Exception
protected RestQueryRunner.QueryResult runQuery(QueryWrapper q) throws Exception
Exception
protected UserBitShared.QueryProfile getQueryProfile(RestQueryRunner.QueryResult result)
Copyright © 2021 The Apache Software Foundation. All rights reserved.