@NotThreadSafe public class RemoteDriverTest extends Object
Modifier and Type | Class and Description |
---|---|
static class |
RemoteDriverTest.LocalJdbcServiceFactory
Factory that creates a service based on a local JDBC connection.
|
static class |
RemoteDriverTest.LoggingLocalProtobufService
Proxy that logs all requests passed into the
LocalProtobufService . |
static class |
RemoteDriverTest.QuasiRemoteJdbcServiceFactory
Factory that creates a service based on a local JDBC connection.
|
static class |
RemoteDriverTest.QuasiRemoteJdbcServiceInternals
Implementation that reaches into current connection state via reflection to extract certain
internal information.
|
static class |
RemoteDriverTest.QuasiRemotePBJdbcServiceFactory
Factory that creates a fully-local Protobuf service.
|
static class |
RemoteDriverTest.QuasiRemoteProtobufJdbcServiceInternals
Implementation that reaches into current connection state via reflection to extract certain
internal information.
|
Modifier and Type | Field and Description |
---|---|
static String |
LJS |
static String |
QRJS |
static String |
QRPBS |
Constructor and Description |
---|
RemoteDriverTest(String name,
Callable<Connection> localConnectionCallable,
org.apache.calcite.avatica.RemoteDriverTest.ConnectionInternals internals,
Callable<org.apache.calcite.avatica.RemoteDriverTest.RequestInspection> requestInspectionCallable) |
public static final String LJS
public static final String QRJS
public static final String QRPBS
public RemoteDriverTest(String name, Callable<Connection> localConnectionCallable, org.apache.calcite.avatica.RemoteDriverTest.ConnectionInternals internals, Callable<org.apache.calcite.avatica.RemoteDriverTest.RequestInspection> requestInspectionCallable)
public void eachConnection(org.apache.calcite.avatica.RemoteDriverTest.ConnectionFunction f, Connection localConn) throws Exception
Exception
public void testStatementExecuteQueryLocal() throws Exception
Exception
public void testPrepareExecuteQueryLocal() throws Exception
Exception
public void testStatementExecuteLocal() throws Exception
Exception
public void testStatementExecuteFetch() throws Exception
Exception
public void testStatementExecuteLocalMaxRow() throws Exception
Exception
public void testStatementPrepareExecuteLocalMaxRow() throws Exception
Exception
public void testCreateInsertUpdateDrop() throws Exception
Exception
public void testPrepareBindExecuteFetch() throws Exception
Exception
public void testPrepareBindExecuteFetchVarbinary() throws Exception
Exception
public void testPrepareBindExecuteFetchDate() throws Exception
Exception
public void testPreparedInsertWithNulls() throws Exception
Exception
public void preparedStatementParameterCopies() throws Exception
Exception
public void testDateParameterWithGMT0() throws Exception
Exception
Copyright © 2012–2018 The Apache Software Foundation. All rights reserved.