public class PreparedStatementTestBase extends BaseTestQuery
| Modifier and Type | Class and Description |
|---|---|
protected static class |
PreparedStatementTestBase.ExpectedColumnResult |
BaseTestQuery.ClassicTestServices, BaseTestQuery.SilentListener, BaseTestQuery.TestResultSetDrillTest.MemWatcherallocator, bits, client, config, serviceSetc, dirTestWatcher, optionManagerlogOutcome, objectMapper, REPEAT_RULE, thrownException, TIMEOUT| Constructor and Description |
|---|
PreparedStatementTestBase() |
| Modifier and Type | Method and Description |
|---|---|
protected UserProtos.PreparedStatement |
createPrepareStmt(String query,
boolean expectFailure,
UserBitShared.DrillPBError.ErrorType errorType) |
protected void |
verifyMetadata(List<PreparedStatementTestBase.ExpectedColumnResult> expMetadata,
List<UserProtos.ResultColumnMetadata> actMetadata) |
alterSession, cloneDefaultTestConfigProperties, closeClient, errorMsgTestHelper, getAllocator, getDrillbitContext, getFile, getPhysicalFileFromResource, getResultString, getUserPort, logResult, newTest, parseErrorHelper, printResult, resetAllSessionOptions, resetDrillbitCount, resetSessionOption, runSQL, setColumnWidth, setColumnWidths, setSessionOption, setSessionOption, setSessionOption, setSessionOption, setupDefaultTestCluster, 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, initDrillTestprotected UserProtos.PreparedStatement createPrepareStmt(String query, boolean expectFailure, UserBitShared.DrillPBError.ErrorType errorType) throws Exception
Exceptionprotected void verifyMetadata(List<PreparedStatementTestBase.ExpectedColumnResult> expMetadata, List<UserProtos.ResultColumnMetadata> actMetadata)
Copyright © 2021 The Apache Software Foundation. All rights reserved.