public class BaseHBaseTest extends BaseTestQuery
BaseTestQuery.ClassicTestServices, BaseTestQuery.SilentListener, BaseTestQuery.TestResultSetDrillTest.MemWatcher| Modifier and Type | Field and Description |
|---|---|
protected static org.apache.hadoop.conf.Configuration |
conf |
static String |
HBASE_STORAGE_PLUGIN_NAME |
protected static HBaseStoragePlugin |
storagePlugin |
protected static HBaseStoragePluginConfig |
storagePluginConfig |
allocator, bits, client, config, serviceSetc, dirTestWatcher, optionManagerlogOutcome, objectMapper, REPEAT_RULE, thrownException, TIMEOUT| Constructor and Description |
|---|
BaseHBaseTest() |
| Modifier and Type | Method and Description |
|---|---|
protected String |
canonizeHBaseSQL(String sql) |
protected String |
getPlanText(String planFile,
String tableName) |
protected void |
runHBasePhysicalVerifyCount(String planFile,
String tableName,
int expectedRowCount) |
protected List<QueryDataBatch> |
runHBaseSQLlWithResults(String sql) |
protected void |
runHBaseSQLVerifyCount(String sql,
int expectedRowCount) |
static void |
setupDefaultTestCluster() |
static void |
tearDownAfterClass() |
alterSession, cloneDefaultTestConfigProperties, closeClient, errorMsgTestHelper, getAllocator, getDrillbitContext, getFile, getPhysicalFileFromResource, getResultString, getUserPort, logResult, newTest, parseErrorHelper, printResult, resetAllSessionOptions, resetDrillbitCount, resetSessionOption, runSQL, setColumnWidth, setColumnWidths, setSessionOption, setSessionOption, setSessionOption, setSessionOption, test, test, testBuilder, testLogicalWithResults, testNoResult, testNoResult, testPhysical, testPhysicalFromFile, testPhysicalWithResults, testPreparedStatement, testRunAndPrint, testRunAndReturn, testSql, testSqlWithResults, testWithListener, updateClient, updateClient, updateClient, updateTestCluster, updateTestClusterclear, getLocalFileSystem, mockDrillbitContext, mockUsDateFormatSymbols, mockUtcDateTimeZone, parseExpr, setupOptionManagerescapeJsonString, finishDrillTest, initDrillTestpublic static final String HBASE_STORAGE_PLUGIN_NAME
protected static org.apache.hadoop.conf.Configuration conf
protected static HBaseStoragePlugin storagePlugin
protected static HBaseStoragePluginConfig storagePluginConfig
public static void setupDefaultTestCluster()
throws Exception
Exceptionprotected String getPlanText(String planFile, String tableName) throws IOException
IOExceptionprotected void runHBasePhysicalVerifyCount(String planFile, String tableName, int expectedRowCount) throws Exception
Exceptionprotected List<QueryDataBatch> runHBaseSQLlWithResults(String sql) throws Exception
Exceptionprotected void runHBaseSQLVerifyCount(String sql, int expectedRowCount) throws Exception
ExceptionCopyright © 2021 The Apache Software Foundation. All rights reserved.