public class BaseHBaseTest extends BaseTestQuery
BaseTestQuery.ClassicTestServices, BaseTestQuery.SilentListener, BaseTestQuery.TestResultSet
DrillTest.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, serviceSet
c, dirTestWatcher, optionManager
logOutcome, 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, updateTestCluster
clear, getLocalFileSystem, mockDrillbitContext, mockUsDateFormatSymbols, mockUtcDateTimeZone, parseExpr, setupOptionManager
escapeJsonString, finishDrillTest, initDrillTest
public 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
Exception
protected String getPlanText(String planFile, String tableName) throws IOException
IOException
protected void runHBasePhysicalVerifyCount(String planFile, String tableName, int expectedRowCount) throws Exception
Exception
protected List<QueryDataBatch> runHBaseSQLlWithResults(String sql) throws Exception
Exception
protected void runHBaseSQLVerifyCount(String sql, int expectedRowCount) throws Exception
Exception
Copyright © 2021 The Apache Software Foundation. All rights reserved.