public class StatementMaxRowsTest extends JdbcTestBase
JdbcTestBase.ModelAndSchema, JdbcTestBase.TestDataConnectionDrillTest.MemWatcherwatcherc, dirTestWatcher, optionManagerlogOutcome, objectMapper, REPEAT_RULE, thrownException, TIMEOUT| Constructor and Description |
|---|
StatementMaxRowsTest() |
| Modifier and Type | Method and Description |
|---|---|
void |
getExclusiveLock() |
void |
releaseExclusiveLock() |
static void |
setUpStatement() |
static void |
tearDownStatement() |
void |
testDefaultGetMaxRows()
Test for reading of default max rows
|
void |
testInvalidSetMaxRows()
Test Invalid parameter by giving negative maxRows value
|
void |
testSetMaxRowsAsZero()
Test setting maxSize as zero (i.e.
|
void |
testSetMaxRowsHigherThanQueryLimit()
Test setting maxSize at a value higher than existing query limit
|
void |
testSetMaxRowsHigherThanSystemLimit()
Test setting maxSize at a value higher than existing SYSTEM limit
|
void |
testSetMaxRowsLowerThanQueryLimit()
Test setting maxSize at a value lower than existing query limit
|
void |
testSetMaxRowsLowerThanSystemLimit()
Test setting maxSize at a value lower than existing SYSTEM limit
|
void |
testValidSetMaxRows()
Test setting a valid maxRows value
|
changeSchema, changeSchemaIfSupplied, connect, connect, connect, getDefaultProperties, reset, setUpTestCase, tearDownTestCase, testJdbcTestConnectionResettingCompatibility, toString, toString, withFull, withModel, withNoDefaultSchemaclear, getLocalFileSystem, mockDrillbitContext, mockUsDateFormatSymbols, mockUtcDateTimeZone, parseExpr, setupOptionManagerescapeJsonString, finishDrillTest, initDrillTestpublic static void setUpStatement()
throws SQLException
SQLExceptionpublic static void tearDownStatement()
throws SQLException
SQLExceptionpublic void getExclusiveLock()
public void releaseExclusiveLock()
public void testDefaultGetMaxRows()
throws SQLException
SQLExceptionpublic void testInvalidSetMaxRows()
throws SQLException
SQLExceptionpublic void testValidSetMaxRows()
throws SQLException
SQLExceptionpublic void testSetMaxRowsAsZero()
throws SQLException
SQLExceptionpublic void testSetMaxRowsLowerThanQueryLimit()
throws SQLException
SQLExceptionpublic void testSetMaxRowsHigherThanQueryLimit()
throws SQLException
SQLExceptionpublic void testSetMaxRowsLowerThanSystemLimit()
throws SQLException
SQLExceptionpublic void testSetMaxRowsHigherThanSystemLimit()
throws SQLException
SQLExceptionCopyright © 2021 The Apache Software Foundation. All rights reserved.